Function at 0x1002dd40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056655
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1006a018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x158]
cmp eax, dword [edi + 0x15c]
je 0x1002e3cc
mov ecx, dword [edi + 0x144]
shl ecx, 2
mov dword [ebp - 0xc8], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0xa0], eax
cmp eax, ecx
jge 0x1002e3cc
imul ebx, eax, 0x68
lea esi, [edi + 0x10]
mov dword [ebp - 0x6c], ebx
nop dword [eax + eax]
mov ecx, dword [edi + 0x15c]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x158]
add esi, 0x18
imul ecx
mov dword [ebp - 0xc0], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0xa0], eax
jg 0x1002e3cc
mov eax, dword [edi + 0x158]
cmp byte [ebx + eax + 0x62], 2
jne 0x1002e4b8
cmp dword [ebx + eax + 0x1c], 0
jle 0x1002e3e8
push 0
lea eax, [ebp - 0x2f]
mov word [ebp - 0x30], 0x6c
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100052b0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x158]
mov ecx, dword [ebx + eax + 0x1c]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
call fcn.10029160
call fcn.10053c11
mov ecx, dword [edi + 0x158]
mov esi, eax
imul edx, esi, 0x15180
mov eax, 0x91a2b3c5
mov dword [ebp - 0xc4], esi
mov ecx, dword [ebx + ecx + 0x1c]
sub ecx, edx
mul ecx
mov ecx, 0x18
shr edx, 0xb
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.10022770
call fcn.10053c11
lea ecx, [esi + esi*2]
mov dword [ebp - 0x9c], eax
lea esi, [eax + ecx*8]
mov ecx, dword [edi + 0x158]
imul edx, esi, 0xe10
mov eax, 0x88888889
mov ecx, dword [ebx + ecx + 0x1c]
sub ecx, edx
mul ecx
mov ecx, 0x3c
shr edx, 5
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.10022770
call fcn.10053c11
mov ecx, esi
mov dword [ebp - 0xa4], eax
shl ecx, 4
sub ecx, esi
mov esi, eax
mov eax, dword [edi + 0x158]
lea ecx, [esi + ecx*4]
mov eax, dword [ebx + eax + 0x1c]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, 0x3c
shl edx, 2
sub eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.10022770
call fcn.10053c11
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
test ecx, ecx
je 0x1002dfe4
cmp ecx, 0xa
jae 0x1002df40
mov dl, 0x7d
mov byte [ebp - 0x4a], 0
mov al, 0x4d
mov byte [ebp - 0x4c], dl
xor al, dl
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x4b], al
lea eax, [ebp - 0x4b]
jmp 0x1002df4d
mov word [ebp - 0x34], 0xb
lea eax, [ebp - 0x33]
mov byte [ebp - 0x33], 0
push ecx
push eax
mov ch, 0x36
mov byte [ebp - 0x82], 0
mov al, 0x13
mov byte [ebp - 0x88], ch
mov dl, al
mov byte [ebp - 0x82], 0
mov ah, 0xc
xor al, ch
xor ah, ch
mov byte [ebp - 0x87], al
mov cl, 0x45
mov byte [ebp - 0x83], ah
sub esp, 0x18
lea eax, [ebp - 0x87]
xor cl, ch
mov bl, 0x43
xor dl, ch
mov byte [ebp - 0x86], cl
xor bl, ch
mov byte [ebp - 0x85], dl
mov ecx, esp
mov byte [ebp - 0x84], bl
push eax
call fcn.100053b0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004bd0
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002dfe4
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.10005180
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x1002e0b6
cmp ecx, 0xa
jae 0x1002e010
mov dl, 0x6e
mov byte [ebp - 0x4e], 0
mov al, 0x5e
mov byte [ebp - 0x50], dl
xor al, dl
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4f], al
lea eax, [ebp - 0x4f]
jmp 0x1002e01d
mov word [ebp - 0x38], 0x4e
lea eax, [ebp - 0x37]
mov byte [ebp - 0x37], 0
push ecx
push eax
mov ch, 0x6a
mov byte [ebp - 0x8a], 0
mov al, 0x4f
mov byte [ebp - 0x90], ch
mov dl, al
mov byte [ebp - 0x8a], 0
mov ah, 0x50
xor al, ch
xor ah, ch
mov byte [ebp - 0x8f], al
mov cl, 0x19
mov byte [ebp - 0x8b], ah
sub esp, 0x18
lea eax, [ebp - 0x8f]
xor cl, ch
mov bl, 0x1f
xor dl, ch
mov byte [ebp - 0x8e], cl
xor bl, ch
mov byte [ebp - 0x8d], dl
mov ecx, esp
mov byte [ebp - 0x8c], bl
push eax
call fcn.100053b0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004bd0
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10007900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002e0fc
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.10005180
jmp 0x1002e0fc
mov bl, 0x1f
mov byte [ebp - 0x5c], 0
mov dl, 0x2f
mov byte [ebp - 0x60], bl
mov al, dl
mov byte [ebp - 0x5c], 0
mov cl, 0x25
xor dl, bl
xor al, bl
mov byte [ebp - 0x5f], dl
xor cl, bl
mov byte [ebp - 0x5e], al
mov byte [ebp - 0x5d], cl
test dl, dl
jne 0x1002e0e0
xor ecx, ecx
jmp 0x1002e0ef
lea ecx, [ebp - 0x5f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e0e6
sub ecx, edx
push ecx
lea eax, [ebp - 0x5f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100077e0
test esi, esi
je 0x1002e1c8
cmp esi, 0xa
jae 0x1002e122
mov cl, 0x44
mov byte [ebp - 0x52], 0
mov al, 0x74
mov byte [ebp - 0x54], cl
xor al, cl
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
jmp 0x1002e12f
mov word [ebp - 0x3c], 0x6f
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x3b], 0
push esi
push eax
mov ch, 0x60
mov byte [ebp - 0x92], 0
mov al, 0x45
mov byte [ebp - 0x98], ch
mov dl, al
mov byte [ebp - 0x92], 0
mov ah, 0x5a
xor al, ch
xor ah, ch
mov byte [ebp - 0x97], al
mov cl, 0x13
mov byte [ebp - 0x93], ah
sub esp, 0x18
lea eax, [ebp - 0x97]
xor cl, ch
mov bl, 0x15
xor dl, ch
mov byte [ebp - 0x96], cl
xor bl, ch
mov byte [ebp - 0x95], dl
mov ecx, esp
mov byte [ebp - 0x94], bl
push eax
call fcn.100053b0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004bd0
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10007900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002e20e
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.10005180
jmp 0x1002e20e
mov bl, 0x48
mov byte [ebp - 0x64], 0
mov dl, 0x78
mov byte [ebp - 0x68], bl
mov al, dl
mov byte [ebp - 0x64], 0
mov cl, 0x72
xor dl, bl
xor al, bl
mov byte [ebp - 0x67], dl
xor cl, bl
mov byte [ebp - 0x66], al
mov byte [ebp - 0x65], cl
test dl, dl
jne 0x1002e1f2
xor ecx, ecx
jmp 0x1002e201
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e1f8
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.100077e0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x1002e2be
cmp ecx, 0xa
jae 0x1002e23a
mov dl, 0xd
mov byte [ebp - 0x56], 0
mov al, 0x3d
mov byte [ebp - 0x58], dl
xor al, dl
mov byte [ebp - 0x56], 0
mov byte [ebp - 0x57], al
lea eax, [ebp - 0x57]
jmp 0x1002e247
mov word [ebp - 0x40], 0x15
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x3f], 0
push ecx
push eax
mov ah, 0x6f
mov byte [ebp - 0x7b], 0
mov al, 0x4a
mov byte [ebp - 0x80], ah
mov dl, al
mov byte [ebp - 0x7b], 0
mov cl, 0x1c
xor al, ah
xor cl, ah
mov byte [ebp - 0x7f], al
sub esp, 0x18
mov byte [ebp - 0x7e], cl
mov bl, 0x1a
xor dl, ah
xor bl, ah
mov byte [ebp - 0x7d], dl
lea eax, [ebp - 0x7f]
mov byte [ebp - 0x7c], bl
mov ecx, esp
push eax
call fcn.100053b0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004bd0
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10007900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002e2fd
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.10005180
jmp 0x1002e2fd
mov dl, 0x5b
mov byte [ebp - 0x45], 0
mov cl, 0x6b
mov byte [ebp - 0x48], dl
mov al, cl
mov byte [ebp - 0x45], 0
xor cl, dl
xor al, dl
mov byte [ebp - 0x47], cl
mov byte [ebp - 0x46], al
test cl, cl
jne 0x1002e2e1
xor ecx, ecx
jmp 0x1002e2f0
lea ecx, [ebp - 0x47]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e2e7
sub ecx, edx
push ecx
lea eax, [ebp - 0x47]
push eax
lea ecx, [ebp - 0x28]
call fcn.100077e0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0xa8], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
cmp byte [edx], 0
jne 0x1002e32c
xor ecx, ecx
jmp 0x1002e33a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e331
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.100052b0
mov esi, dword [ebp - 0xc0]
mov byte [ebp - 4], 5
mov esi, dword [esi]
test esi, esi
je 0x1002e373
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e373
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
call dword [0x1006254c]
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002e38b
inc eax
push eax
push dword [ebp - 0xbc]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002e3a4
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005180
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xa0]
add ebx, 0x68
mov esi, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x6c], ebx
cmp eax, dword [ebp - 0xc8]
jl 0x1002ddb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052ee0
mov esp, ebp
pop ebp
ret
cmp byte [ebx + eax + 0x62], 2
jne 0x1002e4b8
cmp dword [ebx + eax + 0x1c], 0
jne 0x1002e4b8
mov byte [ebp - 0x78], 0x79
mov al, 0x2e
xor al, byte [ebp - 0x78]
mov cl, 0x18
xor cl, byte [ebp - 0x78]
mov bh, 0x57
mov byte [ebp - 0x77], al
mov dl, 0x10
mov byte [ebp - 0x76], cl
mov ah, dl
mov cl, byte [ebp - 0x78]
mov ch, 0x17
mov byte [ebp - 0x29], bh
xor ah, cl
mov al, byte [ebp - 0x29]
xor ch, cl
xor al, cl
mov byte [ebp - 0x2a], bh
mov byte [ebp - 0x6f], al
mov dh, 0x1e
mov al, byte [ebp - 0x2a]
mov bl, 0xd
xor al, cl
mov byte [ebp - 0x73], ah
mov byte [ebp - 0x6e], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x72], ch
xor dh, cl
mov byte [ebp - 0x6d], 0
xor bh, cl
mov byte [ebp - 0x75], dl
lea eax, [ebp - 0x77]
mov byte [ebp - 0x74], bl
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x71], dh
mov byte [ebp - 0x70], bh
mov byte [ebp - 0x6d], 0
call fcn.100053b0
mov dword [ebp - 4], 6
mov esi, dword [esi]
test esi, esi
je 0x1002e495
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e495
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
call dword [0x1006254c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1002e3a4
inc eax
push eax
push dword [ebp - 0xbc]
jmp 0x1002e39f
mov cl, 7
mov byte [ebp - 0x42], 0
mov al, 0x2a
mov byte [ebp - 0x44], cl
xor al, cl
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x43], al
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
jne 0x1002e4ed
xor ecx, ecx
jmp 0x1002e4fc
lea ecx, [ebp - 0x43]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e4f3
sub ecx, edx
push ecx
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100052b0
mov dword [ebp - 4], 7
mov esi, dword [esi]
test esi, esi
je 0x1002e535
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e535
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
call dword [0x1006254c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xcc]
cmp eax, 0x10
jb 0x1002e554
inc eax
push eax
push dword [ebp - 0xe0]
call fcn.10005180
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
jmp 0x1002e3a7