Function at 0x4ba2bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x456130]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x18c]
stosd dword es:[edi], eax
xor esi, esi
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push esi
push eax
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x180], esi
call fcn.004e06e4
push 0xf8
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.004e06e4
or dword [ebx], 0xffffffff
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x164]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x170]
push eax
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x194], esi
call fcn.004ea240
mov esi, eax
test esi, esi
jns 0x4ba36a
push 0x43c0b4
push esi
call fcn.004e833a
pop ecx
pop ecx
jmp 0x4ba7f2
push 0
push 0x80
push 3
push 0
push 5
push 0x80000000
push dword [ebp - 0x170]
call dword [fcn.0043b11c]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x4ba3d4
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba3a3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba3ae
mov esi, 0x80004005
push esi
push 0x45
push 0x43bd44
call fcn.004eb11a
push dword [ebp - 0x170]
push 0x43c080
push esi
call fcn.004e833a
add esp, 0xc
jmp 0x4ba7f2
mov edi, dword [0x43b118]
push 0
push 0
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push eax
call edi
test eax, eax
jne 0x4ba427
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba405
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba410
mov esi, 0x80004005
push esi
push 0x4c
push 0x43bd44
call fcn.004eb11a
push fcn.0043c05c
jmp 0x4ba35d
mov esi, dword [0x43b114]
push 0
lea eax, [ebp - 0x168]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x4ba47a
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba458
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba463
mov esi, 0x80004005
push esi
push 0x52
push 0x43bd44
call fcn.004eb11a
push 0x43c040
jmp 0x4ba35d
cmp dword [ebp - 0x168], 0x40
jb 0x4ba48e
mov eax, 0x5a4d
cmp ax, word [ebp - 0x44]
je 0x4ba4aa
mov esi, 0x8007000d
push esi
push 0x57
push 0x43bd44
call fcn.004eb11a
push 0x43c00c
jmp 0x4ba35d
mov eax, dword [ebp - 8]
push 0
cdq
push 0
push edx
push eax
push dword [ebx]
call edi
test eax, eax
jne 0x4ba4f2
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba4d0
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba4db
mov esi, 0x80004005
push esi
push 0x62
push 0x43bd44
call fcn.004eb11a
push 0x43bfec
jmp 0x4ba35d
push 0
lea eax, [ebp - 0x168]
push eax
push 0x18
lea eax, [ebp - 0x13c]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x4ba542
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba520
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba52b
mov esi, 0x80004005
push esi
push 0x68
push 0x43bd44
call fcn.004eb11a
push 0x43bfd0
jmp 0x4ba35d
cmp dword [ebp - 0x168], 0x18
jb 0x4ba557
cmp dword [ebp - 0x13c], 0x4550
je 0x4ba573
mov esi, 0x8007000d
push esi
push 0x6d
push 0x43bd44
call fcn.004eb11a
push 0x43bfa0
jmp 0x4ba35d
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x58]
mov dword [ebp - 0x190], ecx
xor ecx, ecx
push ecx
push ecx
add eax, 0x98
push ecx
push eax
push dword [ebx]
mov dword [ebp - 0x188], eax
call edi
test eax, eax
jne 0x4ba5ce
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba5ac
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba5b7
mov esi, 0x80004005
push esi
push 0x78
push 0x43bd44
call fcn.004eb11a
push 0x43bf80
jmp 0x4ba35d
push 0
lea eax, [ebp - 0x168]
push eax
push 4
lea eax, [ebp - 0x17c]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x4ba61e
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba5fc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba607
mov esi, 0x80004005
push esi
push 0x7d
push 0x43bd44
call fcn.004eb11a
push 0x43bf5c
jmp 0x4ba35d
push 0
lea eax, [ebp - 0x168]
push eax
push 4
lea eax, [ebp - 0x178]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x4ba671
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba64c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba657
mov esi, 0x80004005
push esi
push 0x82
push 0x43bd44
call fcn.004eb11a
push 0x43bf3c
jmp 0x4ba35d
movzx eax, word [ebp - 0x128]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx + 0x18]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx]
call edi
test eax, eax
jne 0x4ba6c6
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba6a1
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba6ac
mov esi, 0x80004005
push esi
push 0x8d
push 0x43bd44
call fcn.004eb11a
push 0x43bf14
jmp 0x4ba35d
and dword [ebp - 0x174], 0
push 0
lea eax, [ebp - 0x168]
push eax
push 0x28
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call esi
test eax, eax
je 0x4ba75c
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x168], 0x28
jb 0x4ba79b
push 8
pop ecx
mov edi, 0x43bf08
lea esi, [ebp - 0x164]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4ba717
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ba819
movzx eax, word [ebp - 0x136]
cmp dword [ebp - 0x16c], eax
jae 0x4ba7c0
inc dword [ebp - 0x174]
inc dword [ebp - 0x16c]
push 0
lea eax, [ebp - 0x168]
push eax
push 0x28
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call dword [0x43b114]
test eax, eax
jne 0x4ba6f1
call dword [fcn.0043b0f8]
test eax, eax
jle 0x4ba770
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba77b
mov esi, 0x80004005
push esi
push 0x96
push 0x43bd44
call fcn.004eb11a
push dword [ebp - 0x174]
push 0x43bed8
jmp 0x4ba3c6
mov esi, 0x8007000d
push esi
push 0x9b
push 0x43bd44
call fcn.004eb11a
push dword [ebp - 0x174]
push 0x43bea0
jmp 0x4ba3c6
mov esi, 0x8007000d
push esi
push 0xa9
push 0x43bd44
call fcn.004eb11a
push 0x43be80
push esi
call fcn.004e833a
mov edi, dword [ebp - 0x194]
pop ecx
pop ecx
test edi, edi
je 0x4ba7f2
push edi
call fcn.004eacc2
cmp dword [ebp - 0x170], 0
je 0x4ba806
push dword [ebp - 0x170]
call fcn.004e8a9b
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e075e
leave
ret 4
cmp dword [ebp - 0x154], 0x34
jae 0x4ba847
mov esi, 0x8007000d
push esi
push 0xb5
push 0x43bd44
call fcn.004eb11a
push dword [ebp - 0x154]
push 0x43be50
jmp 0x4ba3c6
push 1
push dword [ebp - 0x154]
call fcn.004eab07
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x4ba87b
mov esi, 0x8007000e
push esi
push 0xba
push 0x43bd44
call fcn.004eb11a
push 0x43be24
jmp 0x4ba35d
mov eax, dword [ebp - 0x150]
push esi
push esi
xor ecx, ecx
push ecx
push eax
push dword [ebx]
call dword [0x43b118]
test eax, eax
jne 0x4ba8d2
call dword [fcn.0043b0f8]
cmp eax, esi
jle 0x4ba8a7
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba8b2
mov esi, 0x80004005
push esi
push 0xc0
push 0x43bd44
call fcn.004eb11a
push 0x43bf80
push esi
call fcn.004e833a
jmp 0x4ba7e6
mov eax, dword [ebp - 0x150]
add eax, 0x1c
push esi
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x154]
push edi
push dword [ebx]
call dword [0x43b114]
test eax, eax
jne 0x4ba932
call dword [fcn.0043b0f8]
cmp eax, esi
jle 0x4ba910
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4ba91b
mov esi, 0x80004005
push esi
push 0xc9
push 0x43bd44
call fcn.004eb11a
push 0x43be04
jmp 0x4ba8c7
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x168]
jbe 0x4ba95f
mov esi, 0x8007000d
push esi
push 0xce
push 0x43bd44
call fcn.004eb11a
push 0x43bddc
jmp 0x4ba8c7
cmp dword [edi + 4], 2
je 0x4ba98d
mov esi, 0x8007000d
push esi
push 0xd5
push 0x43bd44
call fcn.004eb11a
push dword [edi + 4]
push 0x43bda4
push esi
call fcn.004e833a
jmp 0x4baa69
lea eax, [ebp - 0x184]
push eax
push dword [ebx]
call fcn.004edecd
mov esi, eax
test esi, esi
jns 0x4ba9ab
push 0x43bd80
jmp 0x4ba8c7
mov eax, dword [edi + 0x18]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4ba9bd
mov eax, dword [edi + 0x24]
jmp 0x4ba9cd
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
je 0x4ba9d4
mov eax, dword [ebp - 0x178]
add eax, ecx
mov dword [ebx + 8], eax
jmp 0x4ba9dc
mov ecx, dword [edi + 0x30]
add ecx, eax
mov dword [ebx + 8], ecx
mov eax, dword [ebp - 0x184]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x180]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x190]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x188]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x34], eax
push 1
shl eax, 2
push eax
call fcn.004eab07
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x4baa58
mov esi, 0x8007000e
push esi
push 0xf8
push 0x43bd44
call fcn.004eb11a
push 0x43bd50
jmp 0x4ba8c7
mov ecx, dword [ebx + 0x34]
shl ecx, 2
push ecx
lea ecx, [edi + 0x30]
push ecx
push eax
call fcn.004e0774
add esp, 0xc
jmp 0x4ba7e8