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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572560
push 0x556ed4
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 0x55018e
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 0x5501bf
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 0x5501eb
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 0x550210
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 0x55021e
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 0x55023e
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 0x55025c
mov dword [ebp - 0x34], edi
lea ecx, [edi - 1]
jmp 0x55036f
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, edi
mov dword [ebp - 0x44], eax
cmp byte [eax], 0
je 0x550297
inc eax
mov dword [ebp - 0x44], eax
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 0x100
jb 0x550266
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 0x550336
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 0x5502e5
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 0x550302
movsx edx, byte [edi]
xor ecx, ecx
mov cl, byte [esi]
sub ecx, edx
je 0x550312
mov byte [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
test al, al
je 0x55031d
mov byte [ebp - 0x54], 1
mov esi, dword [ebp - 0x3c]
jmp 0x550336
inc esi
mov dword [ebp - 0x60], esi
inc edi
mov dword [ebp - 0x44], edi
inc eax
jmp 0x5502eb
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 0x5502a6
mov al, byte [ebp - 0x54]
test al, al
jne 0x550359
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 0x5503fa
mov edx, dword [ebp - 0x24]
add edx, ecx
add edx, ebx
cmp eax, edx
jae 0x5503fa
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 0x5e0e50
lea ecx, [ebp - 0xe4]
push ecx
call fcn.005554a2
add esp, 8
mov dword [ebp - 0x64], eax
test eax, eax
je 0x5503e3
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.00550140
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