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

Disassembly:
sub esp, 0x88
xor ecx, ecx
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
cmp dword [edx + 0xa8], ecx
je 0x4aac6a
lea ebx, [edx + 0xa4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], esi
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [edi]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 0x58], 0
je 0x4aa7f1
xor ebx, ebx
xor ebp, ebp
cmp dword [esi + 0x4c], 0
je 0x4aa7c2
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esi + 0x54]
cmp byte [ecx + ebp], 0x10
jne 0x4aa63d
add ebx, edx
jmp 0x4aa7b7
mov dword [esp + 0x5c], edx
mov ecx, dword [esi + 0xc]
mov edi, ebp
bt dword [ecx], edi
setb cl
test cl, 1
jne 0x4aa787
shl edi, 0xc
add edi, dword [esi]
mov dword [esp + 0x50], edi
cmp dword [esi + 0x20], 0
je 0x4aa715
lea eax, [esi + 0x1c]
mov ecx, dword [eax]
mov edx, ebp
btr dword [ecx], edx
jae 0x4aa715
mov ecx, dword [esp + 0x5c]
shl ecx, 0xc
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4aa69d
lea edx, [esi + 0x1c]
mov edx, dword [edx]
mov eax, ebp
bt dword [edx], eax
setb dl
test dl, 1
je 0x4aa69d
mov edi, 1
cmp dword [esi + 0x28], 0
je 0x4aa6bb
lea edx, [esi + 0x24]
mov edx, dword [edx]
mov eax, ebp
bt dword [edx], eax
setb dl
test dl, 1
je 0x4aa6bb
or edi, 0x20
mov edx, dword [esi + 0x2c]
mov eax, ebp
bt dword [edx], eax
setb dl
test dl, 1
je 0x4aa6d1
or edi, 2
cmp dword [esi + 0x40], 0
je 0x4aa6ed
lea edx, [esi + 0x3c]
mov edx, dword [edx]
bt dword [edx], eax
setb dl
test dl, 1
je 0x4aa6ed
or edi, 0x10
mov edx, dword [esi + 0x34]
bt dword [edx], eax
setb dl
test dl, 1
je 0x4aa701
or edi, 8
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], edi
mov dword [esp], ecx
call fcn.004b0e40
mov edi, ebp
mov ecx, ebp
mov eax, 1
and ecx, 0x1f
shl eax, cl
shr edi, 5
cmp dword [esi + 0x28], 0
mov edx, dword [esp + 0x5c]
not eax
je 0x4aa73b
mov ecx, dword [esi + 0x24]
and dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x2c]
and dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x34]
and dword [ecx + edi*4], eax
cmp dword [esi + 0x40], 0
je 0x4aa753
mov ecx, dword [esi + 0x3c]
and dword [ecx + edi*4], eax
lea ecx, [ebp + edx]
mov edi, dword [esi + 0x54]
sub ecx, ebp
mov eax, 0x10101010
add edi, ebp
rep stosb byte es:[edi], al
cmp ebp, dword [esi + 0xa0]
jae 0x4aa773
mov dword [esi + 0xa0], ebp
add dword [esi + 0x50], edx
mov ecx, dword [esi + 0x50]
add ebx, edx
add dword [esp + 0x48], edx
mov dword [esi + 0xa4], ecx
jmp 0x4aa7b7
mov edx, dword [esp + 0x5c]
test ebx, ebx
je 0x4aa7b7
mov dword [esp + 0x5c], edx
mov eax, ebp
sub eax, ebx
mov edx, dword [esi + 0x60]
cmp ebx, 1
mov dword [edx + eax*4], ebx
jbe 0x4aa7b1
lea ecx, [eax + ebx]
mov edx, dword [esi + 0x60]
lea ecx, [edx + ecx*4]
mov dword [ecx - 4], ebx
mov edx, dword [esp + 0x5c]
xor ebx, ebx
add ebp, edx
cmp ebp, dword [esi + 0x4c]
jb 0x4aa627
test ebx, ebx
je 0x4aac58
mov eax, ebp
sub eax, ebx
mov edx, dword [esi + 0x60]
mov dword [edx + eax*4], ebx
cmp ebx, 1
jbe 0x4aac58
lea ecx, [eax + ebx]
mov edx, dword [esi + 0x60]
lea ecx, [edx + ecx*4]
mov dword [ecx - 4], ebx
jmp 0x4aac58
mov dword [esp + 8], 0xe
mov edx, dword [esi + 0x4c]
lea ebx, [esi + 0x64]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00466b20
xor ebp, ebp
cmp dword [esi + 0x4c], 0
je 0x4aac58
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov eax, dword [esi + 0x54]
movzx ecx, byte [eax + ebp]
cmp cl, 0xe
jae 0x4aac39
mov byte [esp + 0x81], cl
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
add edx, dword [esp + 0x58]
mov ecx, 8
xor eax, eax
add ebx, dword [esp + 0x58]
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [edx]
mov eax, dword [ebx]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov edi, dword [ebx + 4]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov eax, dword [ebx + 8]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0xc]
mov edi, dword [ebx + 0xc]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0x14]
mov edi, dword [ebx + 0x14]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx + 0x18]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 0x1c]
mov edi, dword [ebx + 0x1c]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x1c], 0
jne 0x4aa9c8
cmp dword [esp + 0x20], 0
jne 0x4aa9c8
cmp dword [esp + 0x24], 0
jne 0x4aa9c8
cmp dword [esp + 0x28], 0
jne 0x4aa9c8
cmp dword [esp + 0x2c], 0
jne 0x4aa9c8
cmp dword [esp + 0x30], 0
jne 0x4aa9c8
cmp dword [esp + 0x34], 0
jne 0x4aa9c8
test ecx, ecx
jne 0x4aa9c8
mov edi, dword [edx]
not edi
movzx eax, byte [esp + 0x81]
shl eax, 5
cmp edi, dword [eax + 0x505770]
jne 0x4aa99a
mov ecx, dword [edx + 4]
not ecx
cmp ecx, dword [eax + 0x505774]
jne 0x4aa99a
mov ebx, dword [edx + 8]
not ebx
cmp ebx, dword [eax + 0x505778]
jne 0x4aa99a
mov edi, dword [edx + 0xc]
not edi
cmp edi, dword [eax + 0x50577c]
jne 0x4aa99a
mov ecx, dword [edx + 0x10]
not ecx
cmp ecx, dword [eax + 0x505780]
jne 0x4aa99a
mov ebx, dword [edx + 0x14]
not ebx
cmp ebx, dword [eax + 0x505784]
jne 0x4aa99a
mov edi, dword [edx + 0x18]
not edi
cmp edi, dword [eax + 0x505788]
jne 0x4aa99a
mov ecx, dword [edx + 0x1c]
not ecx
cmp ecx, dword [eax + 0x50578c]
je 0x4aa9b9
movzx edx, byte [esp + 0x81]
lea ebx, [esi + edx*4]
mov ecx, dword [esi + 0x60]
mov edi, dword [ebx + 0x64]
mov dword [ecx + ebp*4], edi
lea eax, [esi + edx*4]
mov dword [eax + 0x64], ebp
jmp 0x4aac39
mov eax, dword [esi + 0x60]
mov dword [eax + ebp*4], 0xffffffff
jmp 0x4aac39
mov eax, dword [edx]
not eax
cmp eax, dword [esp + 0x1c]
jne 0x4aaa1d
mov edi, dword [edx + 4]
not edi
cmp edi, dword [esp + 0x20]
jne 0x4aaa1d
mov eax, dword [edx + 8]
not eax
cmp eax, dword [esp + 0x24]
jne 0x4aaa1d
mov edi, dword [edx + 0xc]
not edi
cmp edi, dword [esp + 0x28]
jne 0x4aaa1d
mov eax, dword [edx + 0x10]
not eax
cmp eax, dword [esp + 0x2c]
jne 0x4aaa1d
mov edi, dword [edx + 0x14]
not edi
cmp edi, dword [esp + 0x30]
jne 0x4aaa1d
mov eax, dword [edx + 0x18]
not eax
cmp eax, dword [esp + 0x34]
jne 0x4aaa1d
mov edi, dword [edx + 0x1c]
not edi
cmp edi, ecx
je 0x4aaa21
xor eax, eax
jmp 0x4aaa26
mov eax, 1
xor ebx, ebx
mov edi, dword [esi + 0x1c]
mov byte [esp + 0x80], al
test edi, edi
je 0x4aaa8b
mov eax, dword [esp + 0x58]
lea edx, [edi + eax]
mov edi, dword [edx]
test dword [esp + 0x1c], edi
jne 0x4aaa86
mov eax, dword [edx + 4]
test dword [esp + 0x20], eax
jne 0x4aaa86
mov edi, dword [edx + 8]
test dword [esp + 0x24], edi
jne 0x4aaa86
mov eax, dword [edx + 0xc]
test dword [esp + 0x28], eax
jne 0x4aaa86
mov edi, dword [edx + 0x10]
test dword [esp + 0x2c], edi
jne 0x4aaa86
mov eax, dword [edx + 0x14]
test dword [esp + 0x30], eax
jne 0x4aaa86
mov edi, dword [edx + 0x18]
test dword [esp + 0x34], edi
jne 0x4aaa86
mov eax, dword [edx + 0x1c]
test ecx, eax
jne 0x4aaa86
xor ebx, ebx
jmp 0x4aaa8b
mov ebx, 1
test bl, bl
je 0x4aabde
movzx ecx, byte [esp + 0x81]
movsx ebx, word [ecx*2 + 0x503950]
mov eax, ebx
cwde
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x60], eax
mov edx, dword [esi]
add edx, dword [esp + 0x54]
lea ecx, [edx + 0x1001]
mov dword [esp + 0x7c], edx
movsx eax, bx
sub ecx, eax
mov dword [esp + 0x68], ecx
xor edi, edi
cmp edx, ecx
jae 0x4aabde
lea edx, [esi + 0xc]
lea ecx, [esi + 0x1c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], ecx
movsx edx, bx
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov edx, dword [ecx]
add ebx, edi
bt dword [edx], ebx
setb cl
test cl, 1
jne 0x4aabc4
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4aabc4
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
bt dword [eax], ebx
setb cl
test cl, 1
je 0x4aabc4
mov dword [esp + 0x78], edi
xor edi, edi
test edx, edx
je 0x4aab48
lea edx, [esi + 0x1c]
mov ecx, dword [edx]
bt dword [ecx], ebx
setb dl
test dl, 1
je 0x4aab48
mov edi, 1
cmp dword [esi + 0x28], 0
je 0x4aab64
lea ecx, [esi + 0x24]
mov edx, dword [ecx]
bt dword [edx], ebx
setb cl
test cl, 1
je 0x4aab64
or edi, 0x20
mov edx, dword [esi + 0x2c]
bt dword [edx], ebx
setb cl
test cl, 1
je 0x4aab78
or edi, 2
cmp dword [esi + 0x40], 0
je 0x4aab94
lea edx, [esi + 0x3c]
mov ecx, dword [edx]
bt dword [ecx], ebx
setb dl
test dl, 1
je 0x4aab94
or edi, 0x10
mov ecx, dword [esi + 0x34]
bt dword [ecx], ebx
setb dl
test dl, 1
je 0x4aaba8
or edi, 8
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.004b0e40
mov edi, dword [esp + 0x78]
add edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
add dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x7c]
cmp edx, dword [esp + 0x68]
jb 0x4aaaee
cmp byte [esp + 0x80], 0
je 0x4aac12
push ebp
mov eax, esi
call fcn.004ae018
mov ecx, dword [esi + 0x54]
mov byte [ecx + ebp], 0x10
mov ebx, dword [esi + 0x60]
mov edx, dword [esi + 0xa0]
mov dword [ebx + ebp*4], edx
mov dword [esi + 0xa0], ebp
inc dword [esi + 0x50]
inc dword [esp + 0x4c]
jmp 0x4aac39
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.004addd8
movzx ebx, byte [esp + 0x81]
lea ecx, [esi + ebx*4]
mov edi, dword [esi + 0x60]
mov edx, dword [ecx + 0x64]
mov dword [edi + ebp*4], edx
lea eax, [esi + ebx*4]
mov dword [eax + 0x64], ebp
add dword [esp + 0x74], 0x100
add dword [esp + 0x54], 0x1000
add dword [esp + 0x58], 0x20
inc ebp
cmp ebp, dword [esi + 0x4c]
jb 0x4aa823
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, dword [eax + 4]
jb 0x4aa5fe
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
sub dword [esi + 0xf8], ebx
lea eax, [ebx + edi]
sub dword [esi + 0xf4], edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x88
ret