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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ae72c
sub esp, 0x64
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
test al, al
jne 0x4ae6da
mov eax, dword [0x59baa4]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402ef0
mov dword [esp], 0
lea eax, [0x50ebd8]
mov dword [esp + 4], eax
call fcn.00424eb0
test eax, eax
jne 0x4ae6d0
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jge 0x4ae65e
jne 0x4ae658
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706374
jne 0x4ae63e
mov eax, 1
mov dword [esp + 0x24], eax
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0044abd8
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
call fcn.00476870
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.0047b320
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4ae37e
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
call fcn.004aca90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ae357
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ae2d4
mov ecx, dword [eax + 4]
lea edx, [0x4f07e0]
cmp edx, ecx
jne 0x4ae2d4
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
cmp edx, 0x2af9
jne 0x4ae2d4
mov eax, dword [0x59be8c]
mov ecx, dword [0x59be88]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x4f5f40]
mov dword [esp], edx
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4ae2bf
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x50553d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call fcn.0043a590
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5ac790]
lea ebx, [edx + 8]
test eax, eax
jne 0x4ae2ad
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x51e040]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call fcn.004256d0
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040da50
mov edx, dword [esp + 0x3c]
jmp 0x4ae284
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0040da50
jmp 0x4ae224
lea eax, [0x4ee380]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0xc
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4ae33f
lea ecx, [0x506b55]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4ae329
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0x51e140]
jmp 0x4ae1db
mov dword [esp], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x38]
jmp 0x4ae31e
mov dword [esp], eax
lea ecx, [0x506b55]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x38]
jmp 0x4ae303
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call fcn.004256d0
add esp, 0x64
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x50ee4c]
mov dword [esp + 4], eax
call fcn.00424eb0
test eax, eax
jne 0x4ae634
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4ae537
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4ae4fe
cmp eax, 0x17
je 0x4ae4c5
mov dword [esp], 0x20000027
call fcn.00476940
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x4f5f40]
mov dword [esp], edx
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4ae4b0
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x50553d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call fcn.0043a590
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5ac790]
lea ebx, [edx + 8]
test eax, eax
jne 0x4ae49e
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x51e040]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call fcn.004256d0
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040da50
mov edx, dword [esp + 0x3c]
jmp 0x4ae475
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0040da50
jmp 0x4ae415
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0047b150
movzx eax, word [esp + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call fcn.004256d0
add esp, 0x64
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0047b150
movzx eax, word [esp + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call fcn.004256d0
add esp, 0x64
ret
mov dword [esp], 0x20000027
call fcn.00476940
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x4f5f40]
mov dword [esp], edx
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4ae61f
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x50553d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call fcn.0043a590
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5ac790]
lea ebx, [edx + 8]
test eax, eax
jne 0x4ae60d
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x51e040]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call fcn.004256d0
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040da50
mov edx, dword [esp + 0x3c]
jmp 0x4ae5e4
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0040da50
jmp 0x4ae584
nop
call fcn.004256d0
add esp, 0x64
ret
cmp ecx, 4
jne 0x4ae651
mov ebx, dword [edx]
cmp ebx, 0x36706374
je 0x4ae0e2
xor eax, eax
jmp 0x4ae0e7
mov edx, dword [esp + 0x74]
jmp 0x4ae641
je 0x4ae691
jne 0x4ae68b
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706475
jne 0x4ae67a
mov eax, 2
jmp 0x4ae0e7
cmp ecx, 4
jne 0x4ae651
mov ebx, dword [edx]
cmp ebx, 0x36706475
je 0x4ae670
jmp 0x4ae651
mov edx, dword [esp + 0x74]
jmp 0x4ae67d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x505899]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0044a9a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ae6c7
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4ae0ca
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4ae660
nop
call fcn.004256d0
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
call fcn.004aca90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
nop
call fcn.004256d0
add esp, 0x64
ret
call fcn.004491a0
jmp fcn.004ae040