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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x5a5363
sub esp, 0xd4
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax]
mov edx, dword [eax + 0x38]
test edx, edx
je 0x5a5346
mov dword [esp + 0x64], ecx
lea eax, [0x671f00]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x38]
mov edi, dword [esp + 4]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x2c]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a4e01
mov dword [edi], edx
jmp 0x5a4e0c
mov ecx, eax
mov eax, edx
call fcn.0045f750
mov eax, ecx
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ebx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a4e2d
mov dword [edi + 0xc], edx
jmp 0x5a4e41
lea ecx, [edi + 0xc]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.0045f750
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0x24]
mov word [edi + 0x18], dx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [edi + 0x1c], ebx
mov ebx, dword [0x887d70]
test ebx, ebx
jne 0x5a4e65
mov dword [edi + 0x20], edx
jmp 0x5a4e75
lea ebx, [edi + 0x20]
mov ebp, edi
mov edi, ebx
mov eax, edx
call fcn.0045f750
mov edi, ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.005a20c0
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5a5331
mov dword [esp + 0x60], esi
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045f9dd
lea edi, [esp + 0x94]
call fcn.0045fe6a
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
movzx edx, byte [edx + 0xd]
test dl, dl
je 0x5a4ed7
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x30]
test ebx, ebx
setne bl
jmp 0x5a4edd
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov byte [esp + 0xd1], bl
mov ebx, dword [ecx + 0x38]
movzx ebx, byte [ebx + 0xc]
test bl, bl
je 0x5a4ef9
mov ebx, dword [edx + 0x24]
test ebx, ebx
setne bl
jmp 0x5a4efb
xor ebx, ebx
mov byte [esp + 0xd0], bl
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005b4f10
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005b4f10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00599460
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x5a531c
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
test edx, edx
je 0x5a52ff
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045f9e9
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x64]
movzx ebp, word [ebx + 0x24]
mov esi, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov word [esp], bp
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005913a0
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov word [esp + 0x7a], cx
test edx, edx
jne 0x5a52c9
mov word [esp], cx
call fcn.00590aa0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 4]
test ecx, ecx
jne 0x5a529b
mov dword [esp + 0x48], eax
mov byte [esp + 0x37], dl
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov dword [esp], eax
lea ebp, [0x698734]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00590860
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call fcn.00408d20
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
je 0x5a5076
lea ecx, [0x6f6930]
jmp 0x5a509b
lea eax, [0x667880]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
lea ecx, [0x6f64a8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x68], edx
lea ebp, [0x6631c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004090c0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test ebx, ebx
jne 0x5a50e3
mov ebx, dword [0x860258]
mov ecx, dword [0x86025c]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x5a51f1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x697533]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b950
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x662400]
mov dword [esp], edx
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x887d70]
test eax, eax
jne 0x5a51cd
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x5a51d6
mov eax, dword [esp + 0x50]
call fcn.0045f750
lea eax, [0x6f6584]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edi
add esp, 0xd4
ret
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], edx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005b7dd0
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
call ecx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005b7dd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00599460
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5a527e
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xd4
ret
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.00598880
mov eax, dword [esp + 0x68]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe0], eax
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
call fcn.0045e340
jmp fcn.005a4d90