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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a3118
sub esp, 0x48
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00462799
lea edi, [esp + 0x2c]
call fcn.00462799
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jbe 0x5a2c0a
mov edx, dword [0x7f8238]
mov ebp, dword [0x7f823c]
xor ebx, ebx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x50]
jmp 0x5a2c48
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, ebp
mov ebp, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5a310e
sub edx, ebx
sub ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
cmp edx, 3
jbe 0x5a3102
mov edx, ebx
mov ebx, dword [ebp + esi]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x2c], ebx
test ebp, ebp
jne 0x5a3074
lea ebp, [edx + 4]
mov esi, ebx
mov ebx, dword [ecx + 0x2ac]
add ebx, 0xfffffffe
cmp ebx, ebp
jae 0x5a2c78
mov ebx, dword [0x7f8238]
mov ebp, dword [0x7f823c]
mov edi, edx
xor edx, edx
jmp 0x5a2cbf
mov ebx, dword [ecx + 0x28c]
mov edi, edx
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
jb 0x5a30f9
sub edx, edi
sub ebx, edi
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [ebx - 4]
cmp edx, 1
jbe 0x5a30ed
mov edx, dword [esp + 0x28]
movzx edx, word [ebp + edx]
xor ebx, ebx
xor ebp, ebp
mov word [esp + 0x30], dx
test ebx, ebx
jne 0x5a3056
mov word [esp + 0x1e], dx
lea ebx, [edi + 6]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebp, ebx
jae 0x5a2cf8
mov ebx, dword [0x7f8238]
mov ebp, dword [0x7f823c]
xor eax, eax
mov word [esp + 0x1c], ax
xor eax, eax
jmp 0x5a2d46
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a30e4
sub ebp, edi
sub edx, edi
add edx, 0xfffffffa
neg edx
sar edx, 0x1f
and ebx, edx
lea edx, [ebp - 6]
cmp edx, 1
jbe 0x5a30d8
mov edx, dword [esp + 0x28]
movzx edx, word [ebx + edx]
mov word [esp + 0x1c], dx
xor ebx, ebx
xor ebp, ebp
movzx edx, word [esp + 0x1e]
mov dword [esp + 0x24], ebp
movzx ebp, word [esp + 0x1c]
mov word [esp + 0x32], bp
test ebx, ebx
jne 0x5a302f
lea ebx, [edi + 8]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffc
cmp ebp, ebx
jae 0x5a2d82
mov ebx, dword [0x7f8238]
mov ebp, dword [0x7f823c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5a2dce
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a30cf
sub edx, edi
sub ebp, edi
add edx, 0xfffffff8
neg edx
sar edx, 0x1f
and ebx, edx
lea edx, [ebp - 8]
cmp edx, 3
jbe 0x5a30c3
mov edx, dword [esp + 0x28]
mov edx, dword [ebx + edx]
xor ebx, ebx
mov dword [esp + 0x20], edx
xor ebp, ebp
movzx edx, word [esp + 0x1e]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x34], ebp
test ebx, ebx
jne 0x5a2fff
lea eax, [edi + 0xc]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp edx, eax
jae 0x5a2e02
mov eax, dword [0x7f8238]
mov edx, dword [0x7f823c]
xor ebx, ebx
jmp 0x5a2e41
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5a30bc
sub ebp, edi
sub edx, edi
add ebp, 0xfffffff4
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add edx, 0xfffffff4
cmp edx, 3
jbe 0x5a30b0
mov ebx, dword [eax + ebx]
xor eax, eax
xor edx, edx
mov dword [esp + 0x38], ebx
test eax, eax
jne 0x5a2fe6
mov dword [esp], ecx
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.005b2080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
test edx, edx
jne 0x5a2fcd
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov eax, ebx
add ebx, ebp
mov ecx, ebx
lea ebx, [ebp + eax + 0x10]
mov edx, ebp
lea ebp, [ebp + eax + 0x11]
mov esi, ebx
mov ebx, dword [esp + 0x4c]
cmp dword [ebx + 0x2ac], ebp
jae 0x5a2ebc
mov ebp, dword [0x7f8238]
mov esi, ebx
mov ebx, dword [0x7f823c]
xor edi, edi
jmp 0x5a2efe
mov edi, ebp
mov ebp, dword [ebx + 0x290]
mov ebx, dword [ebx + 0x288]
cmp ebp, edi
jb 0x5a30a7
cmp edi, esi
jb 0x5a309e
sub ebp, ecx
mov edi, edx
lea edx, [ebp - 0x10]
neg edx
sar edx, 0x1f
and esi, edx
movzx edx, byte [ebx + esi]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
xor ebx, ebx
mov esi, edx
mov edx, edi
mov edi, esi
mov esi, dword [esp + 0x4c]
xchg edi, eax
mov byte [esp + 0x44], al
xchg edi, eax
test ebp, ebp
jne 0x5a2fb4
lea eax, [edx + eax + 0x12]
mov edx, dword [esi + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5a2f2d
mov eax, dword [0x7f8238]
mov ecx, dword [0x7f823c]
xor edx, edx
jmp 0x5a2f6d
mov edx, dword [esi + 0x28c]
mov ebx, dword [esi + 0x288]
mov ebp, dword [esi + 0x290]
cmp edx, eax
jb 0x5a3097
sub ebp, ecx
sub edx, ecx
add ebp, 0xffffffee
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
lea ecx, [edx - 0x12]
cmp ecx, 1
jbe 0x5a308d
movzx edx, word [eax + ebx]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov word [esp + 0x46], dx
test eax, eax
je 0x5a2f97
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.00462c6a
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.00462c6a
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.00462c6a
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.00462c6a
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.00462c6a
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.00462799
mov dword [esp + 0x58], esi
mov word [esp + 0x5c], dx
movzx ecx, word [esp + 0x1c]
mov word [esp + 0x5e], cx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.00462799
mov dword [esp + 0x58], esi
mov word [esp + 0x5c], dx
mov word [esp + 0x5e], bp
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.00462799
mov dword [esp + 0x58], esi
mov word [esp + 0x5c], dx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.00462799
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x48
ret
mov eax, 1
call fcn.00462580
mov ecx, edx
call fcn.004625f0
mov eax, esi
mov ecx, edi
call fcn.004625f0
mov ecx, edi
mov edx, ebp
call fcn.004625d0
mov eax, 3
mov ecx, edx
call fcn.00462580
mov ecx, edx
call fcn.004625f0
mov eax, 3
mov ecx, edx
call fcn.00462580
mov eax, ebx
mov ecx, ebp
call fcn.004625f0
mov eax, 1
mov ecx, edx
call fcn.00462580
mov eax, ebx
mov ecx, ebp
call fcn.004625f0
mov eax, 1
mov ecx, edx
call fcn.00462580
mov eax, ebp
mov ecx, ebx
call fcn.004625f0
mov eax, 3
mov ecx, edx
call fcn.00462580
mov eax, ebx
mov ecx, edx
call fcn.004625f0
nop
call fcn.004610f0
jmp fcn.005a2bb0