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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a82bd
sub esp, 0x4c
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
call fcn.005a6760
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5a7f47
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0xc]
movzx ebx, byte [edx + 0x2a]
test bl, bl
jne 0x5a7efe
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
jne 0x5a7d98
movzx edx, byte [edx + 0x2d]
test dl, dl
je 0x5a7d98
mov byte [ebx + 0x78], 1
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0x34]
test edx, edx
je 0x5a7d98
mov dword [esp], ebx
mov byte [esp + 4], 0x28
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x6851cb]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov edx, dword [ebx + 0x2c]
test edx, edx
jle 0x5a7e8c
movzx edx, byte [ebx + 0x78]
test dl, dl
je 0x5a7e8c
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0045f0ba
lea ecx, [ebx + 0xa5]
lea edx, [esp + 0x20]
cmp edx, ecx
je 0x5a7de4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.0045f7b0
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x44]
lea eax, [ebx + 0xb1]
lea ecx, [esp + 0x2c]
cmp ecx, eax
je 0x5a7e0e
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.0045f7b0
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov ebp, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
cmp ebp, 0x18
jne 0x5a7e47
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a7e43
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
jmp 0x5a7e8c
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov byte [esp + 4], 0x28
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x682c21]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov edx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
mov esi, dword [edx + 0xa0]
mov edx, dword [edx + 0x9c]
mov eax, ebx
mov ebx, dword [ebp + 0x40]
mov ebp, dword [ebp + 0x3c]
test ebx, ebx
je 0x5a7ef8
test esi, esi
je 0x5a7ec5
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], edx
xor edi, edi
jmp 0x5a8235
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x68358e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
lea edx, [0x6d2f90]
mov ebx, eax
mov eax, dword [esp + 0x44]
jmp 0x5a7f58
xor edx, edx
xor ebx, ebx
jmp 0x5a7f58
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x683c69]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
test edx, edx
jne 0x5a81fe
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x3c]
mov edx, dword [edx + 0x40]
mov dword [eax + 0xc4], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a7f81
mov dword [eax + 0xc0], ebx
jmp 0x5a7f92
lea edi, [eax + 0xc0]
mov edx, eax
mov eax, ebx
call fcn.0045efc0
mov eax, edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov edx, dword [edx + 0x4c]
mov dword [eax + 0x44], ebp
mov dword [eax + 0x48], edx
lea edi, [eax + 0x40]
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a7fb6
mov dword [eax + 0x40], ebx
jmp 0x5a7fc1
mov edx, eax
mov eax, ebx
call fcn.0045efc0
mov eax, edx
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x5a8013
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 0x1c]
mov edx, dword [edx + 0x20]
test ebx, ebx
je 0x5a800f
mov ebp, dword [ecx + 0xc]
mov esi, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x1c]
cmp esi, edx
je 0x5a7fe6
xor edx, edx
jmp 0x5a8015
mov dword [esp + 0x48], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x44]
jmp 0x5a8015
xor edx, edx
jmp 0x5a8015
xor edx, edx
test dl, dl
je 0x5a81e5
mov edx, dword [ecx + 0x58]
movzx ebx, word [edx + 0xc]
cmp word [eax + 0x24], bx
jne 0x5a81a0
mov ebx, dword [ecx + 0x14]
movzx ebp, word [edx + 0xe]
cmp word [ebx], bp
jne 0x5a815b
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [ecx + 0x50], ebp
mov dword [ecx + 0x54], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a805c
mov dword [ecx + 0x4c], ebx
jmp 0x5a8070
lea edx, [ecx + 0x4c]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045efc0
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [eax + 0x50], ebp
mov dword [eax + 0x54], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a8091
mov dword [eax + 0x4c], ebx
jmp 0x5a80a5
lea edx, [eax + 0x4c]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045efc0
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x28]
mov ebp, dword [edx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a80c6
mov dword [eax + 0x64], ebx
jmp 0x5a80da
lea edx, [eax + 0x64]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045efc0
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x48]
mov ebp, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a80fb
mov dword [eax + 0x34], ebx
jmp 0x5a810f
lea edx, [eax + 0x34]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045efc0
mov eax, esi
mov edi, ebp
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x5a8142
mov ecx, dword [ecx + 0x58]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x5c]
test edx, edx
je 0x5a8142
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5a813b
mov dword [eax + 0x40], ebx
jmp 0x5a8142
mov eax, ebx
call fcn.0045efc0
mov byte [esp + 0x54], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x684f3a]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6844ac]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x6d2f90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], ebx
mov dword [esp], eax
mov byte [esp + 4], 0x6e
call fcn.0059fed0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
inc edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp edi, esi
jge 0x5a8289
lea eax, [edx + edi*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, ebx
jne 0x5a822c
mov dword [esp + 0x1c], edi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a8278
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x5a822c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
xor edx, edx
xor ebx, ebx
jmp 0x5a7f58
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov ebx, dword [esp + 4]
mov dword [ebx + 4], 0x2f
lea eax, [0x682cae]
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
lea edx, [0x6d2f90]
jmp 0x5a7f58
call fcn.0045dbb0
jmp fcn.005a7ce0