Function at 0x48389c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x200], ebx
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004440c0
lea eax, [ebp - 8]
call fcn.004440c0
xor eax, eax
push ebp
push 0x483ebc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.00443b9c
push 0x483ed4
push dword [ebp - 4]
push 0x483ed4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00443dd0
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call fcn.00443678
mov eax, dword [ebp - 0x40]
call fcn.004437b0
cdq
push edx
push eax
mov eax, dword [ebp + 0x14]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x483961
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x483969
jmp 0x483e6f
pop edx
pop eax
jg 0x483e6f
lea eax, [ebp - 0x40]
call fcn.00443980
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x5a4d
jne 0x483e6f
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0x483e6f
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x44
call fcn.0044289c
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x10
call fcn.0044289c
mov dword [ebp - 0xa8], 0x44
mov dword [ebp - 0x7c], 0x80
cmp byte [ebp + 0xc], 0
je 0x483aa2
mov eax, dword [0x4a2b64]
cmp dword [eax], 0
je 0x483aa2
mov eax, dword [0x4a2b9c]
cmp byte [eax], 0
je 0x483aa2
mov eax, dword [0x4a2a9c]
cmp byte [eax], 0
jne 0x483aa2
mov eax, dword [0x4a2d88]
cmp byte [eax], 0
je 0x483a5a
mov ecx, dword [0x4a2d98]
mov ecx, dword [ecx]
mov edx, dword [0x4a2d54]
mov edx, dword [edx]
lea eax, [ebp - 0x204]
call fcn.004437fc
mov eax, dword [ebp - 0x204]
lea edx, [ebp - 0x200]
call fcn.004480d4
mov ecx, dword [ebp - 0x200]
lea eax, [ebp - 0x1fc]
mov edx, 0x483ee0
call fcn.004437fc
mov edx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x3c]
call fcn.00443ce0
jmp 0x483a94
mov ecx, dword [0x4a2d98]
mov ecx, dword [ecx]
mov edx, dword [0x4a2d54]
mov edx, dword [edx]
lea eax, [ebp - 0x20c]
call fcn.004437fc
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.004480d4
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x3c]
call fcn.00443ce0
mov eax, dword [ebp - 0x3c]
call fcn.00443cf0
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 4]
mov eax, 0x483ef0
call fcn.0044402c
test eax, eax
je 0x483ac9
mov edx, dword [ebp - 4]
mov eax, 0x483ef0
call fcn.0044402c
cmp eax, 4
jge 0x483ac9
xor eax, eax
jmp 0x483acb
mov al, 1
test al, al
je 0x483b01
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00443cf0
push eax
push 0
call fcn.004468e4
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x2d], al
jmp 0x483b38
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00443cf0
push eax
mov eax, dword [ebp - 4]
call fcn.00443cf0
push eax
call fcn.004468e4
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x2d], al
push 0x3e8
call fcn.00446af4
cmp byte [ebp - 0x2d], 1
jne 0x483e6f
cmp byte [ebp + 8], 0
je 0x483b80
mov eax, dword [ebp - 0x64]
call fcn.0048ab28
cmp al, 1
jne 0x483b80
push 0
mov eax, dword [ebp - 0x64]
push eax
call fcn.00446afc
mov eax, dword [ebp - 0x64]
push eax
call fcn.004468ac
mov eax, dword [ebp - 0x60]
push eax
call fcn.004468ac
jmp 0x483e6f
push 0
push 0x18
lea eax, [ebp - 0x1f8]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
call fcn.00491334
test eax, eax
jne 0x483e43
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1f4]
add eax, 8
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.00446a9c
neg eax
sbb eax, eax
neg eax
test al, al
je 0x483e43
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.00446a9c
neg eax
sbb eax, eax
neg eax
test al, al
je 0x483e43
lea eax, [ebp - 0x18]
push eax
push 0xf8
lea eax, [ebp - 0x1e0]
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xac]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.00446a9c
neg eax
sbb eax, eax
neg eax
test al, al
je 0x483e43
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x50]
lea eax, [eax + eax*2]
mov dword [ebp - 0x20], eax
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x2c]
push eax
call fcn.0049134c
test eax, eax
jne 0x483e43
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00491344
test eax, eax
jne 0x483e43
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0044695c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00491344
test eax, eax
jne 0x483e43
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1f4]
add eax, 8
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.0049136c
test eax, eax
jne 0x483e43
cmp dword [ebp - 0x18], 4
jne 0x483e43
mov ecx, dword [esi + 0x54]
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.00446ca0
lea edx, [ebp + 0x14]
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
mov ecx, 4
call fcn.00446ca0
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call fcn.00446ca0
mov eax, dword [ebp - 0x38]
call fcn.00443d00
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0x38]
call fcn.00443cf0
mov edx, eax
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
add eax, 4
add eax, dword [ebp + 0x14]
pop ecx
call fcn.00446ca0
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0x483d9a
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
add eax, edx
add eax, 0xf8
mov ecx, dword [ebp - 0x34]
shl ecx, 3
lea ecx, [ecx + ecx*4]
add eax, ecx
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xchg ecx, eax
call fcn.00446ca0
inc dword [ebp - 0x34]
dec dword [ebp - 0x54]
jne 0x483d66
mov edx, dword [esi + 0x34]
mov eax, dword [ebp - 0x28]
cmp edx, eax
je 0x483dcc
sub eax, edx
push eax
push esi
mov eax, dword [ebp - 0x24]
push eax
call fcn.00481e80
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x24]
mov ecx, 0xf8
mov edx, esi
call fcn.00446ca0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0044695c
push eax
call fcn.0049133c
lea eax, [ebp - 0x44]
call fcn.00483868
mov ebx, eax
test ebx, ebx
je 0x483e43
mov dword [ebx], 0x10007
push ebx
mov eax, dword [ebp - 0x60]
push eax
call fcn.004469fc
test eax, eax
je 0x483e33
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x28]
mov dword [ebx + 0xb0], eax
push ebx
mov eax, dword [ebp - 0x60]
push eax
call fcn.00446ae4
test eax, eax
je 0x483e33
mov eax, dword [ebp - 0x60]
push eax
call fcn.00446aac
cmp eax, 0xffffffff
je 0x483e33
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push 0x8000
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00446b14
cmp dword [ebp - 0xc], 0
jne 0x483e5d
push 0
mov eax, dword [ebp - 0x64]
push eax
call fcn.00446afc
mov eax, dword [ebp - 0x64]
push eax
call fcn.004468ac
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004468ac
mov eax, dword [ebp - 0x60]
push eax
call fcn.004468ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483ec3
lea eax, [ebp - 0x20c]
mov edx, 5
call fcn.004435b4
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004435b4
lea eax, [ebp - 0x40]
call fcn.00443590
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00443b78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00443b78
ret