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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a9099
sub esp, 0x70
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x10]
test ebx, 0x40
je 0x5a8fe0
mov ebx, dword [edx + 0x10]
test ebx, 7
je 0x5a88a5
test ebx, 0x20
je 0x5a8887
lea edi, [esp + 0x5c]
lea esi, [esp + 0x7c]
call fcn.0045b46e
nop
nop
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
je 0x5a8872
shl ebx, 1
mov ebp, ecx
shr ecx, 0x1f
or ecx, ebx
shl ebp, 1
mov ebx, ecx
shl ecx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
add ebp, 0xd7b17f80
mov dword [esp + 0x64], ebp
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
mov dword [esp + 0x68], ebx
and dword [esp + 0x5c], 0x3fffffff
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
lea edi, [esp + 0x7c]
lea esi, [esp + 0x5c]
call fcn.0045b46e
mov ebx, dword [edx + 0x10]
test ebx, 1
jne 0x5a8e22
mov ebx, dword [edx + 0x10]
test ebx, 6
jne 0x5a8ba2
mov ebx, dword [edx + 0x10]
test ebx, 0x18
je 0x5a8b99
test ebx, 0x10
je 0x5a8b86
mov ecx, dword [esp + 0x94]
lea ebx, [ecx - 1]
mov ebp, dword [esp + 0x90]
jmp 0x5a88d4
dec ebx
test ebx, ebx
jle 0x5a8b7d
cmp ebx, ecx
jae 0x5a9091
lea esi, [ebp + ebx]
cmp byte [esi], 0x2f
jne 0x5a88d3
lea eax, [ebx + 1]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
lea eax, [ebp + ecx]
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x78]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x40], ebp
lea esi, [ebx + ebp]
mov dword [esp + 0x3c], esi
mov edi, dword [ecx + 8]
mov edx, dword [ecx]
cmp esi, edi
ja 0x5a8b39
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edx
lea ecx, [edx + ebp]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0045b690
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
mov edx, dword [0x8326a0]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x40]
lea ebx, [ebp + ebx + 1]
test edx, edx
jne 0x5a8b23
mov edx, dword [esp + 0x44]
mov dword [edi], edx
cmp ebx, ecx
ja 0x5a8ad6
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov byte [edx + eax], 0x3a
mov dword [esp], edi
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.005a8660
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 4]
lea ecx, [eax + 2]
mov edx, dword [edi + 8]
mov ebx, dword [edi]
cmp ecx, edx
ja 0x5a8a97
mov word [ebx + eax], 0x203a
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5a8a8b
mov dword [edi], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
test ecx, 0x40
je 0x5a8a39
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0xc]
lea ebx, [edx + ecx]
mov dword [esp + 0x40], ebx
mov ebp, dword [edi + 8]
mov esi, dword [edi]
mov eax, dword [eax + 8]
cmp ebx, ebp
ja 0x5a8a48
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045b690
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x5a8a3d
mov eax, dword [esp + 0x44]
mov dword [edi], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x44]
call fcn.0045ace0
jmp 0x5a8a39
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x5a89fd
mov eax, ebx
call fcn.0045ace0
jmp 0x5a89d5
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea ebp, [0x633cc0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004429e0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
jmp 0x5a89b9
lea ebp, [0x633cc0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8b1c
mov dword [edi], eax
mov edx, eax
mov eax, ecx
jmp 0x5a897d
call fcn.0045ace0
jmp 0x5a8b13
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0045ace0
mov eax, edx
mov edx, dword [esp + 0x44]
jmp 0x5a8975
mov dword [esp + 0x90], eax
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.004429e0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x40]
jmp 0x5a8925
mov ebx, ecx
mov eax, ebp
jmp 0x5a88ff
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x5a88ff
mov edi, dword [esp + 0x78]
jmp 0x5a89d5
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0045b46e
call fcn.0049c360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.005a8660
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
ja 0x5a8dd5
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005a8660
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x5a8d88
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005a8660
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x5a8cd3
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 4]
lea ebp, [ebx + 1]
mov esi, dword [edx]
mov edi, dword [edx + 8]
cmp ebp, edi
ja 0x5a8c83
lea ebp, [ebx + 1]
mov dword [edx + 4], ebp
mov byte [esi + ebx], 0x20
mov edx, eax
jmp 0x5a88a5
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8ccc
mov dword [edi], eax
mov edx, edi
mov ebx, ecx
mov esi, eax
mov eax, dword [esp + 0x74]
jmp 0x5a8c72
call fcn.0045ace0
jmp 0x5a8cc0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx]
mov esi, ecx
mov ecx, dword [ecx + 8]
cmp ebx, ecx
ja 0x5a8d39
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
mov byte [ebp + edx], 0x2e
lea edi, [esp + 0x48]
mov eax, esi
lea esi, [esp + 0x7c]
call fcn.0045b46e
nop
mov ecx, dword [esp + 0x48]
mov dword [esp], eax
and ecx, 0x3fffffff
mov eax, 0x4189374c
imul ecx
sar edx, 8
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.005a8660
mov eax, dword [esp + 0x74]
jmp 0x5a8c5f
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8d81
mov dword [edi], eax
mov esi, edi
mov edx, ecx
mov ebp, eax
jmp 0x5a8ce8
call fcn.0045ace0
jmp 0x5a8d76
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8dce
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x5a8c2e
call fcn.0045ace0
jmp 0x5a8dc5
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8e1b
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x5a8bf5
call fcn.0045ace0
jmp 0x5a8e12
nop
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0045b46e
mov byte [esp + 0x14], 1
call fcn.0049d290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.005a8660
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebx, ebp
jb 0x5a8f93
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005a8660
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x5a8f46
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005a8660
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x5a8efc
lea ebp, [ecx + 1]
mov dword [eax + 4], ebp
mov byte [ebx + ecx], 0x20
mov edx, dword [esp + 0x74]
jmp 0x5a8896
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8f3f
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x5a8ee9
call fcn.0045ace0
jmp 0x5a8f39
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8f8c
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x5a8eb4
call fcn.0045ace0
jmp 0x5a8f83
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5a8fd9
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x5a8e7b
call fcn.0045ace0
jmp 0x5a8fd0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, dword [edx + 0xc]
lea ebp, [ecx + ebx]
mov dword [esp + 0x40], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
mov edx, dword [edx + 8]
cmp ebp, esi
ja 0x5a904e
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
lea eax, [edi + ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045b690
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x5a9043
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov edx, dword [esp + 0x74]
jmp 0x5a87fc
mov eax, dword [esp + 0x44]
call fcn.0045ace0
jmp 0x5a903a
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004429e0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
jmp 0x5a8ffd
mov eax, ebx
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.005a87d0