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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x260]
cmp eax, dword [ecx + 8]
jbe 0x66005469
sub esp, 0x2e0
mov eax, 0
mov dword [esp + 0x2dc], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], 0
mov dword [esp + 0x304], 0
mov eax, dword [esp + 0x2f0]
test eax, eax
jne 0x66004b3a
lea eax, [0x66108420]
mov dword [esp], eax
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2e8]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004abc
mov ecx, dword [esp + 0x2e4]
jmp 0x66004aca
call fcn.65f64950
mov ecx, dword [esp + 0x2e4]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004ae6
mov ecx, dword [esp + 0x2ec]
jmp 0x66004af4
call fcn.65f64950
mov ecx, dword [esp + 0x2ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x661ef61c]
mov dword [eax + 0x10], ecx
lea ecx, [0x661eeca4]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
lea ecx, [0x661ef7e8]
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
mov ecx, dword [esp + 0x2ec]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.66004610
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.65f701b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x66004b71
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x66004b85
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x66005453
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x66004c61
mov dword [esp + 0x2b4], ecx
mov dword [esp + 0x2c], eax
lea eax, [0x66108420]
mov dword [esp], eax
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2e8]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004bc7
mov ecx, dword [esp + 0x2e4]
jmp 0x66004bd5
call fcn.65f64950
mov ecx, dword [esp + 0x2e4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004bf4
mov ecx, dword [esp + 0x2ec]
jmp 0x66004c02
call fcn.65f64950
mov ecx, dword [esp + 0x2ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004c1f
mov ecx, dword [esp + 0x2b4]
jmp 0x66004c2d
call fcn.65f64950
mov ecx, dword [esp + 0x2b4]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
lea ecx, [0x661ef7e8]
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
mov dword [esp + 0x2b8], edx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.65f64b07
mov dword [esp], edx
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.65f98d80
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
lea ebx, [0x661ef61c]
cmp ecx, ebx
jne 0x66004e16
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x661ee230]
mov dword [esp + 8], eax
call fcn.65f03fe0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66004cd1
mov edx, dword [esp + 0x34]
jmp 0x66004e16
lea edi, [esp + 0x68]
mov ecx, 0x93
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2b8]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.65f70f80
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test edx, edx
je 0x66004df7
mov dword [esp + 0x2d8], ebp
mov dword [esp + 0x2bc], ebx
call fcn.660065f0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x2d4], ecx
lea edx, [0x66108420]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004d5a
mov ecx, dword [esp + 0x2d4]
jmp 0x66004d68
call fcn.65f64950
mov ecx, dword [esp + 0x2d4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004d87
mov ecx, dword [esp + 0x2ec]
jmp 0x66004d95
call fcn.65f64950
mov ecx, dword [esp + 0x2ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004db5
mov ecx, dword [esp + 0x2bc]
jmp 0x66004dc3
call fcn.65f64950
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
lea ecx, [0x661ef7e8]
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.65f982d0
mov eax, dword [esp + 0x68]
test eax, 0x400
je 0x6600532e
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x66004e29
mov eax, dword [esp + 0x44]
test eax, 0x400
je 0x66005245
mov eax, dword [esp + 0x2b8]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x2200000
mov dword [esp + 0x18], 0
call fcn.65f97cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x66004f6a
mov dword [esp + 0x2d8], edx
mov dword [esp + 0x2c0], ecx
call fcn.66006870
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x2d4], ecx
lea edx, [0x66108420]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004ecd
mov ecx, dword [esp + 0x2d4]
jmp 0x66004edb
call fcn.65f64950
mov ecx, dword [esp + 0x2d4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004efa
mov ecx, dword [esp + 0x2ec]
jmp 0x66004f08
call fcn.65f64950
mov ecx, dword [esp + 0x2ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66004f28
mov ecx, dword [esp + 0x2c0]
jmp 0x66004f36
call fcn.65f64950
mov ecx, dword [esp + 0x2c0]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
lea ecx, [0x661ef7e8]
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2ec]
mov dword [esp], ecx
mov edx, dword [esp + 0x2f0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.660054c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2d8], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c4], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c0], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x2d4], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c8], esi
mov edi, dword [esp + 0x30]
mov dword [esp], edi
call fcn.65f97c00
mov eax, dword [esp + 0x34]
test eax, eax
je 0x66004fef
mov eax, dword [esp + 0x2d4]
jmp 0x6600520d
movzx eax, byte [esp + 0x2f4]
test al, al
je 0x66005206
mov eax, dword [esp + 0x2d4]
lea ecx, [0x661f0bd0]
cmp eax, ecx
jne 0x66005437
mov ecx, dword [esp + 0x2c8]
mov ecx, dword [ecx + 0x2c]
cmp ecx, 0xa000000c
je 0x66005032
cmp ecx, 0xa0000003
jne 0x6600520d
mov eax, dword [esp + 0x2b8]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x18], 0
call fcn.65f97cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x66005173
mov dword [esp + 0x2d8], edx
mov dword [esp + 0x2c0], ecx
call fcn.66006ad0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp]
mov dword [esp + 0x2d4], ecx
lea edx, [0x66108420]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660050d6
mov ecx, dword [esp + 0x2d4]
jmp 0x660050e4
call fcn.65f64950
mov ecx, dword [esp + 0x2d4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66005103
mov ecx, dword [esp + 0x2ec]
jmp 0x66005111
call fcn.65f64950
mov ecx, dword [esp + 0x2ec]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x66005131
mov ecx, dword [esp + 0x2c0]
jmp 0x6600513f
call fcn.65f64950
mov ecx, dword [esp + 0x2c0]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
lea ecx, [0x661ef7e8]
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [0x66005480]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2dc], ecx
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0x2ec]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.660054c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], edx
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], ebx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x2dc]
mov eax, dword [edx]
call eax
add esp, 0x2e0
ret
mov eax, dword [esp + 0x2d4]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x2d8]
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x304], eax
add esp, 0x2e0
ret
lea eax, [0x6610de00]
mov dword [esp], eax
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov dword [esp + 0x2d0], eax
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x28], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [esp + 8], ecx
call fcn.66006140
mov eax, dword [esp + 0xc]
test eax, eax
je 0x660052f6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], eax
mov dword [esp + 0x304], ecx
add esp, 0x2e0
ret
lea eax, [0x661f0bd0]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x2d0]
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], 0
mov dword [esp + 0x304], 0
add esp, 0x2e0
ret
nop
lea eax, [0x6610de00]
mov dword [esp], eax
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x68]
test ecx, 0x400
je 0x6600539f
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x2cc], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2f0]
mov dword [esp + 8], ecx
call fcn.66006140
mov eax, dword [esp + 0xc]
test eax, eax
je 0x660053ff
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], eax
mov dword [esp + 0x304], ecx
add esp, 0x2e0
ret
lea eax, [0x661f0bd0]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], 0
mov dword [esp + 0x304], 0
add esp, 0x2e0
ret
mov ecx, dword [0x661f0bd4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x66109500]
mov dword [esp + 8], eax
call fcn.65f09380
xor eax, eax
mov ecx, eax
call fcn.65f649b0
nop
call fcn.65f35ec0
add esp, 0x2e0
ret
call fcn.65f63530
jmp fcn.66004a20