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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568518
push 0x54cc64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 4
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x545f0e
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 8
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], ebx
cmp word [ebx], 0x5a4d
je 0x545f3f
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 8
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [ebp - 0x38], eax
cmp dword [eax], 0x4550
je 0x545f6b
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 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
cmp word [eax + 0x18], 0x20b
jne 0x545f90
mov dword [ebp - 0x40], eax
mov esi, dword [eax + 0x88]
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x24], eax
jmp 0x545f9e
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x24], eax
mov esi, ecx
cmp esi, edx
jne 0x545fbe
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 8
add esi, ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], edx
mov edi, dword [ebp + 0xc]
cmp edi, 0x10000
jae 0x545fdc
mov dword [ebp - 0x34], edi
lea ecx, [edi - 1]
jmp 0x5460ef
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, edi
mov dword [ebp - 0x44], eax
cmp byte [eax], 0
je 0x546017
inc eax
mov dword [ebp - 0x44], eax
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 0x100
jb 0x545fe6
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 8
mov eax, dword [esi + 0x20]
add eax, ebx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [esi + 0x18]
jae 0x5460b6
mov esi, dword [eax]
add esi, ebx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x44], edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x546065
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 8
mov byte [ebp - 0x5c], 1
xor eax, eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x50]
jae 0x546082
movsx edx, byte [edi]
xor ecx, ecx
mov cl, byte [esi]
sub ecx, edx
je 0x546092
mov byte [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
test al, al
je 0x54609d
mov byte [ebp - 0x54], 1
mov esi, dword [ebp - 0x3c]
jmp 0x5460b6
inc esi
mov dword [ebp - 0x60], esi
inc edi
mov dword [ebp - 0x44], edi
inc eax
jmp 0x54606b
mov ecx, dword [ebp - 0x4c]
add ecx, 4
mov dword [ebp - 0x4c], ecx
inc dword [ebp - 0x34]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x3c]
mov eax, ecx
jmp 0x546026
mov al, byte [ebp - 0x54]
test al, al
jne 0x5460d9
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 8
mov eax, dword [esi + 0x24]
add eax, ebx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x34]
lea eax, [eax + edx*2]
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov cx, word [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0x1c]
add eax, ebx
mov dword [ebp - 0x28], eax
lea eax, [eax + ecx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + ebx]
cmp eax, edx
jb 0x54617a
mov edx, dword [ebp - 0x24]
add edx, ecx
add edx, ebx
cmp eax, edx
jae 0x54617a
lea edx, [ebp - 0xe4]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5d4e00
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0054b280
add esp, 8
mov dword [ebp - 0x64], eax
test eax, eax
je 0x546163
mov byte [eax], 0
inc eax
mov dword [ebp - 0x64], eax
push eax
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00545ec0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8