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

Disassembly:
sub esp, 0xa4
mov eax, dword [esp + 0xb8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
shr eax, 2
mov dword [esp + 0x1c], eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
xor ecx, ecx
test esi, esi
jle 0x401b37
mov edx, dword [esp + 0xbc]
mov eax, dword [edx]
cmp eax, 0x10
ja 0x401c3e
mov ebp, dword [esp + eax*4 + 0x28]
lea eax, [esp + eax*4 + 0x28]
inc ebp
inc ecx
add edx, 4
cmp ecx, esi
mov dword [eax], ebp
jl 0x401b19
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
shl ecx, 0xf
shl eax, 0xe
add eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
shl ecx, 0xd
add ecx, eax
mov eax, dword [esp + 0x38]
shl eax, 0xc
add eax, ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
shl ecx, 0xb
add ecx, eax
mov eax, dword [esp + 0x40]
shl eax, 0xa
mov dword [esp + 0x84], ecx
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], eax
shl ecx, 9
add ecx, eax
mov eax, dword [esp + 0x48]
shl eax, 8
mov dword [esp + 0x8c], ecx
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x90], eax
shl ecx, 7
add ecx, eax
mov eax, dword [esp + 0x50]
shl eax, 6
mov dword [esp + 0x94], ecx
add eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], eax
shl ecx, 5
add ecx, eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x9c], ecx
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x70], 0
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa4], eax
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa8], eax
lea eax, [eax + ecx*2]
mov dword [esp + 0xac], eax
add eax, edx
cmp eax, 0x10000
mov dword [esp + 0xb0], eax
je 0x401c4a
push 1
push 0x44fb84
call fcn.004187b8
push 1
push 0x44fb84
call fcn.004187b8
mov ebx, dword [esp + 0xc0]
mov ebp, 0x10
mov esi, 1
sub ebp, ebx
cmp ebx, esi
mov dword [esp + 0x10], ebp
jl 0x401c9e
lea edx, [ebx - 1]
xor eax, eax
mov edi, ebx
lea esi, [ebx + 1]
jmp 0x401c75
mov ebp, dword [esp + 0x10]
mov ecx, ebp
mov ebp, dword [esp + eax + 0x70]
shr ebp, cl
mov ecx, edx
add eax, 4
mov dword [esp + eax + 0x6c], ebp
mov ebp, 1
shl ebp, cl
dec edx
dec edi
mov dword [esp + eax + 0x28], ebp
jne 0x401c71
mov ebp, dword [esp + 0x10]
cmp esi, 0x10
ja 0x401cc1
mov ecx, 0x10
mov eax, 0x11
sub ecx, esi
lea edx, [esp + esi*4 + 0x28]
sub eax, esi
mov esi, 1
add edx, 4
shl esi, cl
dec ecx
dec eax
mov dword [edx - 4], esi
jne 0x401cb0
mov eax, dword [esp + ebx*4 + 0x70]
mov ecx, ebp
shr eax, cl
cmp eax, 0x10000
je 0x401cef
mov edx, 1
mov ecx, ebx
shl edx, cl
cmp eax, edx
je 0x401cef
mov ecx, dword [esp + 0xc4]
lea edi, [ecx + eax*4]
mov ecx, edx
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0xb8]
mov ecx, 0xf
sub ecx, ebx
mov eax, 1
shl eax, cl
xor edi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov eax, edx
test eax, eax
jle 0x401e06
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x401deb
cmp eax, 0x12
jae 0x401e11
mov edx, dword [esp + eax*4 + 0x6c]
mov esi, dword [esp + eax*4 + 0x28]
lea ebp, [esp + eax*4 + 0x6c]
add esi, edx
cmp eax, ebx
mov dword [esp + 0x20], ebp
jg 0x401d87
cmp esi, dword [esp + 0xc8]
ja 0x401e1d
mov eax, edx
cmp eax, esi
jae 0x401de8
mov edx, dword [esp + 0xc4]
lea ecx, [edx + eax*4]
cmp eax, dword [esp + 0x1c]
jae 0x401e29
mov dword [ecx], edi
inc eax
add ecx, 4
cmp eax, esi
jb 0x401d71
jmp 0x401de8
mov ecx, dword [esp + 0x10]
mov ebp, edx
shr ebp, cl
mov ecx, dword [esp + 0xc4]
sub eax, ebx
lea ecx, [ecx + ebp*4]
je 0x401de2
cmp dword [ecx], 0
jne 0x401dc3
mov ebp, dword [esp + 0x18]
mov dword [ebp*4 + 0x4557f4], 0
mov dword [ebp*4 + 0x454808], 0
mov dword [ecx], ebp
inc ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [ecx]
test edx, ebp
je 0x401dd6
lea ecx, [ecx*4 + 0x454808]
jmp 0x401ddd
lea ecx, [ecx*4 + 0x4557f4]
shl edx, 1
dec eax
jne 0x401d9d
mov ebp, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ebp], esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xb8]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x401d23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
push 1
push 0x44fb84
call fcn.004187b8
push 1
push 0x44fb84
call fcn.004187b8
push 1
push 0x44fb84
call fcn.004187b8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop