Function at 0x42bdb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], 0
push 0x40
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x42be34
xor eax, eax
jmp 0x42c3eb
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x42be56
mov edx, dword [ebp - 0x48]
movzx eax, word [edx]
cmp eax, 0x584d
je 0x42be56
xor eax, eax
jmp 0x42c3eb
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x3c], 0
je 0x42be6a
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x3c]
and eax, 3
je 0x42be71
xor eax, eax
jmp 0x42c3eb
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x3c]
add edx, 0x378
mov eax, dword [ebp - 0x48]
cmp edx, dword [eax + 0x3c]
jae 0x42be8c
xor eax, eax
jmp 0x42c3eb
push 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42beb9
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0x4550
je 0x42bec0
xor eax, eax
jmp 0x42c3eb
push 0x14
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x3c]
add ecx, 4
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42bf06
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
test edx, edx
je 0x42bf06
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 2]
cmp ecx, 0x60
jg 0x42bf06
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x10]
test eax, eax
jne 0x42bf0d
xor eax, eax
jmp 0x42c3eb
push 0x108
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42bfce
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x42bfce
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x48]
add edx, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x54]
jbe 0x42bf64
xor eax, eax
jmp 0x42c3eb
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x16]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x88
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
push 0xf8
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c08a
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x42c08a
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x48]
add ecx, dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x54]
jbe 0x42c026
xor eax, eax
jmp 0x42c3eb
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 6]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x16]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
add eax, 0x78
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x50]
jb 0x42c0a8
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x50]
jb 0x42c0a8
mov ecx, dword [ebp - 0x38]
sub ecx, 1
cmp ecx, 0x77000000
jb 0x42c0af
xor eax, eax
jmp 0x42c3eb
cmp dword [ebp - 0x40], 0
je 0x42c0c0
mov edx, dword [ebp - 0x40]
sub edx, 1
and edx, dword [ebp - 0x40]
je 0x42c0c7
xor eax, eax
jmp 0x42c3eb
cmp dword [ebp - 0x1c], 0
je 0x42c0d8
mov eax, dword [ebp - 0x1c]
sub eax, 1
and eax, dword [ebp - 0x1c]
je 0x42c0df
xor eax, eax
jmp 0x42c3eb
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x40]
jbe 0x42c0ee
xor eax, eax
jmp 0x42c3eb
cmp dword [ebp - 0x1c], 0x200
jae 0x42c106
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x40]
je 0x42c106
xor eax, eax
jmp 0x42c3eb
cmp dword [ebp - 0x14], 0x10
jbe 0x42c113
mov dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x18
add eax, 0x50
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 8
mov edx, dword [0x45a5e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x42c3e8
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfff
and ecx, 0xfffff000
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 0x58]
mov dl, byte [ebp + 0x14]
mov byte [ecx + 0x34], dl
cmp dword [ebp - 0x40], 0x1000
jb 0x42c396
mov eax, dword [ebp - 0x58]
add eax, 0x38
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
lea edx, [ecx + eax - 1]
mov eax, dword [ebp - 0x40]
sub eax, 1
not eax
and edx, eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x42c394
cmp dword [ebp - 0x4c], 0
je 0x42c394
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x28
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042b6e0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x42c28c
mov edx, dword [ebp - 0x58]
push edx
push 0
mov eax, dword [0x45a5e0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x42c3eb
mov dword [ebp - 0x5c], 0
jmp 0x42c2a7
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x28
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x4c]
jae 0x42c394
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
and edx, 0xfffffe00
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
lea eax, [ecx + edx - 1]
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
not ecx
and eax, ecx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 1
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x58]
lea eax, [edx + ecx + 0x38]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x64], 0
jne 0x42c304
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp + 0x10]
jbe 0x42c313
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp + 0x10]
jae 0x42c32f
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x10]
jbe 0x42c32f
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x64]
lea ecx, [eax + edx - 1]
mov edx, dword [ebp - 0x40]
sub edx, 1
not edx
and ecx, edx
mov eax, dword [ebp - 0x34]
add ecx, dword [eax + 8]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x14], edx
jmp 0x42c295
jmp 0x42c3e8
mov eax, dword [ebp - 0x58]
add eax, 0x38
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x14], 0xe0000000
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x20], 1
mov eax, dword [ebp - 0x58]
mov esp, ebp
pop ebp
ret