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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [eax + 0x2c]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call edx
mov edi, dword [ebp + 8]
cmp byte [0x58967b], bl
je 0x4aeb2d
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x589770]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x4ae741
cmp eax, 1
jne 0x4ae74b
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov eax, 0x55555556
imul edx
mov eax, dword [0x5818d8]
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x5818d0]
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [0x5818dc]
sub eax, dword [0x5818d4]
mov dword [esp + 0x38], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
cmp byte [ecx + 0x274], bl
je 0x4ae790
lea ecx, [esi + esi]
jmp 0x4ae79d
movzx ecx, byte [ecx + 0x275]
neg ecx
sbb ecx, ecx
and ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [0x556434]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x556438]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x55643c]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x556440]
push ebx
mov dword [esp + 0x60], ecx
mov ecx, 2
push ecx
push ecx
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ebx, dword [0x5818d4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
call fcn.0044b370
mov eax, dword [0x5818d4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [0x5818d0]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x2c]
call fcn.00449410
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5818d0]
mov edx, dword [esp + 0x10]
mov ebx, dword [0x5818d4]
push 0
push 2
push 1
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
add ecx, edx
push 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov eax, dword [esp + 0x3c]
mov edx, dword [0x5818d4]
mov ecx, dword [esp + 0x34]
sub eax, esi
push edx
mov edx, dword [0x5818d0]
add ecx, eax
mov eax, dword [esp + 0x20]
add edx, eax
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x58], ecx
call fcn.00449410
mov eax, dword [0x5818d8]
mov edx, dword [esp + 0x10]
push 0
push 2
push 2
mov ecx, esi
sub ecx, eax
push ecx
push 0xffffffffffffffff
push 0
add eax, edx
mov ebx, dword [0x5818d4]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov eax, dword [0x5818d4]
push eax
mov eax, dword [0x5818d8]
mov ecx, esi
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x2c]
call fcn.00449410
mov eax, dword [0x5818d4]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
push 0
push 1
lea edx, [eax + ecx]
mov ecx, dword [0x5818d0]
push 2
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add eax, ebx
push eax
push ecx
mov ecx, dword [0x5818d0]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
call fcn.00449410
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5818d4]
mov edx, dword [0x5818d0]
push 0
push 1
push 1
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
add edx, eax
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [0x5818d0]
push ecx
add eax, edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.00449410
mov eax, dword [0x5818d8]
push 0
push 1
mov edx, esi
push 2
sub edx, eax
push edx
push 0xffffffffffffffff
mov ecx, dword [0x5818d4]
mov edx, dword [esp + 0x24]
push ecx
add eax, edx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [0x5818d8]
mov ecx, esi
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x24]
call fcn.00449410
mov ecx, dword [0x5818dc]
mov ebx, dword [esp + 0x30]
mov eax, ecx
sub eax, ebx
add eax, dword [esp + 0x40]
push 0
add eax, dword [esp + 0x24]
push 2
push 2
mov dword [esp + 0x24], eax
mov eax, dword [0x5818d0]
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ecx
sub ebx, ecx
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov edx, dword [esp + 0x30]
sub edx, dword [0x5818dc]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [0x5818d0]
call fcn.00449410
mov edx, dword [esp + 0x34]
mov eax, dword [0x5818dc]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push 2
push 1
push edx
push 0xffffffffffffffff
push eax
sub ebx, eax
mov eax, dword [0x5818d0]
add eax, ecx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov edx, dword [esp + 0x30]
sub edx, dword [0x5818dc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x5818d0]
push edx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
call fcn.00449410
push 0
mov ecx, dword [0x5818d8]
mov eax, dword [0x5818dc]
mov ebx, dword [esp + 0x34]
push 2
push 2
mov edx, esi
sub edx, ecx
push edx
push 0xffffffffffffffff
push eax
sub ebx, eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0044b370
mov eax, dword [esp + 0x30]
sub eax, dword [0x5818dc]
mov ecx, esi
push eax
mov eax, dword [0x5818d8]
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x24]
call fcn.00449410
mov esi, dword [esp + 0x44]
xor ebx, ebx
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x278]
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x27c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x28]
cmp byte [esi + 0x140], bl
je 0x4aeb85
add esi, 0x30
jmp 0x4aeb88
mov esi, dword [esi + 0x2c]
mov edx, dword [0x589764]
mov ecx, dword [0x589758]
push 0xff
push 0x25
push ebx
push edx
push ecx
lea edx, [esp + 0xac]
push edx
push eax
add esi, 4
push esi
mov ecx, edi
call fcn.00446810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc