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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
call fcn.000233d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jbe 0x23853
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x23853
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, 0xf8
cmp dword [ebp - 4], ecx
jbe 0x23853
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x1000
mov eax, dword [ebp - 0xc]
push eax
call fcn.00023330
movzx ecx, al
test ecx, ecx
je 0x23853
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
jne 0x23853
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x235f8
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x23853
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x23612
mov eax, dword [ebp - 8]
add eax, 0x78
mov dword [ebp - 0x38], eax
jmp 0x2361e
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 4]
jae 0x23853
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jae 0x23853
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jae 0x23853
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
push edx
call fcn.00023330
movzx eax, al
test eax, eax
je 0x23853
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 0x100000
jae 0x23853
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0x100000
jae 0x23853
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x1c], 0
jbe 0x23853
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 4]
jae 0x23853
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
lea edx, [ecx + edx*4]
cmp edx, dword [ebp - 4]
jae 0x23853
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x24], 0
jbe 0x23853
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x24]
cmp edx, dword [ebp - 4]
jae 0x23853
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
lea ecx, [eax + ecx*2]
cmp ecx, dword [ebp - 4]
jae 0x23853
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x20], 0
jbe 0x23853
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [ebp - 4]
jae 0x23853
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x20]
lea eax, [edx + eax*4]
cmp eax, dword [ebp - 4]
jae 0x23853
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
inc edx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax]
mov byte [ebp - 0x41], cl
inc dword [ebp - 0x3c]
cmp byte [ebp - 0x41], 0
jne 0x2376d
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
jmp 0x237a2
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x23853
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 0x14]
jae 0x2384e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebp - 0x1c]
jb 0x237f4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + eax*4], ecx
jb 0x2384e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4], 0
jbe 0x2384e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp - 4]
jae 0x2384e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 4]
jae 0x2384e
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
add esi, dword [eax + edx*4]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x2384e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x23855
jmp 0x23799
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8