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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5040de
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1c]
sub esp, 0x50
push esi
xor esi, esi
cmp eax, esi
je 0x4ae805
cmp byte [eax], 0
je 0x4ae805
push ebx
push ebp
push edi
push eax
lea ecx, [esp + 0x18]
xor ebp, ebp
call fcn.004b3640
push 0x547498
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], esi
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 1
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 3
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 4
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 5
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 6
call fcn.004dae80
push 0x547498
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 7
call fcn.004dae80
lea eax, [esp + 0x10]
mov byte [esp + 0x68], 8
push eax
push 0xd
push 0x5154e8
mov dword [esp + 0x1c], esi
call fcn.004abc90
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
push 0x10
push 0x5154f8
mov dword [esp + 0x70], edi
call fcn.004abc90
lea edx, [esp + 0x28]
mov dword [esp + 0x54], eax
push edx
push 0xd
push 0x515508
call fcn.004abc90
mov dword [esp + 0x64], eax
lea eax, [esp + 0x34]
push eax
push 0xf
push 0x515518
call fcn.004abc90
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], eax
push ecx
push 7
push 0x515528
call fcn.004abc90
mov dword [esp + 0x74], eax
lea edx, [esp + 0x4c]
push edx
push 4
push 0x515530
call fcn.004abc90
add esp, 0x48
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10]
push eax
push 6
push 0x5154c8
call fcn.004abc90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], eax
push ecx
push 4
push 0x5154d0
call fcn.004abc90
lea edx, [esp + 0x28]
mov dword [esp + 0x68], eax
push edx
push 6
push 0x5154d4
call fcn.004abc90
mov dword [esp + 0x78], eax
lea eax, [esp + 0x34]
push eax
push 9
push 0x5154dc
call fcn.004abc90
add esp, 0x30
mov ebx, eax
push esi
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.004d261f
mov edx, dword [esp + 0x48]
add esp, 0xc
lea eax, [esp + 0x24]
push esi
push edx
push eax
call fcn.004d261f
mov ecx, dword [esp + 0x4c]
add esp, 0xc
lea edx, [esp + 0x20]
push esi
push ecx
push edx
call fcn.004d261f
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x1c]
push esi
push eax
push ecx
call fcn.004d261f
mov eax, dword [esp + 0x34]
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
push eax
push ebx
call fcn.004b3720
test eax, eax
je 0x4ae706
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ae706
test ebp, ebp
jne 0x4ae62c
push 0x5c
call fcn.004db3f6
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov byte [esp + 0x68], 9
je 0x4ae623
mov edx, dword [esp + 0x38]
push ebp
push edx
mov ecx, eax
call fcn.004ad0c0
jmp 0x4ae625
xor eax, eax
mov byte [esp + 0x68], 8
mov ebp, eax
push 0x5c
call fcn.004db3f6
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov byte [esp + 0x68], 0xa
je 0x4ae655
mov ecx, dword [esp + 0x48]
push 0
push ecx
mov ecx, eax
call fcn.004ad0c0
mov edi, eax
jmp 0x4ae657
xor edi, edi
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x6c], 8
call fcn.004daf9b
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.004b3720
test eax, eax
je 0x4ae699
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae699
mov edx, dword [esp + 0x4c]
push eax
push edx
mov ecx, edi
call fcn.004ad3f0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.004b3720
test eax, eax
je 0x4ae6c9
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae6c9
mov edx, dword [esp + 0x50]
push eax
push edx
mov ecx, edi
call fcn.004ad3f0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.004b3720
test eax, eax
je 0x4ae6f9
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae6f9
mov edx, dword [esp + 0x54]
push eax
push edx
mov ecx, edi
call fcn.004ad3f0
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 4]
mov edi, dword [esp + 0x58]
inc esi
cmp esi, 0xa
jl 0x4ae586
push ebx
call fcn.004db41f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004db41f
push edi
call fcn.004db41f
mov edx, dword [esp + 0x48]
push edx
call fcn.004db41f
mov eax, dword [esp + 0x50]
push eax
call fcn.004db41f
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004db41f
mov edx, dword [esp + 0x60]
push edx
call fcn.004db41f
mov eax, dword [esp + 0x68]
push eax
call fcn.004db41f
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004db41f
mov edx, dword [esp + 0x78]
push edx
call fcn.004db41f
add esp, 0x28
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 7
call fcn.004dae12
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 6
call fcn.004dae12
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 5
call fcn.004dae12
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.004dae12
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call fcn.004dae12
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 2
call fcn.004dae12
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 1
call fcn.004dae12
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.004dae12
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.004b36b0
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x54]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret