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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x5a7b45
sub esp, 0xfc
mov eax, dword [esp + 0x108]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x6c], edx
lea ebx, [0x8031e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
jle 0x5a7b3c
mov edx, dword [esp + 0x94]
xor ebx, ebx
jmp 0x5a7408
mov eax, dword [esp + 0xa4]
lea edx, [eax + 0xc]
mov ebx, ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x58], ebx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005735c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0xb91180]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0xa8]
lea edi, [esi + ebp*4]
test edx, edx
jne 0x5a7b32
mov dword [esi + ebp*4], eax
test ecx, ecx
jne 0x5a7a69
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0x68]
cmp ecx, ebx
jl 0x5a73fc
test ebx, ebx
jne 0x5a7a5b
mov ecx, dword [esp + 0x100]
mov ebp, dword [ecx + 0x24]
nop
mov ebp, dword [ebp + 0x44]
cmp ebp, 2
jne 0x5a7a4b
mov eax, 1
test al, al
jne 0x5a79ea
mov ebp, dword [ecx + 0x24]
cmp dword [ebp + 0x44], 3
jl 0x5a79e3
test ebx, ebx
jle 0x5a79e3
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0044f1cb
nop
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5a79d8
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xb4]
mov esi, esp
call fcn.0044f6ae
nop
call fcn.0040aa60
mov eax, dword [esp]
mov dword [esp + 0xa0], eax
call fcn.0040aa60
mov eax, dword [esp]
mov dword [esp + 0x9c], eax
lea ecx, [0x7da760]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 0x68]
lea ecx, [eax - 1]
mov dword [esp + 0x74], ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov ebp, dword [esp + 0xa8]
add ecx, ebp
mov dword [esp + 0x98], ecx
mov edi, dword [esp + 4]
mov esi, dword [0xb91180]
test esi, esi
jne 0x5a79b2
mov edx, dword [esp + 0xa0]
mov dword [edi], edx
mov edx, dword [esp + 0x9c]
mov dword [edi + 4], edx
mov dword [esp + 0x78], edi
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0044f1c3
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x24]
mov edx, dword [edx + 0x48]
mov dword [esp + 0xd4], edx
lea edi, [esp + 0xd8]
lea esi, [esp + 0xb4]
call fcn.0044f6ae
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xd0], ecx
lea ecx, [0x79b440]
mov dword [esp], ecx
call fcn.00409f80
mov ecx, dword [esp + 4]
mov edx, dword [0x8abdd0]
mov dword [ecx], edx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], 1
xor eax, eax
jmp 0x5a75f2
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.005678e0
mov eax, dword [esp + 0x70]
inc eax
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jl 0x5a75cc
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0xc8]
call fcn.0044f65e
call fcn.0056c990
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
test ebx, ebx
jne 0x5a78f2
mov ebx, dword [esp + 0x100]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], eax
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a78e3
mov dword [ebx + 0x54], edx
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5a7853
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5a7836
mov eax, dword [esp + 0xa8]
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
test edx, edx
je 0x5a775b
mov ebp, dword [edx + 8]
cmp ebp, 0x2fd00e80
jne 0x5a7745
lea esi, [0x7ef540]
cmp esi, edx
jne 0x5a7745
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x50], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a7738
mov dword [ebx + 0x48], eax
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a772e
mov dword [ebx + 0x30], eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a7724
mov dword [ebx + 0x3c], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0xfc
ret
lea edi, [ebx + 0x3c]
call fcn.0044f0d0
jmp 0x5a7707
lea edi, [ebx + 0x30]
call fcn.0044f0d0
jmp 0x5a76df
lea edi, [ebx + 0x48]
call fcn.0044f0d0
jmp 0x5a76b7
cmp ebp, 0xcc456746
jne 0x5a775b
lea ebp, [0x7b6ce0]
cmp ebp, edx
je 0x5a76a0
mov dword [esp], ebx
mov byte [esp + 4], 0x2b
call fcn.0058e890
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
nop
lea eax, [0x82fa37]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a7828
mov eax, dword [esp + 0x80]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], edi
add esp, 0xfc
ret
mov eax, dword [esp + 0x80]
call fcn.0044f0d0
jmp 0x5a780d
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0xfc
ret
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov ebp, dword [ebx + 0x54]
mov esi, dword [esp + 0x94]
mov dword [esp], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5a78a4
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov ebx, dword [esp + 0x100]
jmp 0x5a7669
mov dword [esp + 0x90], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058e890
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x138], eax
add esp, 0xfc
ret
lea edi, [ebx + 0x54]
mov eax, edx
call fcn.0044f0d0
jmp 0x5a7655
mov dword [esp + 0x64], ebx
mov dword [esp + 0x8c], ebp
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058e890
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x829589]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0043dbd0
nop
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a79a7
mov eax, dword [esp + 0x7c]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], edi
add esp, 0xfc
ret
mov eax, dword [esp + 0x7c]
call fcn.0044f0d0
jmp 0x5a798c
mov eax, dword [esp + 0xa0]
call fcn.0044f0d0
lea edx, [edi + 4]
mov esi, edi
mov edi, edx
mov eax, dword [esp + 0x9c]
call fcn.0044f0d0
mov edi, esi
jmp 0x5a754d
lea ecx, [0x835f5c]
jmp 0x5a74c4
mov ebx, ecx
jmp 0x5a7655
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a7a3e
lea eax, [0x82781c]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], edi
add esp, 0xfc
ret
lea eax, [0x82781c]
call fcn.0044f0d0
jmp 0x5a7a23
cmp ebp, 4
je 0x5a7488
xor eax, eax
jmp 0x5a748d
mov ecx, dword [esp + 0x100]
xor eax, eax
jmp 0x5a748d
mov dword [esp + 0x60], ecx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.0058e890
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x82803b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043dbd0
nop
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a7b24
mov eax, dword [esp + 0x84]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], edi
add esp, 0xfc
ret
mov eax, dword [esp + 0x84]
call fcn.0044f0d0
jmp 0x5a7b09
call fcn.0044f0d0
jmp 0x5a7456
mov ebx, ecx
mov esi, eax
jmp 0x5a746b
call fcn.0044d880
jmp fcn.005a7380