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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x40
mov edi, ecx
movsx eax, byte [0x80ad7c]
test eax, eax
jne 0x417c0b
mov eax, dword [esp + 0x54]
mov ebx, dword [eax + 0x18]
sub ebx, dword [eax + 8]
add ebx, 1
mov edx, dword [eax + 0x20]
sub edx, dword [eax + 0x10]
add edx, 1
mov esi, dword [0x80ab84]
mov ebp, dword [0x80ab88]
test ebx, ebx
jle 0x417c0b
test edx, edx
jle 0x417c0b
test esi, esi
jle 0x417c0b
test ebp, ebp
jle 0x417c0b
mov eax, dword [edi]
test eax, eax
jne 0x417c15
movsx ecx, byte [0x80a7c8]
test ecx, ecx
je 0x417c15
movsx ecx, byte [0x80a7cc]
test ecx, ecx
je 0x417c15
cmp byte [0x80aab4], 1
je 0x417e99
cmp byte [0x80aab8], 1
je 0x417e99
xor eax, eax
mov dword [0x80aa18], eax
mov dword [0x80aa1c], eax
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
call fcn.00419848
test eax, eax
je 0x417c0b
movsx eax, byte [0x80a7c8]
test eax, eax
je 0x417bf8
push 0x8149dc
push 0x810270
call fcn.0040c598
add esp, 8
xor eax, eax
mov byte [0x80a80c], al
mov byte [0x5b7c34], 1
mov byte [0x80a7c8], al
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x54]
mov ebp, dword [ecx + 0x78]
mov dword [edi + 0x2c4], ebp
mov ebp, dword [ecx + 0x7c]
neg ebp
mov dword [edi + 0x2c8], ebp
test eax, eax
mov ebp, dword [esp + 0x3c]
jne 0x417c56
movsx eax, byte [0x80aab4]
cmp eax, 1
je 0x417eca
cmp byte [0x80aab8], 1
je 0x417eca
xor eax, eax
mov dword [0x80aa18], eax
mov dword [0x80aa1c], eax
cmp dword [edi], 0
jne 0x417e3e
cmp ebx, esi
jne 0x417c77
cmp edx, ebp
je 0x4181fc
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [edi + 0x2c4], esi
mov ebx, ebp
neg ebx
mov dword [edi + 0x2c8], ebx
cmp byte [0x5b7c34], 1
jne 0x417d9b
movzx ebx, byte [0x5d49f4]
test ebx, ebx
je 0x417d31
movzx ebx, byte [0x5b704c]
test ebx, ebx
je 0x417d31
mov dword [esp + 0xc], 0
lea ebx, [edx + edx]
add ebx, ebx
sub ebx, edx
lea ebx, [edx + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
mov dword [esp + 0x10], ebx
lea ebx, [eax + eax]
add ebx, ebx
sub ebx, eax
lea ebx, [eax + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea eax, [esi + esi]
add eax, eax
sub eax, esi
lea esi, [esi + eax*8]
add esi, esi
add esi, esi
mov dword [esp + 0x20], esi
lea eax, [ebp + ebp]
add eax, eax
sub eax, ebp
lea ebp, [ebp + eax*8]
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x80a9ec]
mov edx, dword [esp + 0x54]
mov edx, dword [edx + 0x90]
xor ecx, ecx
call fcn.00419224
jmp 0x417dd7
mov dword [esp + 0x38], edi
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea ecx, [edx + edi*8]
add ecx, ecx
lea ebx, [ecx + ecx - 0x64]
lea ecx, [eax + eax]
add ecx, ecx
sub ecx, eax
lea ecx, [eax + ecx*8]
add ecx, ecx
lea ecx, [ecx + ecx - 0x64]
lea edi, [esi + esi]
add edi, edi
sub edi, esi
lea esi, [esi + edi*8]
add esi, esi
add esi, esi
lea edi, [ebp + ebp]
add edi, edi
sub edi, ebp
lea ebp, [ebp + edi*8]
add ebp, ebp
add ebp, ebp
push ebp
push esi
push eax
push edx
push ecx
push ebx
xor eax, eax
push eax
push eax
mov edx, dword [esp + 0x74]
push dword [edx + 0x90]
push dword [0x80a9ec]
mov edi, dword [esp + 0x60]
call fcn.0041863c
add esp, 0x28
jmp 0x417dd7
mov dword [esp + 0xc], 0
lea ebx, [edx - 1]
mov dword [esp + 0x10], ebx
lea ebx, [eax - 1]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov eax, dword [0x80a9ec]
mov ebp, dword [esp + 0x54]
mov edx, dword [ebp + 0x90]
xor ecx, ecx
call fcn.00418290
push dword [edi + 0x2a4]
call dword [0x58f374]
mov ebx, eax
push 3
push ebx
call dword [0x58f05c]
mov eax, dword [0x80ab84]
mov esi, dword [0x80ab88]
lea edx, [edi + 0x2c0]
xor ebp, ebp
push 0xcc0020
push ebp
push edx
push dword [0x80a9ec]
push esi
push eax
push ebp
push ebp
push esi
push eax
push dword [0x80aa1c]
push dword [0x80aa18]
push ebx
call dword [0x58f060]
push ebx
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
push dword [edi + 0x2a4]
call dword [0x58f374]
mov ebp, eax
lea edx, [edi + 0x2c0]
xor eax, eax
push 0xcc0020
push eax
push edx
mov edx, dword [esp + 0x60]
push dword [edx + 0x90]
push ebx
push esi
push eax
push eax
push ebx
push esi
push dword [edx + 0x70]
push dword [edx + 0x68]
push ebp
call dword [0x58f060]
push ebp
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov eax, dword [0x80ab74]
sub eax, esi
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
mov dword [0x80aa18], eax
mov edx, dword [0x80ab78]
sub edx, ebp
mov ebp, edx
shr ebp, 0x1f
add edx, ebp
sar edx, 1
mov dword [0x80aa1c], edx
jmp 0x417bc8
mov ebx, dword [esp + 0x54]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x30], edx
mov ebx, dword [0x80ab74]
sub ebx, esi
mov edx, ebx
shr edx, 0x1f
add ebx, edx
sar ebx, 1
mov dword [0x80aa18], ebx
mov ebx, dword [0x80ab78]
sub ebx, ebp
mov edx, ebx
shr edx, 0x1f
add ebx, edx
sar ebx, 1
mov dword [0x80aa1c], ebx
movsx edx, byte [0x5b7c30]
test edx, edx
je 0x417f22
cmp byte [0x5b7c34], 1
je 0x418077
test eax, eax
jne 0x417f33
cmp byte [0x80aab8], 1
je 0x418077
test edx, edx
je 0x418005
movsx eax, byte [0x5b7c34]
test eax, eax
jne 0x418005
mov dword [edi + 0x2c4], esi
mov ebx, ebp
neg ebx
mov dword [edi + 0x2c8], ebx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x34]
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
lea eax, [ebx - 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov eax, dword [0x80a9ec]
mov ebp, dword [esp + 0x54]
mov edx, dword [ebp + 0x90]
xor ecx, ecx
call fcn.00418290
push dword [edi + 0x2a4]
call dword [0x58f374]
mov ebx, eax
push 3
push ebx
call dword [0x58f05c]
mov eax, dword [0x80ab84]
mov esi, dword [0x80ab88]
lea edx, [edi + 0x2c0]
xor ebp, ebp
push 0xcc0020
push ebp
push edx
push dword [0x80a9ec]
push esi
push eax
push ebp
push ebp
push esi
push eax
push dword [0x80aa1c]
push dword [0x80aa18]
push ebx
call dword [0x58f060]
push ebx
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
push dword [edi + 0x2a4]
call dword [0x58f374]
mov ebx, eax
push 3
push ebx
call dword [0x58f05c]
lea edx, [edi + 0x2c0]
xor eax, eax
push 0xcc0020
push eax
push edx
mov ebp, dword [esp + 0x60]
push dword [ebp + 0x90]
mov esi, dword [esp + 0x40]
push esi
mov edx, dword [esp + 0x48]
push edx
push eax
push eax
push dword [0x80ab88]
push dword [0x80ab84]
push dword [0x80aa1c]
push dword [0x80aa18]
push ebx
call dword [0x58f060]
push ebx
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dword [edi + 0x2c4], esi
mov eax, ebp
neg eax
mov dword [edi + 0x2c8], eax
movzx edx, byte [0x5d49f4]
test edx, edx
je 0x418123
movzx eax, byte [0x5b704c]
test eax, eax
je 0x418123
lea eax, [esi + esi]
add eax, eax
sub eax, esi
lea edx, [esi + eax*8]
add edx, edx
add edx, edx
lea eax, [ebp + ebp]
add eax, eax
sub eax, ebp
lea eax, [ebp + eax*8]
add eax, eax
add eax, eax
mov ebx, dword [esp + 0x34]
lea ebp, [ebx + ebx]
add ebp, ebp
sub ebp, ebx
lea ebp, [ebx + ebp*8]
add ebp, ebp
lea ebp, [ebp + ebp - 0x64]
mov esi, dword [esp + 0x30]
lea ecx, [esi + esi]
add ecx, ecx
sub ecx, esi
lea ecx, [esi + ecx*8]
add ecx, ecx
lea ecx, [ecx + ecx - 0x64]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [0x80a9ec]
mov edx, dword [esp + 0x54]
mov edx, dword [edx + 0x90]
xor ecx, ecx
call fcn.00419224
jmp 0x418195
mov dword [esp + 0x38], edi
lea ebx, [esi + esi]
add ebx, ebx
sub ebx, esi
lea ecx, [esi + ebx*8]
add ecx, ecx
add ecx, ecx
lea edi, [ebp + ebp]
add edi, edi
sub edi, ebp
lea edx, [ebp + edi*8]
add edx, edx
add edx, edx
mov eax, dword [esp + 0x34]
lea ebx, [eax + eax]
add ebx, ebx
sub ebx, eax
lea ebx, [eax + ebx*8]
add ebx, ebx
lea esi, [ebx + ebx - 0x64]
mov ebp, dword [esp + 0x30]
lea ebx, [ebp + ebp]
add ebx, ebx
sub ebx, ebp
lea ebx, [ebp + ebx*8]
add ebx, ebx
lea ebx, [ebx + ebx - 0x64]
xor edi, edi
push edx
push ecx
push ebp
push eax
push ebx
push esi
push edi
push edi
mov eax, dword [esp + 0x74]
push dword [eax + 0x90]
push dword [0x80a9ec]
mov edi, dword [esp + 0x60]
call fcn.0041863c
add esp, 0x28
push dword [edi + 0x2a4]
call dword [0x58f374]
mov ebx, eax
push 3
push ebx
call dword [0x58f05c]
mov eax, dword [0x80ab84]
mov esi, dword [0x80ab88]
lea edx, [edi + 0x2c0]
xor ebp, ebp
push 0xcc0020
push ebp
push edx
push dword [0x80a9ec]
push esi
push eax
push ebp
push ebp
push esi
push eax
push dword [0x80aa1c]
push dword [0x80aa18]
push ebx
call dword [0x58f060]
push ebx
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4
push dword [edi + 0x2a4]
mov dword [esp + 0x38], edx
call dword [0x58f374]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edi
lea ecx, [edi + 0x2c0]
mov eax, dword [esp + 0x54]
mov edi, dword [0x80aa18]
add edi, dword [eax + 0x68]
mov dword [esp + 0x28], edi
mov edi, dword [0x80aa1c]
add edi, dword [eax + 0x70]
mov dword [esp + 0x2c], edi
xor edi, edi
push 0xcc0020
push edi
push ecx
push dword [eax + 0x90]
push edx
push ebx
push edi
push edi
push ebp
push esi
mov edx, dword [esp + 0x54]
push edx
mov ebx, dword [esp + 0x54]
push ebx
mov ebp, dword [esp + 0x60]
push ebp
mov edi, dword [esp + 0x6c]
call dword [0x58f060]
mov eax, ebp
push eax
push dword [edi + 0x2a4]
call dword [0x58f378]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret 4