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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [eax]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], edx
mov esi, dword [esi]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
mov dword [esp + 0x48], 0
mov dword [esp], esi
xor esi, esi
cmp byte [eax], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], 0
je 0x10aa8b8
mov eax, dword [esp]
xor ebx, ebx
cmp byte [eax], 1
je 0x10aa89a
mov eax, dword [esp + 0x3c]
mov edi, dword [esp]
mov ecx, esi
xor eax, 1
and eax, 1
mov byte [esp + 0x3b], al
lea esi, [esi]
cmp ebx, ecx
je 0x10aa438
jg 0x10aa590
movzx edx, byte [edi]
test dl, 0xfe
je 0x10aa411
lea esi, [esi]
add edi, 1
mov eax, edx
movzx edx, byte [edi]
and eax, 0xffffff80
or eax, edx
test al, 0xfe
jne 0x10aa400
lea esi, [edi + 1]
test dl, dl
je 0x10aa8da
movzx ebx, byte [edi + 1]
test bl, bl
js 0x10aa759
mov dword [esp + 0x4c], ebx
mov eax, 1
lea edi, [esi + eax]
cmp ebx, ecx
jne 0x10aa3ec
mov esi, ebp
test ebx, ebx
jne 0x10aa83e
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x50]
mov eax, ebx
call fcn.0109bd80
mov edx, dword [esp + 0x54]
add ebx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
add eax, 0xfffffffe
adc edx, 0xffffffff
mov dword [esp + 8], eax
mov eax, edi
mov dword [esp + 0xc], edx
lea edx, [esp + 0x50]
call fcn.0109bd80
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0xc]
add ecx, 0xfffffffe
adc ebx, 0xffffffff
mov dword [esp], ecx
mov dword [esp + 4], ebx
test eax, eax
js 0x10aa8eb
test ebx, ebx
js 0x10aa8eb
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edi
lea esi, cs:[esi]
nop
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
mov ecx, edx
mov edx, eax
mov ebx, eax
mov eax, dword [esp]
mov dword [esp + 0x10], edx
mov edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 4]
xor eax, ebx
xor edx, ecx
or eax, edx
je 0x10aa5f0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x10aa663
mov ecx, dword [esp]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
cmp eax, ecx
mov edi, edx
sbb edi, ebx
jge 0x10aa69c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp eax, ecx
mov eax, edx
sbb eax, ebx
jge 0x10aa5f0
mov eax, dword [esp + 0x20]
movzx edx, byte [eax]
test dl, 0xfe
je 0x10aa787
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x50]
mov eax, edi
call fcn.0109bd80
mov edx, dword [esp + 0xc]
add edi, eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
add eax, 0xfffffffe
mov dword [esp + 0x20], edi
adc edx, 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
jmp 0x10aa4d0
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx]
test dl, 0xfe
je 0x10aa5b5
lea esi, [esi]
add ecx, 1
mov eax, edx
movzx edx, byte [ecx]
and eax, 0xffffff80
or eax, edx
test al, 0xfe
jne 0x10aa5a0
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
lea esi, [eax + 1]
test dl, dl
je 0x10aa7c4
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 1]
test al, al
js 0x10aa773
movzx ecx, al
mov eax, 1
mov dword [esp + 0x48], ecx
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x10aa3e8
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
test edx, edx
je 0x10aa617
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ecx, 2
adc ebx, 0
sub ecx, dword [esp + 0x30]
sbb ebx, dword [esp + 0x34]
lea esi, [esi]
mov eax, ecx
mov ebp, esi
mov edi, ecx
add esi, 1
or eax, 0xffffff80
shrd ecx, ebx, 7
mov byte [esi - 1], al
shr ebx, 7
mov eax, ecx
or eax, ebx
jne 0x10aa630
mov eax, edi
mov edx, dword [esp + 0x1c]
mov byte [ebp], al
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
cmp byte [esp + 0x3b], 0
je 0x10aa681
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
cmp eax, ecx
mov eax, edx
sbb eax, ebx
jge 0x10aa69c
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
cmp eax, ecx
mov eax, edx
sbb eax, ebx
jl 0x10aa53e
mov ebx, dword [esp + 0x24]
movzx eax, byte [ebx]
test al, 0xfe
je 0x10aa6d9
lea edx, [esp + 0x50]
mov eax, ebx
call fcn.0109bd80
mov edx, dword [esp + 4]
add ebx, eax
mov eax, dword [esp]
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
add eax, 0xfffffffe
mov dword [esp + 0x24], ebx
adc edx, 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x10aa4d0
mov ebx, dword [esp + 0x20]
test ebp, ebp
mov edi, dword [esp + 0x24]
cmove ebp, esi
movzx edx, byte [ebx]
test dl, 0xfe
je 0x10aa709
nop
and edx, 0xffffff80
add ebx, 1
mov ecx, edx
movzx edx, byte [ebx]
or ecx, edx
and ecx, 0xfe
jne 0x10aa6f0
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x20]
add esi, 1
test dl, dl
je 0x10aa7c4
lea esi, cs:[esi]
test al, al
je 0x10aa7c4
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 1]
test al, al
js 0x10aa886
movzx ecx, al
mov eax, 1
mov dword [esp + 0x48], ecx
add eax, esi
lea esi, [edi + 1]
mov dword [esp + 0x20], eax
movzx ebx, byte [edi + 1]
test bl, bl
jns 0x10aa428
lea edx, [esp + 0x4c]
mov eax, esi
mov dword [esp], ecx
call fcn.0109bea0
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp]
jmp 0x10aa431
lea edx, [esp + 0x48]
mov eax, esi
call fcn.0109bea0
mov ecx, dword [esp + 0x48]
jmp 0x10aa5e0
mov edi, dword [esp + 0x24]
test ebp, ebp
cmove ebp, esi
movzx eax, byte [edi]
test al, 0xfe
je 0x10aa709
lea esi, cs:[esi]
and eax, 0xffffff80
add edi, 1
mov ecx, eax
movzx eax, byte [edi]
or ecx, eax
and ecx, 0xfe
jne 0x10aa7a0
mov esi, dword [esp + 0x20]
add esi, 1
test dl, dl
jne 0x10aa720
mov eax, edi
mov dword [esp], edi
mov edi, esi
lea ecx, [eax + 1]
mov eax, dword [esp]
movzx eax, byte [eax]
test al, al
je 0x10aa7f0
lea esi, cs:[esi]
and eax, 0xffffff80
add ecx, 1
mov edx, eax
movzx eax, byte [ecx - 1]
or dl, al
jne 0x10aa7e0
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
test al, al
je 0x10aa810
lea esi, cs:[esi]
and eax, 0xffffff80
add edi, 1
mov edx, eax
movzx eax, byte [edi - 1]
or dl, al
jne 0x10aa800
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x44]
mov dword [eax], edi
mov eax, dword [esp + 0x78]
mov dword [eax], ecx
cmp dword [esi], ebp
je 0x10aa901
mov byte [ebp], 0
lea ebp, [ebp + 1]
mov eax, 1
mov dword [esi], ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ebp], 1
mov ecx, ebx
lea esi, [ebp + 1]
sar ebx, 0x1f
mov dword [esp], ebp
mov dword [esp + 8], edi
lea esi, [esi]
mov eax, ecx
mov edi, esi
mov ebp, ecx
add esi, 1
or eax, 0xffffff80
shrd ecx, ebx, 7
mov byte [esi - 1], al
shr ebx, 7
mov eax, ecx
or eax, ebx
jne 0x10aa858
mov eax, ebp
mov ebx, edi
mov ebp, dword [esp]
mov edi, dword [esp + 8]
mov byte [ebx], al
jmp 0x10aa442
lea edx, [esp + 0x48]
mov eax, esi
call fcn.0109bea0
mov ecx, dword [esp + 0x48]
jmp 0x10aa744
movzx ebx, byte [eax + 1]
lea edi, [eax + 1]
test bl, bl
js 0x10aa91c
mov dword [esp + 0x4c], ebx
mov eax, 1
add eax, edi
mov dword [esp], eax
jmp 0x10aa3d1
lea ebx, [eax + 1]
movzx eax, byte [eax + 1]
test al, al
js 0x10aa90b
movzx esi, al
mov eax, 1
mov dword [esp + 0x48], esi
add eax, ebx
mov dword [esp + 0x20], eax
jmp 0x10aa3c3
mov eax, dword [esp + 0x20]
mov dword [esp], edi
mov ecx, esi
lea edi, [eax + 1]
jmp 0x10aa7ce
mov ebp, esi
mov esi, dword [esp + 0x20]
mov eax, edi
mov dword [esp], edi
lea ecx, [eax + 1]
lea edi, [esi + 1]
jmp 0x10aa7ce
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x48]
mov eax, ebx
call fcn.0109bea0
mov esi, dword [esp + 0x48]
jmp 0x10aa8cf
lea edx, [esp + 0x4c]
mov eax, edi
call fcn.0109bea0
mov ebx, dword [esp + 0x4c]
jmp 0x10aa8ae