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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a20c8
sub esp, 0x48
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045ebb9
lea edi, [esp + 0x2c]
call fcn.0045ebb9
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jbe 0x5a1bba
mov edx, dword [0x8256f8]
mov ebp, dword [0x8256fc]
xor ebx, ebx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x50]
jmp 0x5a1bf8
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, ebp
mov ebp, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5a20be
sub edx, ebx
sub ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
cmp edx, 3
jbe 0x5a20b2
mov edx, ebx
mov ebx, dword [ebp + esi]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x2c], ebx
test ebp, ebp
jne 0x5a2024
lea ebp, [edx + 4]
mov esi, ebx
mov ebx, dword [ecx + 0x2ac]
add ebx, 0xfffffffe
cmp ebx, ebp
jae 0x5a1c28
mov ebx, dword [0x8256f8]
mov ebp, dword [0x8256fc]
mov edi, edx
xor edx, edx
jmp 0x5a1c6f
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 0x5a20a9
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 0x5a209d
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 0x5a2006
mov word [esp + 0x1e], dx
lea ebx, [edi + 6]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebp, ebx
jae 0x5a1ca8
mov ebx, dword [0x8256f8]
mov ebp, dword [0x8256fc]
xor eax, eax
mov word [esp + 0x1c], ax
xor eax, eax
jmp 0x5a1cf6
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a2094
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 0x5a2088
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 0x5a1fdf
lea ebx, [edi + 8]
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffc
cmp ebp, ebx
jae 0x5a1d32
mov ebx, dword [0x8256f8]
mov ebp, dword [0x8256fc]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5a1d7e
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x290]
cmp ebp, ebx
jb 0x5a207f
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 0x5a2073
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 0x5a1faf
lea eax, [edi + 0xc]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp edx, eax
jae 0x5a1db2
mov eax, dword [0x8256f8]
mov edx, dword [0x8256fc]
xor ebx, ebx
jmp 0x5a1df1
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5a206c
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 0x5a2060
mov ebx, dword [eax + ebx]
xor eax, eax
xor edx, edx
mov dword [esp + 0x38], ebx
test eax, eax
jne 0x5a1f96
mov dword [esp], ecx
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.005b0c70
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 0x5a1f7d
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 0x5a1e6c
mov ebp, dword [0x8256f8]
mov esi, ebx
mov ebx, dword [0x8256fc]
xor edi, edi
jmp 0x5a1eae
mov edi, ebp
mov ebp, dword [ebx + 0x290]
mov ebx, dword [ebx + 0x288]
cmp ebp, edi
jb 0x5a2057
cmp edi, esi
jb 0x5a204e
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 0x5a1f64
lea eax, [edx + eax + 0x12]
mov edx, dword [esi + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5a1edd
mov eax, dword [0x8256f8]
mov ecx, dword [0x8256fc]
xor edx, edx
jmp 0x5a1f1d
mov edx, dword [esi + 0x28c]
mov ebx, dword [esi + 0x288]
mov ebp, dword [esi + 0x290]
cmp edx, eax
jb 0x5a2047
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 0x5a203d
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 0x5a1f47
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f08a
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.0045f08a
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.0045f08a
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f08a
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
add esp, 0x48
ret
lea edi, [esp + 0x58]
lea esi, [esp + 0x2c]
call fcn.0045f08a
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x48
ret
lea edi, [esp + 0x58]
call fcn.0045ebb9
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.0045ebb9
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.0045ebb9
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.0045ebb9
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x48
ret
mov eax, 1
call fcn.0045e9c0
mov ecx, edx
call fcn.0045ea30
mov eax, esi
mov ecx, edi
call fcn.0045ea30
mov ecx, edi
mov edx, ebp
call fcn.0045ea10
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov ecx, edx
call fcn.0045ea30
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea30
mov eax, 1
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea30
mov eax, 1
mov ecx, edx
call fcn.0045e9c0
mov eax, ebp
mov ecx, ebx
call fcn.0045ea30
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, edx
call fcn.0045ea30
nop
call fcn.0045d530
jmp fcn.005a1b60