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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5aa8a6
sub esp, 0x68
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5aa15d
lea eax, [0x6910c0]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [0x8d9190]
test eax, eax
jne 0x5a9f2c
mov ebx, dword [esp + 0x6c]
mov dword [edi], ebx
jmp 0x5a9f37
mov eax, dword [esp + 0x6c]
call fcn.004643a0
mov ebx, eax
mov dword [esp + 0x5c], edi
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x5a9f7d
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x5a9f54
xor ecx, ecx
xor eax, eax
jmp 0x5a9fa7
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
jmp 0x5a9fa7
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x5a9fd0
cmp dword [ebp], 0x78696e75
je 0x5aa028
jmp 0x5aa050
cmp esi, 8
jne 0x5a9fe9
cmp dword [ebp], 0x78696e75
jne 0x5aa050
cmp dword [ebp + 4], 0x6d617267
je 0x5aa028
jmp 0x5aa050
cmp esi, 0xa
jne 0x5aa050
mov dword [esp], ebp
lea eax, [0x6c131c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5aa039
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
jmp 0x5aa109
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x144]
mov esi, dword [ebx + 0x140]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x5aa89c
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
je 0x5aa07a
xchg edi, eax
cmp al, 0x36
xchg edi, eax
jne 0x5aa08a
mov edi, dword [esp + 0x5c]
mov edi, esi
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x5c]
jmp 0x5aa109
cmp dword [ebx + 0x134], 2
jne 0x5aa0cf
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x725440]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044e980
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
jmp 0x5aa109
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x725444]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044e980
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x88]
mov ebx, dword [edx]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea eax, [0x7283c0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x38]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x5aa88a
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x5aa16b
xor ebp, ebp
xor esi, esi
jmp 0x5aa1e4
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x5aa878
test ebp, ebp
je 0x5aa1e4
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0049add0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5aa80d
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5aa2ad
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x5aa29b
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0059b420
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x5aa289
mov eax, dword [esp + 0x6c]
mov byte [eax + 0x13c], 1
jmp 0x5aa2d5
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0059b310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aa7fb
mov eax, dword [esp + 0x6c]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049aeb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5aa4ae
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x5aa338
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5aa31e
lea ebp, [0x6daf4c]
jmp 0x5aa375
cmp ebp, 2
jne 0x5aa32b
lea ebp, [0x6daf44]
jmp 0x5aa375
cmp ebp, 5
jne 0x5aa36f
lea ebp, [0x6daf48]
jmp 0x5aa375
cmp ebp, 2
je 0x5aa342
cmp ebp, 0x17
jne 0x5aa36f
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5aa355
lea ebp, [0x6daf3c]
jmp 0x5aa375
cmp ebp, 2
jne 0x5aa362
lea ebp, [0x6daf40]
jmp 0x5aa375
cmp ebp, 3
jne 0x5aa36f
lea ebp, [0x6daf38]
jmp 0x5aa375
lea ebp, [0x6daee8]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x64], ebp
cmp ecx, 1
jne 0x5aa3cf
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa3b5
lea ecx, [0x6daf4c]
jmp 0x5aa40c
cmp ecx, 2
jne 0x5aa3c2
lea ecx, [0x6daf44]
jmp 0x5aa40c
cmp ecx, 5
jne 0x5aa406
lea ecx, [0x6daf48]
jmp 0x5aa40c
cmp ecx, 2
je 0x5aa3d9
cmp ecx, 0x17
jne 0x5aa406
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa3ec
lea ecx, [0x6daf3c]
jmp 0x5aa40c
cmp ecx, 2
jne 0x5aa3f9
lea ecx, [0x6daf40]
jmp 0x5aa40c
cmp ecx, 3
jne 0x5aa406
lea ecx, [0x6daf38]
jmp 0x5aa40c
lea ecx, [0x6daeec]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x8d9190]
test ebx, ebx
jne 0x5aa44d
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x14c], edx
jmp 0x5aa460
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.004643a0
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x5aa478
mov dword [ebp + 0x154], eax
jmp 0x5aa483
lea edi, [ebp + 0x154]
call fcn.004643a0
lea eax, [0x6b9c20]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x6839c0]
mov dword [esp + 8], eax
lea eax, [0x6daee4]
mov dword [esp + 0xc], eax
call fcn.00415740
jmp 0x5aa7e1
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x5aa698
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x5aa51d
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5aa503
lea edx, [0x6daf4c]
jmp 0x5aa55a
cmp ebp, 2
jne 0x5aa510
lea edx, [0x6daf44]
jmp 0x5aa55a
cmp ebp, 5
jne 0x5aa554
lea edx, [0x6daf48]
jmp 0x5aa55a
cmp ebp, 2
je 0x5aa527
cmp ebp, 0x17
jne 0x5aa554
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5aa53a
lea edx, [0x6daf3c]
jmp 0x5aa55a
cmp ebp, 2
jne 0x5aa547
lea edx, [0x6daf40]
jmp 0x5aa55a
cmp ebp, 3
jne 0x5aa554
lea edx, [0x6daf38]
jmp 0x5aa55a
lea edx, [0x6daef0]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x64], ebp
cmp ecx, 1
jne 0x5aa5b9
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa59f
lea ecx, [0x6daf4c]
jmp 0x5aa5f6
cmp ecx, 2
jne 0x5aa5ac
lea ecx, [0x6daf44]
jmp 0x5aa5f6
cmp ecx, 5
jne 0x5aa5f0
lea ecx, [0x6daf48]
jmp 0x5aa5f6
cmp ecx, 2
je 0x5aa5c3
cmp ecx, 0x17
jne 0x5aa5f0
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa5d6
lea ecx, [0x6daf3c]
jmp 0x5aa5f6
cmp ecx, 2
jne 0x5aa5e3
lea ecx, [0x6daf40]
jmp 0x5aa5f6
cmp ecx, 3
jne 0x5aa5f0
lea ecx, [0x6daf38]
jmp 0x5aa5f6
lea ecx, [0x6daef4]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x8d9190]
test ebx, ebx
jne 0x5aa637
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x5aa64a
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.004643a0
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x5aa662
mov dword [ebp + 0x154], eax
jmp 0x5aa66d
lea edi, [ebp + 0x154]
call fcn.004643a0
lea eax, [0x6b9c20]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x6839c0]
mov dword [esp + 8], eax
lea eax, [0x6daee4]
mov dword [esp + 0xc], eax
call fcn.00415740
jmp 0x5aa7e1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x5aa6d4
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa6ba
lea ecx, [0x6daf4c]
jmp 0x5aa711
cmp ecx, 2
jne 0x5aa6c7
lea ecx, [0x6daf44]
jmp 0x5aa711
cmp ecx, 5
jne 0x5aa70b
lea ecx, [0x6daf48]
jmp 0x5aa711
cmp ecx, 2
je 0x5aa6de
cmp ecx, 0x17
jne 0x5aa70b
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5aa6f1
lea ecx, [0x6daf3c]
jmp 0x5aa711
cmp ecx, 2
jne 0x5aa6fe
lea ecx, [0x6daf40]
jmp 0x5aa711
cmp ecx, 3
jne 0x5aa70b
lea ecx, [0x6daf38]
jmp 0x5aa711
lea ecx, [0x6daef8]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
lea ebx, [0x692540]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.00409740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x5aa777
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0x14c], ecx
jmp 0x5aa78a
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.004643a0
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x5aa7a9
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x154], eax
jmp 0x5aa7bb
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x84]
call fcn.004643a0
lea eax, [0x6b9c20]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x6839c0]
mov dword [esp + 8], eax
lea eax, [0x6daee4]
mov dword [esp + 0xc], eax
call fcn.00415740
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x68
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], edx
lea eax, [0x698240]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6bfb4e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x5aa850
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
jmp 0x5aa860
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.004643a0
mov eax, ecx
lea ecx, [0x72749c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x68
ret
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
mov eax, edi
mov ecx, ebp
call fcn.00464420
nop
call fcn.00462f90
jmp fcn.005a9ee0