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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535a78
push 0x4c7a62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
xor esi, esi
cmp eax, esi
jne 0x4231bc
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x1c]
cmp word [edx], 0x5a4d
je 0x4231d3
push 0xc1
jmp 0x42339a
mov eax, dword [edx + 0x3c]
add eax, edx
mov dword [ebp - 0x34], eax
cmp dword [eax], 0x4550
je 0x4231ed
push 0xbf
jmp 0x42339a
cmp word [eax + 0x14], si
je 0x423395
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x6c], eax
cmp eax, esi
je 0x423208
add eax, edx
mov dword [ebp - 0x24], eax
jmp 0x42320b
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x423395
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x70], eax
cmp eax, esi
je 0x423227
add eax, edx
mov dword [ebp - 0x2c], eax
jmp 0x42322a
mov dword [ebp - 0x2c], esi
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x74], eax
cmp eax, esi
je 0x42323b
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x42323e
mov dword [ebp - 0x28], esi
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x78], eax
cmp eax, esi
je 0x42324f
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x423252
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ecx + 0x14]
jae 0x423368
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x423275
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x7c], eax
cmp eax, esi
je 0x423275
add eax, edx
jmp 0x423277
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x40], ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp eax, dword [esi + 0x18]
jae 0x4232c1
xor esi, esi
mov si, word [edx + eax*2]
cmp esi, edi
jne 0x423347
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4232ba
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x4232ba
mov ecx, dword [ebp - 0x1c]
add eax, ecx
jmp 0x4232bc
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
add eax, edi
mov dword [ebp - 0x38], eax
xor esi, esi
mov dword [ebp - 0x44], esi
lea edx, [ebp - 0x44]
push edx
push ebx
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
test eax, eax
je 0x423368
cmp dword [ebp - 0x44], esi
je 0x423357
mov ecx, dword [ebp - 0x2c]
lea esi, [ecx + edi*4]
push 0x1c
lea edx, [ebp - 0x64]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x50], 4
je 0x423350
lea eax, [ebp - 0x50]
push eax
push 4
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x44]
sub eax, ebx
add dword [esi], eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
xor esi, esi
jmp 0x423257
inc eax
mov dword [ebp - 0x48], eax
jmp 0x423289
mov edx, dword [ebp - 0x44]
sub edx, ebx
add dword [esi], edx
inc edi
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
xor esi, esi
jmp 0x423257
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret