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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x5a3512
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov esi, dword [eax + 0x48]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x654f80]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xb8]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.005ad4c0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
movzx edx, word [ecx + 0x80]
test dx, dx
jne 0x5a2c49
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x5a2c49
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x69ef84]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov ebx, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
test ebx, ebx
je 0x5a2c88
mov esi, dword [eax + 0x10]
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xc0], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a2c77
mov dword [esi + 0xb8], ebx
jmp 0x5a2c88
lea edi, [esi + 0xb8]
mov ecx, eax
mov eax, ebx
call fcn.0045f750
mov eax, ecx
mov ecx, dword [eax + 0xc]
movzx ebx, word [ecx + 0x54]
test bx, bx
jne 0x5a2cb0
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x5a2cfd
mov edx, dword [eax + 0x10]
mov ebx, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
xor ebp, ebp
jmp 0x5a3288
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x69bd4a]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov edi, dword [eax + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a2d20
mov dword [edi], 0
jmp 0x5a2d2b
mov ecx, eax
xor eax, eax
call fcn.0045f750
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx + 0xe4]
test ebx, ebx
je 0x5a2d52
mov ebx, dword [eax + 0x1c]
movzx ebx, word [ebx + 0xe]
mov ebp, dword [0x85af50]
mov esi, dword [0x85af54]
xor edx, edx
jmp 0x5a2f48
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005a6230
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005a6230
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
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 0x5a2f30
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00599590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
test eax, eax
jne 0x5a2f1b
lea ecx, [0x664a20]
cmp ebp, ecx
je 0x5a2dfc
mov ebx, 0
jne 0x5a2e71
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a2e14
mov eax, dword [esp + 0xb8]
mov dword [eax + 0xc], ebx
jmp 0x5a2e27
mov ecx, dword [esp + 0xb8]
lea edi, [ecx + 0xc]
mov eax, ebx
call fcn.0045f750
mov eax, ecx
mov dword [esp], eax
call fcn.005a26a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5a2e54
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xb4
ret
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00598880
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x664a20]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
lea eax, [0x6a02c1]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c11e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
inc edx
mov ecx, edi
cmp edx, esi
jge 0x5a2f59
mov edi, ecx
mov ecx, dword [ebp + edx*4]
cmp word [ecx], bx
jne 0x5a2f45
jmp 0x5a2f5d
mov edi, ecx
xor ecx, ecx
test ecx, ecx
je 0x5a3250
mov ebx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
cmp dword [ebx + 0xc], ecx
jne 0x5a31cf
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x28]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5a2f88
lea ebx, [0x6a757c]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0xa0]
lea esi, [esp]
call fcn.0045fece
lea edi, [esp + 0x78]
lea esi, [esp + 0xa0]
call fcn.0045fece
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x1c]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x8c]
call fcn.0045fece
lea edi, [esp]
lea esi, [esp + 0x78]
call fcn.0045fece
lea edi, [esp + 0x14]
lea esi, [esp + 0x8c]
call fcn.0045fece
call fcn.004af940
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00459dc0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe0]
add ebp, dword [ebx + 0x80]
test esi, esi
jbe 0x5a327e
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.004e6310
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
lea ebx, [0x654f80]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.005ad4c0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005ab4f0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
call fcn.005ba4c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x654500]
mov dword [esp], ebx
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0x887d70]
test eax, eax
jne 0x5a3194
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5a319d
mov eax, dword [esp + 0x60]
call fcn.0045f750
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005ab580
mov eax, dword [esp + 0xb8]
jmp 0x5a2d52
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a31f9
mov dword [edi + 0xe0], 0
jmp 0x5a320a
add edi, 0xe0
mov ecx, eax
xor eax, eax
call fcn.0045f750
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0xf0], 0
mov dword [ecx + 0xf4], 0
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a323a
mov dword [ecx + 0xec], 0
jmp 0x5a2d52
lea edi, [ecx + 0xec]
mov ecx, eax
xor eax, eax
call fcn.0045f750
mov eax, ecx
jmp 0x5a2d52
mov eax, dword [esp + 0x5c]
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 + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
xor eax, eax
mov ecx, esi
call fcn.0045f7d0
inc ebp
cmp ebp, edx
jge 0x5a34c5
lea esi, [ebx + ebp*2]
cmp word [esi], cx
jne 0x5a3287
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x5a3478
mov word [esp], ax
call fcn.005bac40
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x5a3325
test al, al
jne 0x5a3325
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x69d3a0]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x28]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
jne 0x5a3341
mov ebx, dword [0x860258]
mov edx, dword [0x86025c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.005ba8e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x5a3442
mov ecx, dword [esp + 0xb8]
mov dword [ecx + 0x14], ebx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5a338b
mov dword [ecx + 0x18], ebp
jmp 0x5a3395
lea edi, [ecx + 0x18]
mov eax, ebp
call fcn.0045f750
mov eax, dword [esi + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
lea ebx, [0x6545c0]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5a33f0
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
jmp 0x5a3400
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045f750
mov eax, ecx
mov ecx, dword [esp + 0xb8]
mov ebx, dword [ecx + 0x10]
mov dword [ebx + 0xc8], 1
mov dword [ebx + 0xcc], 1
mov ebp, dword [0x887d70]
test ebp, ebp
jne 0x5a3430
mov dword [ebx + 0xc4], eax
jmp 0x5a343b
lea edi, [ebx + 0xc4]
call fcn.0045f750
mov eax, ecx
jmp 0x5a2cfd
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00598880
mov eax, dword [esp + 0x64]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x69f243]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00598880
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x69a4ec]
mov dword [eax], ecx
lea ecx, [0x6f6584]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
call fcn.0045e340
jmp fcn.005a2ac0