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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x194]
cmp eax, dword [ecx + 8]
jbe 0x5adaf2
sub esp, 0x214
mov eax, dword [0x7c9684]
test eax, eax
je 0x5acea5
mov eax, dword [0x7c9674]
test eax, eax
je 0x5acea5
mov eax, dword [0x7c966c]
test eax, eax
jne 0x5ada3e
lea edi, [esp + 0x1a4]
lea esi, [0x661ba0]
call fcn.0044bc04
mov eax, dword [esp + 0x220]
mov dword [esp + 0x1ac], eax
mov ecx, dword [esp + 0x224]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], ecx
mov edx, dword [0x7c967c]
mov ebx, dword [0x7c9678]
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], edx
mov dword [esp], 0
lea edx, [esp + 0x1a4]
mov dword [esp + 4], edx
mov dword [esp + 8], 7
mov dword [esp + 0xc], 7
call fcn.0043abd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [0x7c9664], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x5ada2c
mov dword [0x7c9660], ecx
lea eax, [0x61c449]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x218]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x21c]
mov dword [esp + 0xc], eax
call fcn.004b0550
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x5acfe6
je 0x5acf91
mov ecx, dword [ecx + 4]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x61f7c8]
mov dword [esp], eax
mov dword [esp + 4], 0x11
lea eax, [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004aad80
mov dword [esp], 0
mov eax, dword [0x7c9660]
mov ecx, dword [0x7c9664]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0043b0b0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call ecx
mov eax, dword [0x79a1d8]
mov ecx, dword [0x79a1dc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e4b0
lea eax, [0x5e7e00]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
call fcn.00407690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [0x65f230]
cmp ecx, edx
jne 0x5ada20
mov ebx, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x38], ecx
jne 0x5ad93c
mov ebp, dword [eax + 4]
cmp ebp, 0x1000
jl 0x5ad93c
mov dword [esp + 0x50], eax
lea ecx, [0x6113a0]
mov dword [esp], ecx
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 7
mov eax, dword [0x7db370]
test eax, eax
jne 0x5ad92c
lea eax, [0x61cbc4]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00588c70
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
cmp ebx, 0xc8
jne 0x5ad15f
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x5dfce0]
mov dword [esp + 0xb4], eax
lea eax, [0x65e548]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004aad10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x22c], eax
add esp, 0x214
ret
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x61e380]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xd
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5ad0f3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea edx, [0x61e373]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5ad0f3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [0x625e92]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x21
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
je 0x5ad8b0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x5dfce0]
mov dword [esp + 0xac], eax
lea ecx, [0x65e570]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004aad10
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
lea eax, [0x61fe67]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.00586910
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5ad893
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x5dfce0]
mov dword [esp + 0xa4], eax
lea ecx, [0x65e578]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004aad10
lea eax, [0x5ea3a0]
mov dword [esp], eax
call fcn.00409a30
lea eax, [0x661aa0]
test byte [eax], al
mov eax, dword [0x7c9684]
mov ecx, dword [0x661ac8]
mov edx, dword [0x7c9680]
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [0x7c9674]
mov edx, dword [0x7c9670]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x7c966c]
mov edx, dword [0x7c9668]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 0x3c]
cmp eax, 5
jb 0x5adaeb
add eax, 0xfffffffb
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 5
mov ebx, dword [esp + 0x5c]
add eax, ebx
mov edx, dword [0x7c8ff4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005a82d0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x661abc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call ecx
mov eax, dword [0x661ab0]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.005a75c0
mov edx, dword [0x7c8ff8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
lea edi, [esp + 0x16c]
lea esi, [0x661b20]
call fcn.0044bc04
mov ecx, dword [esp + 0x220]
mov dword [esp + 0x174], ecx
mov ebx, dword [esp + 0x224]
mov dword [esp + 0x178], ebx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], ebx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
mov dword [esp], 0
lea eax, [esp + 0x16c]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov dword [esp + 0xc], 7
call fcn.0043abd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [0x7c9664], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x5ad881
mov dword [0x7c9660], ecx
mov dword [esp], 0
mov eax, dword [0x7c9664]
mov ecx, dword [0x7c9660]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0043b0b0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call ecx
lea eax, [0x5e7e00]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.00407690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [0x65f230]
cmp ecx, edx
jne 0x5ad875
mov ebx, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x34], ecx
jne 0x5ad793
mov ebp, dword [eax + 4]
cmp ebp, 0x1000
jl 0x5ad793
mov dword [esp + 0x68], eax
call fcn.004721f0
lea edi, [esp + 0x100]
mov esi, esp
call fcn.0044bc5e
mov edi, esp
lea esi, [esp + 0x100]
call fcn.0044bc5e
mov eax, dword [0x79a1d8]
mov ecx, dword [0x79a1dc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00471760
lea esi, [esp + 0x1c]
mov dword [esp + 0x78], esi
lea edi, [esp + 0xec]
call fcn.0044bc5e
lea edi, [esp + 4]
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x4c], ecx
lea esi, [esp + 0xec]
call fcn.0044bc5e
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
call edx
lea eax, [0x65f230]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.004ce430
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0043af60
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
call fcn.004721f0
lea edi, [esp + 0xd8]
mov esi, esp
call fcn.0044bc5e
mov edi, esp
lea esi, [esp + 0xd8]
call fcn.0044bc5e
mov dword [esp + 0x14], 0x81e8000
mov dword [esp + 0x18], 0x1476b
call fcn.00471760
lea edi, [esp + 0xc4]
mov esi, dword [esp + 0x78]
call fcn.0044bc5e
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x74]
lea esi, [esp + 0xc4]
call fcn.0044bc5e
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
call edx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea edx, [0x61e380]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
je 0x5ad6ea
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x5dfce0]
mov dword [esp + 0x9c], eax
lea eax, [0x65e580]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004aad10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x22c], eax
add esp, 0x214
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
lea eax, [0x6265f0]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004aad80
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 0
add esp, 0x214
ret
lea eax, [0x604e80]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
lea ecx, [0x5dfee0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x140]
mov ebx, eax
xor eax, eax
call fcn.0044b775
mov dword [esp + 0x140], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x150], eax
mov dword [esp + 0x164], 0xffffffff
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [0x7db370]
test eax, eax
jne 0x5ad852
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x140]
call fcn.0044bc22
mov eax, dword [esp + 0x70]
jmp 0x5ad519
lea eax, [0x604e80]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea ecx, [esp + 0x140]
mov dword [esp + 8], ecx
call fcn.0040ecd0
jmp 0x5ad849
mov ebx, eax
mov eax, 0
jmp 0x5ad4f9
lea edi, [0x7c9660]
mov eax, ecx
call fcn.0044b680
jmp 0x5ad47b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x22c], eax
add esp, 0x214
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x5dfce0]
mov dword [esp + 0x84], eax
lea eax, [0x65e588]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004aad10
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
call eax
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 0
add esp, 0x214
ret
lea eax, [0x61cbc4]
call fcn.0044b680
jmp 0x5ad0cf
lea eax, [0x604e80]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
lea ecx, [0x5dfee0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00437b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x114]
mov ebx, eax
xor eax, eax
call fcn.0044b775
mov dword [esp + 0x114], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x138], 0xffffffff
mov dword [esp + 0x13c], 0xffffffff
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x5ad9fb
mov edi, dword [esp + 0x6c]
lea esi, [esp + 0x114]
call fcn.0044bc22
mov eax, dword [esp + 0x6c]
jmp 0x5ad09c
lea eax, [0x604e80]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x114]
mov dword [esp + 8], ecx
call fcn.0040ecd0
xor eax, eax
jmp 0x5ad9f2
mov ebx, eax
mov eax, 0
jmp 0x5ad07c
lea edi, [0x7c9660]
mov eax, ecx
call fcn.0044b680
jmp 0x5acf44
lea edi, [esp + 0x1dc]
lea esi, [0x661b60]
call fcn.0044bc04
mov eax, dword [esp + 0x220]
mov dword [esp + 0x1e4], eax
mov ecx, dword [esp + 0x224]
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], ecx
mov edx, dword [0x7c967c]
mov ebx, dword [0x7c9678]
mov dword [esp + 0x204], ebx
mov dword [esp + 0x208], edx
mov dword [esp], 0
lea edx, [esp + 0x1dc]
mov dword [esp + 4], edx
mov dword [esp + 8], 7
mov dword [esp + 0xc], 7
call fcn.0043abd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x7c9664], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x5adade
mov dword [0x7c9660], eax
jmp 0x5acf44
lea edi, [0x7c9660]
call fcn.0044b680
jmp 0x5adad9
call fcn.004259a0
ud2
call fcn.00449f20
jmp fcn.005ace60