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

Disassembly:
sub esp, 0x6c
mov al, byte [0xa77afc]
push ebx
neg al
sbb al, al
push ebp
and eax, 0x40
push esi
mov byte [esp + 0x1c], al
push edi
xor eax, eax
push 0x7f02
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
mov al, byte [0xa77b44]
test al, al
je 0x40f152
mov eax, 0x46
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov edx, eax
jmp 0x40f16f
movsx eax, word [0xa77ae4]
movsx ecx, word [0xa77ae6]
movsx edx, word [0xa77ae8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
lea ebp, [eax + eax + 1]
mov eax, dword [esp + 0x80]
lea edi, [ecx + ecx + 1]
lea esi, [edx + edx + 1]
test eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
jne 0x40f42a
mov eax, dword [0x871178]
test eax, eax
je 0x40f1b2
push 2
push 0xbc3ac0
call fcn.0044ceb0
add esp, 8
mov eax, dword [0x87117c]
test eax, eax
je 0x40f1ca
push 3
push 0xbc3ad0
call fcn.0044ceb0
add esp, 8
mov eax, dword [0x871180]
test eax, eax
je 0x40f1e2
push 4
push 0xbd3d10
call fcn.0044ceb0
add esp, 8
mov eax, dword [0x871184]
test eax, eax
je 0x40f1fa
push 5
push 0xbc3ae0
call fcn.0044ceb0
add esp, 8
and esi, 0xffff
and edi, 0xffff
push 2
add esi, 2
and ebp, 0xffff
push 1
add edi, 2
push 0xc
add ebp, 2
push esi
push edi
push ebp
push 0xbc3ac0
call fcn.0044c9b0
add esp, 0x1c
test eax, eax
je 0x40f23b
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x40f368
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x40f391
push 3
push 1
push 0xc
push esi
push edi
push ebp
push 0xbc3ad0
call fcn.0044c9b0
add esp, 0x1c
test eax, eax
je 0x40f2a4
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push 2
push 0xbc3ac0
call fcn.0044ceb0
add esp, 8
push 0x30
push str.PiView___Ultrasound_3D
push 0x6c
call fcn.0044b970
mov ecx, dword [0xa77b48]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret
mov eax, dword [0x870e34]
test eax, eax
jne 0x40f391
push 4
push 1
push 0xc
push esi
push edi
push ebp
push 0xbd3d10
call fcn.0044c9b0
add esp, 0x1c
test eax, eax
je 0x40f317
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push 2
push 0xbc3ac0
call fcn.0044ceb0
push 3
push 0xbc3ad0
call fcn.0044ceb0
add esp, 0x10
push 0x30
push str.PiView___Ultrasound_3D
push 0x6c
call fcn.0044b970
mov edx, dword [0xa77b48]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret
mov eax, dword [0x870e34]
test eax, eax
jne 0x40f391
push 5
push 1
push 0xc
push esi
push edi
push ebp
push 0xbc3ae0
call fcn.0044c9b0
add esp, 0x1c
test eax, eax
je 0x40f391
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push 2
push 0xbc3ac0
call fcn.0044ceb0
push 3
push 0xbc3ad0
call fcn.0044ceb0
push 4
push 0xbd3d10
call fcn.0044ceb0
add esp, 0x18
push 0x30
push str.PiView___Ultrasound_3D
push 0x6c
call fcn.0044b970
add esp, 4
push eax
mov eax, dword [0xa77b48]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret
mov ecx, dword [0xa66fc4]
mov edx, dword [0xa66fc8]
mov eax, dword [0xa66fcc]
mov dword [0x745a74], ecx
mov ecx, dword [0xa66fb8]
mov dword [0x745a78], edx
mov edx, dword [0xa66fbc]
mov dword [0x745a7c], eax
mov eax, dword [0xa66fc0]
mov dword [0x745b38], ecx
mov ecx, dword [0xa66fac]
mov dword [0x745b3c], edx
mov edx, dword [0xa66fb0]
mov dword [0x745b40], eax
mov eax, dword [0xa66fb4]
mov dword [0x745a80], ecx
mov ecx, dword [0xa66fa0]
mov dword [0x745a84], edx
mov edx, dword [0xa66fa4]
mov dword [0x745a88], eax
mov eax, dword [0xa66fa8]
mov dword [0x745a10], ecx
mov ecx, dword [0xa66fd0]
mov dword [0x745a14], edx
mov dword [0x745a18], eax
mov dword [0x745ad4], ecx
jmp 0x40f4be
mov edx, dword [0xa77ac4]
mov eax, dword [0xa77ac8]
mov ecx, dword [0xa77acc]
mov dword [0x745a74], edx
mov edx, dword [0xa77ab8]
mov dword [0x745a78], eax
mov eax, dword [0xa77abc]
mov dword [0x745a7c], ecx
mov ecx, dword [0xa77ac0]
mov dword [0x745b38], edx
mov edx, dword [0xa77aac]
mov dword [0x745b3c], eax
mov eax, dword [0xa77ab0]
mov dword [0x745b40], ecx
mov ecx, dword [0xa77ab4]
mov dword [0x745a80], edx
mov edx, dword [0xa77aa0]
mov dword [0x745a84], eax
mov eax, dword [0xa77aa4]
mov dword [0x745a88], ecx
mov ecx, dword [0xa77aa8]
mov dword [0x745a10], edx
mov edx, dword [0xa77ad0]
mov dword [0x745a14], eax
mov dword [0x745a18], ecx
mov dword [0x745ad4], edx
mov al, byte [0xa77b44]
test al, al
je 0x40f622
movsx eax, byte [0xb5eb44]
sub eax, 0x61
je 0x40f58f
dec eax
je 0x40f52e
dec eax
jne 0x40f5f5
mov eax, dword [0xb5da6c]
mov ecx, dword [0xb5da70]
mov edx, dword [0xb5da74]
mov dword [0x745b38], eax
mov eax, dword [0xb5da60]
mov dword [0x745b3c], ecx
mov ecx, dword [0xb5da64]
mov dword [0x745b40], edx
mov edx, dword [0xb5da68]
mov dword [0x745a80], eax
mov dword [0x745a84], ecx
mov dword [0x745a88], edx
jmp 0x40f5d3
mov eax, dword [0xb5da6c]
mov ecx, dword [0xb5da70]
mov edx, dword [0xb5da74]
mov dword [0x745a10], eax
mov eax, dword [0xb5da60]
mov dword [0x745a14], ecx
mov ecx, dword [0xb5da64]
mov dword [0x745a18], edx
mov edx, dword [0xb5da68]
mov dword [0x745b38], eax
mov dword [0x745b3c], ecx
mov dword [0x745b40], edx
xor eax, eax
mov ecx, 3
fld dword [eax + 0xb5da54]
fchs
fstp dword [eax + 0x745a80]
add eax, 4
dec ecx
jne 0x40f579
jmp 0x40f5f5
mov eax, dword [0xb5da6c]
mov ecx, dword [0xb5da70]
mov edx, dword [0xb5da74]
mov dword [0x745a80], eax
mov eax, dword [0xb5da60]
mov dword [0x745a84], ecx
mov ecx, dword [0xb5da64]
mov dword [0x745a88], edx
mov edx, dword [0xb5da68]
mov dword [0x745b38], eax
mov dword [0x745b3c], ecx
mov dword [0x745b40], edx
mov eax, dword [0xb5da54]
mov ecx, dword [0xb5da58]
mov edx, dword [0xb5da5c]
mov dword [0x745a10], eax
mov dword [0x745a14], ecx
mov dword [0x745a18], edx
mov eax, dword [0xb5eb34]
mov ecx, dword [0xb5eb38]
mov edx, dword [0xb5eb3c]
mov dword [0x745a74], eax
mov dword [0x745a78], ecx
mov dword [0x745a7c], edx
call fcn.0041b940
fstp dword [0x745ad4]
fld dword [0x745ad4]
fstp qword [0x745a38]
fld dword [0x745a10]
fmul qword [0x745a38]
fstp qword [0x745a20]
fld dword [0x745a14]
fmul qword [0x745a38]
fstp qword [0x745a28]
fld dword [0x745a18]
fmul qword [0x745a38]
fstp qword [0x745a30]
fld dword [0x745a80]
fmul qword [0x745a38]
fchs
fstp qword [0x745aa0]
fld dword [0x745a84]
fmul qword [0x745a38]
fchs
fstp qword [0x745aa8]
fld dword [0x745a88]
fmul qword [0x745a38]
fchs
fstp qword [0x745ab0]
fld dword [0x745b38]
fmul qword [0x745a38]
fstp qword [0x745a50]
fld dword [0x745b3c]
fmul qword [0x745a38]
fstp qword [0x745a58]
fld dword [0x745b40]
fmul qword [0x745a38]
fstp qword [0x745a60]
fild dword [esp + 0x2c]
fstp qword [0x745a68]
fild dword [esp + 0x28]
fstp qword [0x745a08]
fild dword [esp + 0x24]
fstp qword [0x745b30]
fld dword [0x745a74]
fld qword [0x745a68]
fmul qword [0x745a20]
fsubp st(1)
fld qword [0x745a08]
fmul qword [0x745aa0]
fsubp st(1)
fld qword [0x745b30]
fmul qword [0x745a50]
fsubp st(1)
fstp qword [0x745b10]
fld dword [0x745a78]
fld qword [0x745a68]
fmul qword [0x745a28]
fsubp st(1)
fld qword [0x745a08]
fmul qword [0x745aa8]
fsubp st(1)
fld qword [0x745b30]
fmul qword [0x745a58]
fsubp st(1)
fstp qword [0x745b18]
fld dword [0x745a7c]
fld qword [0x745a68]
fmul qword [0x745a30]
fsubp st(1)
fld qword [0x745a08]
fmul qword [0x745ab0]
fsubp st(1)
fld qword [0x745b30]
fmul qword [0x745a60]
fsubp st(1)
fstp qword [0x745b20]
fld qword [0x745b10]
fmul qword [0x46c518]
call fcn.00460494
fld qword [0x745b18]
fmul qword [0x46c518]
mov esi, eax
mov dword [0x745ab8], esi
call fcn.00460494
mov edi, eax
mov dword [0x745abc], edi
fld qword [0x745b20]
fmul qword [0x46c518]
call fcn.00460494
fld qword [0x745a20]
fmul qword [0x46c518]
mov ebp, eax
mov dword [0x745ac0], ebp
call fcn.00460494
fld qword [0x745a28]
fmul qword [0x46c518]
mov dword [0x745a40], eax
call fcn.00460494
fld qword [0x745a30]
fmul qword [0x46c518]
mov dword [0x745a44], eax
call fcn.00460494
fld qword [0x745aa0]
fmul qword [0x46c518]
mov dword [0x745a48], eax
call fcn.00460494
fld qword [0x745aa8]
fmul qword [0x46c518]
mov dword [0x745b00], eax
call fcn.00460494
fld qword [0x745ab0]
fmul qword [0x46c518]
mov dword [0x745b04], eax
call fcn.00460494
fld qword [0x745a50]
fmul qword [0x46c518]
mov dword [0x745b08], eax
call fcn.00460494
fld qword [0x745a58]
fmul qword [0x46c518]
mov dword [0x745ae8], eax
call fcn.00460494
fld qword [0x745a60]
fmul qword [0x46c518]
mov dword [0x745aec], eax
call fcn.00460494
mov dword [0x745af0], eax
mov eax, dword [0xa77a68]
shl eax, 0xa
mov dword [esp + 0x50], eax
mov eax, dword [0xa77a90]
shl eax, 0xa
mov dword [esp + 0x54], eax
mov eax, dword [0xa77b50]
shl eax, 0xa
mov dword [esp + 0x58], eax
mov al, byte [0xa77afc]
test al, al
mov dword [0x745a8c], esi
mov dword [0x745a90], edi
mov dword [0x745a94], ebp
je 0x40fad6
mov eax, dword [esp + 0x1c]
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0x10], ecx
lea ebp, [eax + 1]
test ebp, ebp
mov dword [esp + 0x2c], ebp
jl 0x40f99d
mov edx, dword [esp + 0x14]
and edx, 0xffff
lea edi, [edx + 1]
xor edx, edx
test edi, edi
jl 0x40f988
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and eax, 0xffff
lea esi, [eax*4 + 4]
xor eax, eax
shl ecx, 2
mov ebx, dword [0xbc3ac4]
mov ebp, dword [0xbc3ac0]
mov ebx, dword [ebx + eax*4]
add ebx, dword [ecx + ebp]
mov ebp, dword [0xbc3ac8]
mov ebp, dword [ebp]
mov byte [ebx + ebp], 0x40
mov ebx, dword [0xbc3ac8]
mov ebp, dword [0xbc3ac4]
mov ebx, dword [esi + ebx]
add ebx, dword [ebp + eax*4]
mov eax, dword [0xbc3ac0]
inc edx
mov eax, dword [ecx + eax]
mov byte [ebx + eax], 0x40
mov eax, edx
and eax, 0xffff
cmp eax, edi
jle 0x40f936
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
inc ecx
mov edx, ecx
mov dword [esp + 0x10], ecx
and edx, 0xffff
cmp edx, ebp
jle 0x40f915
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x10], ecx
jl 0x40fa3f
mov eax, dword [esp + 0x18]
and eax, 0xffff
lea edi, [eax + 1]
xor edx, edx
test edi, edi
jl 0x40fa2a
mov eax, dword [esp + 0x14]
and ecx, 0xffff
and eax, 0xffff
lea esi, [eax*4 + 4]
xor eax, eax
shl ecx, 2
mov ebx, dword [0xbc3ac8]
mov ebp, dword [0xbc3ac0]
mov ebx, dword [ebx + eax*4]
add ebx, dword [ecx + ebp]
mov ebp, dword [0xbc3ac4]
mov ebp, dword [ebp]
mov byte [ebx + ebp], 0x40
mov ebx, dword [0xbc3ac4]
mov ebp, dword [0xbc3ac8]
mov ebx, dword [esi + ebx]
add ebx, dword [ebp + eax*4]
mov eax, dword [0xbc3ac0]
inc edx
mov eax, dword [ecx + eax]
mov byte [ebx + eax], 0x40
mov eax, edx
and eax, 0xffff
cmp eax, edi
jle 0x40f9d8
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
inc ecx
mov edx, ecx
mov dword [esp + 0x10], ecx
and edx, 0xffff
cmp edx, ebp
jle 0x40f9b7
mov eax, dword [esp + 0x14]
xor ecx, ecx
and eax, 0xffff
mov dword [esp + 0x2c], ecx
inc eax
test eax, eax
mov dword [esp + 0x4c], eax
jl 0x40fad6
mov edx, dword [esp + 0x18]
and edx, 0xffff
lea esi, [edx + 1]
xor edx, edx
test esi, esi
jl 0x40fac5
and ecx, 0xffff
xor eax, eax
shl ecx, 2
mov edi, dword [0xbc3ac8]
mov ebx, dword [0xbc3ac4]
mov edi, dword [edi + eax*4]
add edi, dword [ecx + ebx]
mov ebx, dword [0xbc3ac0]
mov ebx, dword [ebx]
mov byte [edi + ebx], 0x40
mov edi, dword [0xbc3ac0]
mov ebx, dword [0xbc3ac8]
mov edi, dword [edi + ebp*4]
add edi, dword [ebx + eax*4]
mov eax, dword [0xbc3ac4]
inc edx
mov eax, dword [ecx + eax]
mov byte [edi + eax], 0x40
mov eax, edx
and eax, 0xffff
cmp eax, esi
jle 0x40fa75
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
inc ecx
mov edx, ecx
mov dword [esp + 0x2c], ecx
and edx, 0xffff
cmp edx, eax
jle 0x40fa64
mov eax, dword [0x870e98]
shl eax, 8
add eax, 0xa67020
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
cmp ax, 1
jb 0x40ff23
mov edx, dword [esp + 0x18]
and eax, 0xffff
mov dword [esp + 0x4c], eax
lea ecx, [eax*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
xor edi, edi
xor esi, esi
xor eax, eax
cmp dx, 1
mov dword [0x745acc], edi
mov dword [0x745ac8], esi
mov dword [0x745ac4], eax
jb 0x40fea7
mov ebx, edx
mov dword [esp + 0x28], 4
and ebx, 0xffff
mov dword [esp + 0x40], ebx
mov ebx, dword [0x745a8c]
add eax, ebx
mov ebx, dword [0x745a90]
add esi, ebx
mov ebx, dword [0x745a94]
add edi, ebx
cmp cx, 1
mov dword [0x745af4], eax
mov dword [0x745af8], esi
mov dword [0x745afc], edi
jb 0x40fe53
and ecx, 0xffff
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], ecx
test eax, eax
jl 0x40fdb7
test esi, esi
jl 0x40fdb7
test edi, edi
jl 0x40fdb7
cmp eax, dword [esp + 0x50]
jg 0x40fdb7
cmp esi, dword [esp + 0x54]
jg 0x40fdb7
cmp edi, dword [esp + 0x58]
jg 0x40fdb7
mov ecx, eax
mov edx, esi
sar ecx, 0xa
mov ebx, edi
mov byte [esp + 0x5c], cl
sar edx, 0xa
sar ebx, 0xa
mov byte [esp + 0x60], dl
inc cl
inc dl
mov byte [esp + 0x70], cl
mov ecx, dword [0xa7bba8]
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x64], bl
and edx, 0xff
inc bl
sar eax, 6
mov ebp, dword [ecx + edx*4]
mov edx, dword [esp + 0x60]
mov ecx, dword [0xa7bba4]
and edx, 0xff
and eax, 0xf
mov byte [esp + 0x68], bl
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x64]
mov ebx, dword [0xa7bba0]
and ecx, 0xff
sar esi, 6
mov ecx, dword [ebx + ecx*4]
and esi, 0xf
shl eax, 4
or eax, esi
mov esi, dword [esp + 0x20]
shl eax, 4
sar edi, 6
and eax, 0xffff
and edi, 0xf
mov dword [esp + 0x10], ecx
or eax, edi
mov dword [esp + 0x30], edx
add ecx, edx
xor edx, edx
and esi, 0xff
mov dl, byte [ecx + ebp]
shl eax, 4
add eax, 0xa67700
cmp edx, esi
sete cl
xor edi, edi
mov di, word [eax]
add eax, 2
imul edi, edx
mov edx, dword [esp + 0x68]
and edx, 0xff
mov ebx, dword [ebx + edx*4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
add ebx, edx
xor edx, edx
mov dl, byte [ebx + ebp]
cmp edx, esi
sete bl
add cl, bl
xor ebx, ebx
mov bx, word [eax]
add eax, 2
imul ebx, edx
mov edx, dword [esp + 0x6c]
add edi, ebx
mov ebx, dword [0xa7bba4]
and edx, 0xff
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x74], edx
add ebp, edx
xor edx, edx
mov dl, byte [ebx + ebp]
cmp edx, esi
sete bl
add cl, bl
xor ebx, ebx
mov bx, word [eax]
add eax, 2
imul ebx, edx
add edi, ebx
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ebx + ebp]
mov ebx, dword [0xa7bba8]
mov ebp, edx
cmp ebp, esi
sete dl
add cl, dl
xor edx, edx
mov dx, word [eax]
add eax, 2
imul edx, ebp
add edi, edx
mov edx, dword [esp + 0x70]
and edx, 0xff
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
lea ebp, [edx + ebx]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov bl, byte [edx + ebp]
mov ebp, ebx
cmp ebp, esi
sete bl
add cl, bl
xor ebx, ebx
mov bx, word [eax]
add eax, 2
imul ebx, ebp
mov ebp, dword [esp + 0x1c]
add edi, ebx
mov ebx, dword [esp + 0x34]
add ebp, ebx
xor ebx, ebx
mov bl, byte [edx + ebp]
mov ebp, ebx
mov ebx, dword [esp + 0x74]
cmp ebp, esi
sete dl
add cl, dl
xor edx, edx
mov dx, word [eax]
add eax, 2
imul edx, ebp
add edi, edx
mov edx, dword [esp + 0x34]
lea ebp, [edx + ebx]
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [ebx + ebp]
cmp edx, esi
sete bl
add cl, bl
xor ebx, ebx
mov bx, word [eax]
imul ebx, edx
add edi, ebx
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ebx + ebp]
mov ebp, edx
cmp ebp, esi
sete dl
add dl, cl
je 0x40fda3
mov al, byte [esp + 0x20]
mov byte [esp + 0x24], al
jmp 0x40fdbf
xor ecx, ecx
mov cx, word [eax + 2]
imul ecx, ebp
add ecx, edi
shr ecx, 0xc
mov byte [esp + 0x24], cl
jmp 0x40fdbf
mov dl, byte [esp + 0x20]
mov byte [esp + 0x24], dl
mov ecx, dword [0xbc3ac0]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + ecx]
mov ecx, dword [0xbc3ac8]
and eax, 0xff
mov edi, dword [esi + ecx]
mov esi, dword [0xbc3ac4]
mov ecx, dword [esp + 0x38]
add edx, edi
mov edi, dword [esp + 0x78]
mov esi, dword [ecx + esi]
add ecx, 4
mov al, byte [eax + edi]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x3c]
mov byte [edx + esi], al
mov eax, dword [0x745af4]
mov edx, dword [0x745b00]
mov esi, dword [0x745af8]
mov ebp, dword [0x745b04]
mov edi, dword [0x745afc]
mov ebx, dword [0x745b08]
add eax, edx
add esi, ebp
add edi, ebx
dec ecx
mov dword [0x745af4], eax
mov dword [0x745af8], esi
mov dword [0x745afc], edi
mov dword [esp + 0x3c], ecx
jne 0x40fb8b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [0x745ac4]
mov esi, dword [0x745a40]
mov ebp, dword [0x745a44]
mov edi, dword [0x745acc]
mov ebx, dword [0x745a48]
add eax, esi
mov esi, dword [0x745ac8]
add edi, ebx
mov ebx, dword [esp + 0x40]
add esi, ebp
mov ebp, dword [esp + 0x28]
mov dword [0x745ac4], eax
add ebp, 4
dec ebx
mov dword [0x745ac8], esi
mov dword [0x745acc], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], ebx
jne 0x40fb46
mov ebx, dword [esp + 0x44]
mov eax, edx
and eax, 0xffff
mov esi, 0x100
sub esi, eax
mov ebp, dword [0x745a8c]
add ebx, esi
mov esi, 0x100
sub esi, eax
mov eax, dword [esp + 0x48]
add eax, esi
mov edi, dword [0x745a94]
mov dword [esp + 0x48], eax
mov eax, dword [0x745ae8]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov ebx, dword [0x745a90]
add ebp, eax
mov eax, dword [0x745aec]
sub esi, 4
add ebx, eax
mov eax, dword [0x745af0]
add edi, eax
mov eax, dword [esp + 0x4c]
dec eax
mov dword [0x745a8c], ebp
mov dword [0x745a90], ebx
mov dword [0x745a94], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], eax
jne 0x40fb11
mov al, byte [0xa77b44]
test al, al
je 0x40ff71
mov ecx, dword [0x745ad4]
push ecx
push 0x745a74
push 0x745b38
push 0x745a80
push 0x745a10
call fcn.0041b970
add esp, 0x14
test eax, eax
jne 0x40ff71
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x40ff9a
push 3
push 2
call fcn.0044ccf0
push 4
push 2
call fcn.0044ccf0
push 5
push 4
call fcn.0044ccf0
add esp, 0x18
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x40ffaa
call fcn.0040ffd0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret