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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e146
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4643c8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4643c8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov eax, esi
mov dword [esp + 0x20], esi
call fcn.0040a8f0
xor ebx, ebx
mov edi, eax
mov dword [esp + 0xc0], ebx
call fcn.00412f00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
push 0x20
call eax
movzx ecx, ax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
cmp eax, ebx
je 0x40ac6b
mov edi, eax
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
call fcn.00435810
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x40ac47
cmp eax, 0xffffffff
jae 0x40ac47
dec eax
mov dword [edi + 4], eax
mov edi, dword [edi + 4]
neg edi
sbb edi, edi
not edi
and edi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
call fcn.00435838
cmp edi, ebx
je 0x40ac6b
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40ad3f
mov eax, 7
or edi, 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
mov ax, word [esp + 0x20]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
mov byte [esp + 0x94], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 6
mov dword [esp + 0x80], ebx
mov word [esp + 0x84], ax
mov dword [esp + 0x88], 0x201
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0x7fffffff
mov dword [esp + 0xa4], ebx
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0xc4], 1
call fcn.0040c4b0
lea esi, [esp + 0x34]
mov dword [esp + 0xc0], edi
call fcn.00409bd0
jmp 0x40ae14
mov edi, dword [ebp + 8]
cmp edi, eax
jbe 0x40ad65
mov edx, dword [esp + 0x20]
sub esp, 0x78
mov eax, esp
mov dword [esp + 0x9c], esp
push edx
call fcn.00409e40
mov edx, edi
mov ecx, esi
call fcn.00409d40
cmp dword [esi + 0x20], ebx
lea edi, [esi + 0x10]
jbe 0x40ad9f
lea eax, [esp + 0x2c]
mov ecx, edi
call fcn.0040c2e0
mov ecx, dword [edi]
mov edx, ebx
and edx, 0x1f
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
push ecx
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x3c], ecx
call fcn.0040c330
mov eax, dword [ebp + 8]
cmp eax, ebx
jbe 0x40ae18
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
jmp 0x40adb4
mov esi, dword [esp + 0x1c]
mov edi, dword [esi]
add edi, dword [esp + 0x14]
or eax, 0xffffffff
lea esi, [edi + 4]
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 0x7fffffff
mov dword [edi + 0x70], ebx
call fcn.004135a0
lea esi, [edi + 0x20]
or eax, 0xffffffff
xor ecx, ecx
call fcn.004135a0
mov cx, word [esp + 0x20]
add dword [esp + 0x14], 0x78
dec dword [esp + 0x18]
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], 6
mov dword [edi + 0x4c], ebx
mov word [edi + 0x50], cx
mov dword [edi + 0x54], 0x201
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x58], ebx
jne 0x40adb0
mov esi, dword [esp + 0x1c]
add esi, 0x34
or eax, 0xffffffff
xor ecx, ecx
call fcn.004135a0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00436268
mov esp, ebp
pop ebp
ret 4