Function at 0x4a5760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b1f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
xor eax, eax
push esi
mov dword [esp + 0x3c], eax
push edi
mov dword [esp + 0x44], eax
xor edi, edi
mov dword [esp + 0x48], eax
mov eax, dword [0x586200]
xor esi, esi
cmp eax, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x3c], edi
je 0x4a59e4
lea ecx, [esp + 0xc]
push ecx
push 0x4cb1d8
push 0x4cb1c8
call eax
test eax, eax
jl 0x4a59e4
mov eax, dword [esp + 0xc]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, edi
jl 0x4a59da
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], 0x10
mov word [esp + 0x44], 0x4d
mov dword [esp + 0x48], 0x545d2c
mov eax, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x4a59d0
push ebx
push ebp
push edi
add ecx, 0x1c
call fcn.004a6d8c
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x4a59b4
push 0x5861e0
call dword [0x4b211c]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0x1c]
add eax, 0xc
mov dword [esp + 0x54], edx
push ecx
lea ecx, [esp + 0x68]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
call fcn.004a6e10
mov ebx, dword [0x5861f8]
mov edx, dword [0x545ea4]
mov dword [esp + 0x70], edi
mov eax, dword [ebx + 4]
mov esi, eax
mov ebp, dword [eax + 4]
mov dword [esp + 0x1c], esi
cmp ebp, edx
mov al, 1
je 0x4a58b0
mov ecx, 0x10
lea edi, [ebp + 0xc]
lea esi, [esp + 0x54]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x1c], ebp
je 0x4a5897
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setl al
test al, al
je 0x4a58a5
mov ebp, dword [ebp]
jmp 0x4a58a8
mov ebp, dword [ebp + 8]
cmp ebp, edx
jne 0x4a587c
mov esi, dword [esp + 0x1c]
mov cl, byte [ebx + 8]
test cl, cl
je 0x4a58d9
lea ecx, [esp + 0x12]
lea edx, [esp + 0x54]
push ecx
push edx
push esi
lea eax, [esp + 0x30]
push ebp
push eax
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.00410bb0
jmp 0x4a5974
test al, al
mov dword [esp + 0x18], esi
je 0x4a5924
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.0040edc0
mov edx, dword [esp + 0x18]
mov edi, dword [eax]
cmp edx, edi
sete al
test al, al
je 0x4a591b
lea eax, [esp + 0x12]
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
lea edx, [esp + 0x38]
push ebp
push edx
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.00410bb0
jmp 0x4a5974
lea ecx, [esp + 0x18]
call fcn.004112c0
mov eax, dword [esp + 0x18]
mov ecx, 0x10
lea edi, [esp + 0x54]
lea esi, [eax + 0xc]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4a593f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x4a5966
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x12]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.00410bb0
jmp 0x4a5974
lea edx, [esp + 0x13]
mov byte [esp + 0x13], 0
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004a6010
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.004a6010
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], 0xffffffff
call fcn.004a6c6c
push 0x5861e0
call dword [0x4b20c8]
mov esi, 1
xor edi, edi
lea ecx, [esp + 0x20]
call fcn.00410f20
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jne 0x4a57fb
pop ebp
pop ebx
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret