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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x5a2435
sub esp, 0xe4
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.0059b390
mov eax, dword [esp + 4]
test eax, eax
je 0x5a1af8
mov edx, dword [esp + 0xe8]
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5a1b1e
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ebp
mov edi, ebp
mov ebp, dword [eax]
cmp ebp, 3
je 0x5a1bec
mov dword [esp + 0x4c], ecx
cmp ebp, 4
jne 0x5a1ca7
mov ebp, edi
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.00463a8a
mov ecx, dword [esp + 0x50]
mov edi, ebp
mov ebp, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], edx
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebp
mov edx, edi
lea edi, [esp + 0xb4]
mov ebx, esi
lea esi, [esp + 0xcc]
call fcn.00463f64
mov ecx, dword [esp + 0x50]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x48], ebp
mov esi, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x40], ecx
mov edi, ebx
mov ebx, dword [esp + 0xe8]
mov ecx, dword [ebx + 0x140]
mov dword [esp + 0x3c], ecx
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
jmp 0x5a2093
test ecx, ecx
jne 0x5a1d0a
cmp byte [eax + 0x45], 1
jne 0x5a1cb8
cmp byte [eax + 0x46], 1
jne 0x5a1cb8
lea eax, [0x5fb900]
mov dword [esp], eax
call fcn.0040bdb0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x50]
movzx edx, byte [eax + 0x45]
mov byte [ecx], dl
movzx eax, byte [eax + 0x46]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
nop
mov ebp, dword [esp + 0xe8]
mov byte [ebp + 0xf8], 0
inc dword [ebp + 0xf4]
mov esi, dword [ebp + 0xe8]
mov edi, dword [ebp + 0xe4]
mov edx, dword [ebp + 0xf0]
cmp esi, edx
jbe 0x5a1d6b
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ecx
lea eax, [edx + edx*8]
lea eax, [edi + eax*8]
cmp dword [eax], 2
sete al
mov byte [ebp + 0xdd], al
inc dword [ebp + 0xf0]
mov dword [esp], ebp
call fcn.0059b390
mov eax, dword [esp + 4]
test eax, eax
jne 0x5a1b07
jmp 0x5a1d5c
mov ebp, dword [0x7b75cc]
mov dword [esp + 0x48], ebp
xor eax, eax
jmp 0x5a1d90
nop
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov dword [edx], 4
mov dword [edx + 8], 0x20
mov esi, dword [0x7e34c0]
test esi, esi
jne 0x5a1ce4
lea eax, [0x627b96]
mov dword [edx + 4], eax
jmp 0x5a1cf2
lea edi, [edx + 4]
lea eax, [0x627b96]
call fcn.00463860
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
nop
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov dword [edx], 4
mov dword [edx + 8], 0x1f
mov esi, dword [0x7e34c0]
test esi, esi
jne 0x5a1d36
lea eax, [0x627596]
mov dword [edx + 4], eax
jmp 0x5a1d44
lea edi, [edx + 4]
lea eax, [0x627596]
call fcn.00463860
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov eax, edx
mov ecx, esi
call fcn.004638e0
inc eax
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
cmp eax, ebp
jge 0x5a1f82
mov ebx, dword [0x7b75cc]
mov ebp, dword [0x7b75c8]
cmp eax, ebx
jae 0x5a2074
mov dword [esp + 0x30], eax
lea ebx, [eax + eax*2]
lea ebx, [ebp + ebx*8]
mov ebp, edi
lea edi, [esp + 0x9c]
mov esi, ebx
call fcn.00463f64
mov ecx, dword [edx + 0x140]
mov dword [esp + 0x44], ecx
xor ebx, ebx
jmp 0x5a1fef
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x44], eax
lea ecx, [0x5f0f80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x40], ecx
lea edx, [0x5f0f80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00463a8a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
cmp edx, ecx
jl 0x5a1e74
mov edx, ecx
cmp ebx, eax
je 0x5a1e88
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00464180
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
cmp edx, ebp
jg 0x5a1ea4
mov ebp, edx
cmp ecx, ebx
je 0x5a1eb8
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00464180
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x140]
inc edx
mov ebx, dword [ecx + 0x13c]
mov ebp, dword [ecx + 0x144]
cmp ebp, edx
jae 0x5a1f39
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5fb8a0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [ebx + 0x144], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5a1f23
mov dword [ebx + 0x13c], eax
jmp 0x5a1f2e
lea edi, [ebx + 0x13c]
call fcn.00463860
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0x140], edx
lea edx, [edx + edx*2]
lea edi, [ebx + edx*8 - 0x18]
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5a1f5b
lea esi, [esp + 0x6c]
call fcn.00463f64
jmp 0x5a1f75
lea eax, [0x5fb8a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
jmp 0x5a1d74
mov edx, dword [esp + 0xec]
test edx, edx
je 0x5a1fa8
mov ebp, dword [0x7e34c0]
test ebp, ebp
jne 0x5a1f9b
mov dword [edx], ecx
jmp 0x5a1fa8
mov eax, ecx
mov ecx, edi
mov edi, edx
call fcn.00463860
mov edi, ecx
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je 0x5a1fd0
mov dword [ecx + 4], esi
mov dword [ecx + 8], ebx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5a1fc7
mov dword [ecx], edi
jmp 0x5a1fd0
mov eax, edi
mov edi, ecx
call fcn.00463860
mov byte [esp + 0xf4], 1
add esp, 0xe4
ret
mov edx, dword [esp + 0x28]
lea ebx, [edx + 1]
mov edx, dword [esp + 0xe8]
mov ebp, esi
cmp ebx, ecx
jge 0x5a1dd8
mov esi, ebp
mov ebp, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x58], ebp
mov ebp, dword [edx + 0x13c]
mov edx, dword [edx + 0x140]
cmp ebx, edx
jae 0x5a206b
mov dword [esp + 0x28], ebx
lea edx, [ebx + ebx*2]
lea ebx, [ebp + edx*8]
lea edx, [ebp + edx*8]
mov edx, dword [edx]
cmp dword [ebx + 4], edi
je 0x5a2037
xor edx, edx
jmp 0x5a205e
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
je 0x5a1fdf
jmp 0x5a1d74
mov eax, ebx
mov ecx, edx
call fcn.004638e0
mov ecx, ebx
call fcn.004638e0
mov edx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x5a217e
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x5c], ebp
mov ebp, dword [ebx + 0x13c]
mov ebx, dword [ebx + 0x140]
cmp edx, ebx
jae 0x5a242b
lea ebx, [edx + edx*2]
lea edx, [ebp + ebx*8]
lea ebx, [ebp + ebx*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x34]
cmp dword [edx + 4], ebp
je 0x5a20e3
xor edx, edx
jmp 0x5a210c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov edx, eax
xor eax, eax
test dl, dl
je 0x5a207b
nop
mov edx, dword [esp + 0xe8]
mov dword [edx], 4
mov dword [edx + 8], 0x1e
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x5a2144
lea ebx, [0x626e78]
mov dword [edx + 4], ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
jmp 0x5a2164
lea ebx, [edx + 4]
lea eax, [0x626e78]
mov ebp, edi
mov edi, ebx
call fcn.00463860
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
lea ebx, [0x626e78]
mov edi, ebp
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0x1c], ecx
jmp 0x5a2362
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
lea ecx, [0x5f0f80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], ecx
lea edx, [0x5f0f80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00463a8a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
cmp edx, ecx
jl 0x5a222c
mov edx, ecx
cmp ebx, eax
je 0x5a2240
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00464180
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
cmp edx, ebp
jg 0x5a2262
mov ebp, edx
cmp ecx, ebx
je 0x5a2276
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00464180
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x140]
inc edx
mov ebx, dword [ecx + 0x13c]
mov ebp, dword [ecx + 0x144]
cmp ebp, edx
jae 0x5a22f7
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5fb8a0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [ebx + 0x144], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5a22e1
mov dword [ebx + 0x13c], eax
jmp 0x5a22ec
lea edi, [ebx + 0x13c]
call fcn.00463860
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0x140], edx
lea edx, [edx + edx*2]
lea edi, [ebx + edx*8 - 0x18]
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5a2326
lea esi, [esp + 0x84]
call fcn.00463f64
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jmp 0x5a234d
lea eax, [0x5fb8a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov edx, dword [esp + 0xe8]
lea ebx, [0x626e78]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
jl 0x5a241c
lea ecx, [edi + 1]
mov ebp, dword [esp + 0x24]
cmp ebp, ecx
jae 0x5a23b2
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5fb8a0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xe8]
mov esi, ebp
mov ebp, ebx
lea ebx, [0x626e78]
mov dword [esp + 0x20], ecx
lea ebx, [ecx + ecx*2]
lea edi, [esi + ebx*8 - 0x18]
mov ebx, dword [0x7e34c0]
test ebx, ebx
jne 0x5a23d7
mov eax, esi
lea esi, [esp + 0xcc]
call fcn.00463f64
jmp 0x5a240b
mov dword [esp + 0x60], esi
mov dword [esp + 0x38], ebp
lea eax, [0x5fb8a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, ebp
jmp 0x5a1c37
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov eax, edx
mov ecx, ebx
call fcn.004638e0
nop
call fcn.00462450
jmp fcn.005a1ab0