Function at 0x10048e92
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ccca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10049225
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x74], 0x1ce0
cmp dword [ebp - 0x74], 0x8af
jge 0x100491f2
lea ecx, [ebp - 0x30]
call fcn.1002bb57
and dword [ebp - 4], 0
lea edx, [ebp - 0x30]
mov ecx, 0x1065d290
call fcn.100304e4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
add ecx, dword [eax + 4]
call fcn.100094b1
movzx eax, al
test eax, eax
je 0x100491e6
and dword [ebp - 0x10], 0
jmp 0x10048f35
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.1002bcc1
cmp dword [ebp - 0x10], eax
jae 0x100491d2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x41
je 0x10048f7f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x42
je 0x10048f7f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x43
jne 0x10048f90
mov dl, 0x32
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x44
je 0x10048fc9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x45
je 0x10048fc9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x46
jne 0x10048fda
mov dl, 0x33
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x47
je 0x10049013
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x48
je 0x10049013
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x49
jne 0x10049024
mov dl, 0x34
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4a
je 0x1004905d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4b
je 0x1004905d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4c
jne 0x1004906e
mov dl, 0x35
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4d
je 0x100490a7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4e
je 0x100490a7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x4f
jne 0x100490b8
mov dl, 0x36
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x50
je 0x10049104
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x51
je 0x10049104
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x52
je 0x10049104
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x53
jne 0x10049115
mov dl, 0x37
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x54
je 0x1004914e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x55
je 0x1004914e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x56
jne 0x1004915c
mov dl, 0x38
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x57
je 0x100491a8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x58
je 0x100491a8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x59
je 0x100491a8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
movsx eax, byte [eax]
cmp eax, 0x5a
jne 0x100491b6
mov dl, 0x39
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x100491cd
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1002bcad
mov dl, byte [eax]
mov ecx, 0x1065d1d8
call fcn.10049cd9
jmp 0x10048f2e
push fcn.100304e9
mov ecx, 0x1065d1d8
call fcn.1002c138
jmp 0x10048efd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1002bbdf
push 0xe1a
push 0x55f1
push dword [ebp - 0x94]
push dword [ebp - 0x8c]
push 0x64f3
push dword [ebp - 0x80]
push 1
push dword [ebp - 0x90]
call fcn.10049441
add esp, 0x20
jmp 0x10049433
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x14], 0x11c15747
mov dword [ebp - 0x5c], 0xcf1d65f4
push 3
lea ecx, [ebp - 0xa0]
call fcn.1002c487
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 0x73046773
mov dword [ebp - 0x44], 0xe85ec415
mov dword [ebp - 0x60], 0x5bed8572
mov dword [ebp - 0x18], 0
jmp 0x1004928d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100492a9
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa0]
call fcn.1002c5a0
mov dword [eax], 0xfffffffd
jmp 0x10049286
mov dword [ebp - 0x18], 0
jmp 0x100492b9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100492cf
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa8], 0xd2f55126
jmp 0x100492b2
cmp dword [ebp - 0x14], 0x44ad72d7
jne 0x100492e1
mov dword [ebp - 0x48], 1
jmp 0x100492e5
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x5c]
je 0x10049305
mov eax, 0x6c12
test eax, eax
je 0x10049305
mov dword [ebp - 0x40], 1
jmp 0x10049309
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x14]
test eax, eax
jg 0x1004931f
mov dword [ebp - 0x68], 1
jmp 0x10049323
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xfffc
jb 0x10049335
mov dword [ebp - 0x34], 1
jmp 0x10049339
and dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.1002c5a0
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0
jne 0x10049369
push 1
lea ecx, [ebp - 0xa0]
call fcn.1002c5a0
cmp dword [eax], 0
jne 0x10049369
and dword [ebp - 0x70], 0
jmp 0x10049370
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x70], eax
jge 0x10049381
mov dword [ebp - 0x4c], 1
jmp 0x10049385
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x4c], eax
jle 0x10049396
mov dword [ebp - 0x6c], 1
jmp 0x1004939a
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x54], eax
jl 0x100493b1
mov dword [ebp - 0x64], 1
jmp 0x100493b5
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x48], eax
jne 0x100493cc
mov dword [ebp - 0x38], 1
jmp 0x100493d0
and dword [ebp - 0x38], 0
imul eax, dword [ebp - 0x38], 0x314e
cmp eax, dword [ebp - 0x14]
jle 0x100493e5
mov dword [ebp - 0x58], 1
jmp 0x100493e9
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x60], eax
jne 0x10049400
mov dword [ebp - 0x3c], 1
jmp 0x10049404
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0xa8], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.1002c55e
mov eax, dword [ebp - 0x7c]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.10044554
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret