Function at 0x30037b80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x110]
sub esp, 0x190
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x10c], eax
push ebx
push esi
mov esi, dword [ebp + 0x118]
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp + 0xcc]
push ebx
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.30032300
push 0xf8
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.30032300
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
xor edi, edi
call 0x3005a10a
mov ebx, eax
test ebx, ebx
jns 0x30037c10
push 0x43ca1e
push ebx
call 0x3005b09a
pop ecx
pop ecx
jmp 0x30038019
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x64]
call dword [0x4012a0]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
jne 0x30037c75
call dword [0x4011d8]
test eax, eax
jle 0x30037c47
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037c52
mov ebx, 0x80004005
push ebx
push 0x44
push 0x43c9e6
call 0x3005b0ae
push dword [ebp - 0x64]
push 0x43c9ba
push ebx
call 0x3005b09a
add esp, 0xc
jmp 0x30038019
mov ebx, dword [0x401284]
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x40
lea eax, [ebp + 0xcc]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x30037cd1
call dword [0x4011d8]
test eax, eax
jle 0x30037ca7
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037cb2
mov ebx, 0x80004005
push ebx
push 0x49
push 0x43c9e6
call 0x3005b0ae
push 0x43c99e
push ebx
call 0x3005b09a
pop ecx
pop ecx
jmp 0x30038010
cmp dword [ebp - 0x5c], 0x40
jb 0x30037ce5
mov eax, 0x5a4d
cmp ax, word [ebp + 0xcc]
je 0x30037d01
mov esi, 0x8007000d
push esi
push 0x4e
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push 0x43c96c
push esi
jmp 0x30037cc5
mov eax, dword [ebp + 0x108]
push 0
cdq
push 0
push edx
push eax
push dword [ebp - 0x58]
call dword [0x4012a4]
test eax, eax
jne 0x30037d51
call dword [0x4011d8]
test eax, eax
jle 0x30037d2f
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037d3a
mov ebx, 0x80004005
push ebx
push 0x59
push 0x43c9e6
call 0x3005b0ae
push 0x43c94e
jmp 0x30037cc4
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x18
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x30037d9c
call dword [0x4011d8]
test eax, eax
jle 0x30037d7a
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037d85
mov ebx, 0x80004005
push ebx
push 0x5f
push 0x43c9e6
call 0x3005b0ae
push 0x43c934
jmp 0x30037cc4
cmp dword [ebp - 0x5c], 0x18
jb 0x30037dab
cmp dword [ebp - 0x2c], 0x4550
je 0x30037dc9
mov esi, 0x8007000d
push esi
push 0x64
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push 0x43c904
jmp 0x30037cfe
mov eax, dword [ebp + 0x108]
lea ecx, [eax + 0x58]
mov dword [ebp - 0x7c], ecx
xor ecx, ecx
push ecx
push ecx
add eax, 0x98
push ecx
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
call dword [0x4012a4]
test eax, eax
jne 0x30037e26
call dword [0x4011d8]
test eax, eax
jle 0x30037e04
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037e0f
mov ebx, 0x80004005
push ebx
push 0x6f
push 0x43c9e6
call 0x3005b0ae
push 0x43c8e4
jmp 0x30037cc4
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x30037e71
call dword [0x4011d8]
test eax, eax
jle 0x30037e4f
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037e5a
mov ebx, 0x80004005
push ebx
push 0x74
push 0x43c9e6
call 0x3005b0ae
push 0x43c8c2
jmp 0x30037cc4
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x30037ebc
call dword [0x4011d8]
test eax, eax
jle 0x30037e9a
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037ea5
mov ebx, 0x80004005
push ebx
push 0x79
push 0x43c9e6
call 0x3005b0ae
push 0x43c8a2
jmp 0x30037cc4
movzx eax, word [ebp - 0x18]
mov ecx, dword [ebp + 0x108]
lea eax, [eax + ecx + 0x18]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 0x58]
call dword [0x4012a4]
test eax, eax
jne 0x30037f16
call dword [0x4011d8]
test eax, eax
jle 0x30037ef1
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037efc
mov ebx, 0x80004005
push ebx
push 0x84
push 0x43c9e6
call 0x3005b0ae
push 0x43c87c
jmp 0x30037cc4
and dword [ebp - 0x68], edi
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x28
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
je 0x30037f7e
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x5c], 0x28
jb 0x30037fc0
push 8
lea eax, [ebp - 0x54]
push 0x43c872
push eax
call fcn.30032e08
add esp, 0xc
test eax, eax
je 0x30038043
movzx eax, word [ebp - 0x26]
cmp dword [ebp - 0x60], eax
jae 0x30037fe2
inc dword [ebp - 0x68]
inc dword [ebp - 0x60]
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x28
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x30037f35
call dword [0x4011d8]
test eax, eax
jle 0x30037f92
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30037f9d
mov ebx, 0x80004005
push ebx
push 0x8d
push 0x43c9e6
call 0x3005b0ae
push dword [ebp - 0x68]
push 0x43c842
push ebx
call 0x3005b09a
add esp, 0xc
jmp 0x30038010
mov esi, 0x8007000d
push esi
push 0x92
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push dword [ebp - 0x68]
push 0x43c80a
push esi
jmp 0x30037fb6
mov esi, 0x8007000d
push esi
push 0xa0
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push 0x43c7ec
push esi
call 0x3005b09a
pop ecx
pop ecx
test edi, edi
je 0x30038010
push edi
call 0x3005b418
push dword [ebp - 0x58]
call dword [0x401270]
cmp dword [ebp - 0x64], 0
je 0x30038027
push dword [ebp - 0x64]
call 0x300586b8
mov ecx, dword [ebp + 0x10c]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.30032078
add ebp, 0x110
leave
ret 4
cmp dword [ebp - 0x44], 0x34
jae 0x3003806d
mov esi, 0x8007000d
push esi
push 0xac
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push dword [ebp - 0x44]
push 0x43c7bc
jmp 0x30037fdf
push 1
push dword [ebp - 0x44]
call 0x3005b25c
mov edi, eax
test edi, edi
jne 0x3003809c
mov ebx, 0x8007000e
push ebx
push 0xb1
push 0x43c9e6
call 0x3005b0ae
push 0x43c790
jmp 0x30037cc4
mov eax, dword [ebp - 0x40]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push dword [ebp - 0x58]
call dword [0x4012a4]
test eax, eax
jne 0x300380ec
call dword [0x4011d8]
test eax, eax
jle 0x300380c6
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x300380d1
mov ebx, 0x80004005
push ebx
push 0xb7
push 0x43c9e6
call 0x3005b0ae
push 0x43c8e4
push ebx
jmp 0x30037fff
mov eax, dword [ebp - 0x40]
add eax, 0x1c
push 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x44]
push edi
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x3003813e
call dword [0x4011d8]
test eax, eax
jle 0x3003811c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x30038127
mov ebx, 0x80004005
push ebx
push 0xc0
push 0x43c9e6
call 0x3005b0ae
push 0x43c772
jmp 0x300380e6
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x5c]
jbe 0x30038167
mov esi, 0x8007000d
push esi
push 0xc5
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push 0x43c74c
jmp 0x30037ffe
cmp dword [edi + 4], 2
je 0x30038197
mov esi, 0x8007000d
push esi
push 0xcc
push 0x43c9e6
mov ebx, esi
call 0x3005b0ae
push dword [edi + 4]
push 0x43c714
push esi
call 0x3005b09a
jmp 0x3003825b
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x58]
call 0x3005ee98
mov ebx, eax
test ebx, ebx
jns 0x300381b3
push 0x43c6f0
jmp 0x300380e6
mov eax, dword [edi + 0x18]
mov dword [esi], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x300381c4
mov eax, dword [edi + 0x24]
jmp 0x300381ce
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x300381d5
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov dword [esi + 4], eax
jmp 0x300381dd
mov ecx, dword [edi + 0x30]
add ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0x78]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
push 1
shl eax, 2
push eax
call 0x3005b25c
mov dword [esi + 0x30], eax
test eax, eax
jne 0x3003824a
mov ebx, 0x8007000e
push ebx
push 0xef
push 0x43c9e6
call 0x3005b0ae
push 0x43c6c0
jmp 0x300380e6
mov ecx, dword [esi + 0x2c]
shl ecx, 2
push ecx
lea ecx, [edi + 0x30]
push ecx
push eax
call fcn.300307c0
add esp, 0xc
jmp 0x30038006