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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a9a38
sub esp, 0x48
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045f239
lea edi, [esp + 0x2c]
call fcn.0045f239
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jbe 0x5a952a
mov edx, dword [0x8ad878]
mov ebp, dword [0x8ad87c]
xor ebx, ebx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x50]
jmp 0x5a9568
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, ebp
mov ebp, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5a9a2e
sub edx, ebx
sub ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
cmp edx, 3
jbe 0x5a9a22
mov edx, ebx
mov ebx, dword [ebp + esi]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x2c], ebx
test ebp, ebp
jne 0x5a9994
lea ebp, [edx + 4]
mov esi, ebx
mov ebx, dword [ecx + 0x2ac]
add ebx, 0xfffffffe
cmp ebx, ebp
jae 0x5a9598
mov ebx, dword [0x8ad878]
mov ebp, dword [0x8ad87c]
mov edi, edx
xor edx, edx
jmp 0x5a95df
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 0x5a9a19
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 0x5a9a0d
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 0x5a9976
mov word [esp + 0x1e], dx
lea ebx, [edi + 6]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebp, ebx
jae 0x5a9618
mov ebx, dword [0x8ad878]
mov ebp, dword [0x8ad87c]
xor eax, eax
mov word [esp + 0x1c], ax
xor eax, eax
jmp 0x5a9666
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a9a04
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 0x5a99f8
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 0x5a994f
lea ebx, [edi + 8]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffc
cmp ebp, ebx
jae 0x5a96a2
mov ebx, dword [0x8ad878]
mov ebp, dword [0x8ad87c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5a96ee
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a99ef
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 0x5a99e3
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 0x5a991f
lea eax, [edi + 0xc]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp edx, eax
jae 0x5a9722
mov eax, dword [0x8ad878]
mov edx, dword [0x8ad87c]
xor ebx, ebx
jmp 0x5a9761
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5a99dc
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 0x5a99d0
mov ebx, dword [eax + ebx]
xor eax, eax
xor edx, edx
mov dword [esp + 0x38], ebx
test eax, eax
jne 0x5a9906
mov dword [esp], ecx
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.005b85e0
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 0x5a98ed
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 0x5a97dc
mov ebp, dword [0x8ad878]
mov esi, ebx
mov ebx, dword [0x8ad87c]
xor edi, edi
jmp 0x5a981e
mov edi, ebp
mov ebp, dword [ebx + 0x290]
mov ebx, dword [ebx + 0x288]
cmp ebp, edi
jb 0x5a99c7
cmp edi, esi
jb 0x5a99be
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 0x5a98d4
lea eax, [edx + eax + 0x12]
mov edx, dword [esi + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5a984d
mov eax, dword [0x8ad878]
mov ecx, dword [0x8ad87c]
xor edx, edx
jmp 0x5a988d
mov edx, dword [esi + 0x28c]
mov ebx, dword [esi + 0x288]
mov ebp, dword [esi + 0x290]
cmp edx, eax
jb 0x5a99b7
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 0x5a99ad
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 0x5a98b7
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f70a
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.0045f70a
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.0045f70a
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f70a
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f70a
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.0045f239
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.0045f239
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.0045f239
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.0045f239
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x48
ret
mov eax, 1
call fcn.0045f030
mov ecx, edx
call fcn.0045f0a0
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov ecx, edi
mov edx, ebp
call fcn.0045f080
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov ecx, edx
call fcn.0045f0a0
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov eax, ebx
mov ecx, ebp
call fcn.0045f0a0
mov eax, 1
mov ecx, edx
call fcn.0045f030
mov eax, ebx
mov ecx, ebp
call fcn.0045f0a0
mov eax, 1
mov ecx, edx
call fcn.0045f030
mov eax, ebp
mov ecx, ebx
call fcn.0045f0a0
mov eax, 3
mov ecx, edx
call fcn.0045f030
mov eax, ebx
mov ecx, edx
call fcn.0045f0a0
nop
call fcn.0045dba0
jmp fcn.005a94d0