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

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x84
push 0xfffffffffffffffe
push 0x509620
push 0x4b7620
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x52e144]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x80], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 0x90]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x430364
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], esi
mov ecx, 0x5a4d
cmp word [edi], cx
jne 0x43035d
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x43035d
mov edx, 0x20b
cmp word [eax + 0x18], dx
jne 0x430312
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x30], eax
jmp 0x43031b
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], ecx
cmp ecx, esi
je 0x43035d
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp + 0x94]
cmp ebx, 0x10000
jae 0x43033e
mov dword [ebp - 0x1c], ebx
lea eax, [ebx - 1]
jmp 0x4303f7
xor edx, edx
mov dword [ebp - 0x34], edx
mov eax, ebx
mov dword [ebp - 0x24], eax
cmp byte [eax], 0
je 0x43036b
inc eax
mov dword [ebp - 0x24], eax
inc edx
mov dword [ebp - 0x34], edx
cmp edx, 0x100
jb 0x430348
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x430488
mov eax, dword [edi + ecx + 0x20]
add eax, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x1c]
cmp edx, dword [edi + ecx + 0x18]
jae 0x4303d1
mov esi, dword [eax]
add esi, edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x43035d
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x34]
jae 0x4303b4
movsx ecx, byte [ebx]
movzx edx, byte [esi]
sub edx, ecx
jne 0x4303ba
inc esi
mov dword [ebp - 0x44], esi
inc ebx
mov dword [ebp - 0x24], ebx
inc eax
jmp 0x430397
mov al, 1
test al, al
jne 0x4303e3
add dword [ebp - 0x2c], 4
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov ebx, dword [ebp + 0x94]
mov eax, dword [ebp - 0x2c]
jmp 0x430377
xor al, al
jne 0x4303e8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x430488
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov eax, dword [edi + ecx + 0x24]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*2]
add eax, edi
movzx eax, word [eax]
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + ecx + 0x1c]
lea eax, [edx + eax*4]
add eax, edi
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x28], eax
lea edx, [edi + ecx]
cmp eax, edx
jb 0x430461
mov edx, dword [ebp - 0x30]
add edi, edx
add edi, ecx
cmp eax, edi
jae 0x430461
lea edx, [ebp]
nop
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x430420
push 0x50e4dc
lea eax, [ebp]
push eax
call fcn.004b9929
add esp, 8
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x430449
mov byte [eax], 0
inc eax
mov dword [ebp - 0x38], eax
push eax
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00430270
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x430488
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.004b6da3
add ebp, 0x84
mov esp, ebp
pop ebp
ret 0xc