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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5a33d5
sub esp, 0x8c
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.0058e240
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a2edf
lea eax, [0x62f8a0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
jmp 0x5a2f28
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x663d08]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov eax, ebx
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x5a306a
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x31
call fcn.0058e240
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a3023
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5a3094
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 4]
lea esi, [ebp + 1]
mov edi, edx
mov edx, dword [ebx]
mov ecx, dword [ebx + 8]
cmp ecx, esi
jae 0x5a2fea
lea eax, [0x628b20]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
mov dword [edi + 8], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5a2fd7
mov dword [edi], eax
jmp 0x5a2fdc
call fcn.004626c0
mov ebx, edi
mov edi, dword [esp + 0x38]
mov edx, eax
mov ebp, ecx
mov eax, dword [esp + 0x24]
lea ecx, [ebp + 1]
mov dword [ebx + 4], ecx
lea ecx, [ebp + ebp*2]
mov dword [edx + ecx*4 + 4], eax
mov ebp, dword [esp + 0x28]
mov dword [edx + ecx*4 + 8], ebp
mov ebp, dword [0x87bd00]
lea esi, [edx + ecx*4]
test ebp, ebp
jne 0x5a3015
mov dword [edx + ecx*4], edi
jmp 0x5a2f26
mov eax, edi
mov edi, esi
call fcn.004626c0
jmp 0x5a2f26
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x663d08]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x8c
ret
mov ecx, ebp
mov edx, eax
mov eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x5a2f83
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.0058e240
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a338e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046293b
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.0058da50
movzx ecx, byte [esp + 8]
test cl, cl
je 0x5a3347
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x23], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [esp + 0x23]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0058ea70
movzx eax, byte [esp + 0x10]
test al, al
je 0x5a3300
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x23]
mov byte [esp], bl
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005a2830
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6282a0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5a327f
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x5a31eb
mov eax, dword [esp + 0x38]
jmp 0x5a322a
lea eax, [0x635900]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov ebp, ecx
lea ecx, [0x6282a0]
mov edx, dword [esp + 0x24]
mov ecx, dword [0x87bd00]
lea edx, [edx + edx*4]
lea edi, [eax + edx*4]
test ecx, ecx
jne 0x5a3248
lea esi, [esp + 0x78]
call fcn.00462e1e
jmp 0x5a308e
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
lea eax, [0x635900]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00410890
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
jmp 0x5a308e
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5a329c
mov ebx, dword [eax + 4]
jmp 0x5a329e
mov ebx, eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [0x66cfc6]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1b70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x8c
ret
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x66c627]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x66c2a5]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x66ada5]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
call fcn.004612b0
jmp fcn.005a2e80