Function at 0x4bf6a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
jne 0x4bf9cc
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4bf6e1
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x110
call fcn.004b2d70
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
cmp eax, 0x111
jne 0x4bf73d
movzx ecx, bx
mov edx, 2
cmp dx, cx
jne 0x4bf723
lea ecx, [esi + 0x20]
call fcn.0042b460
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
mov edx, 1
cmp dx, cx
jne 0x4bf93a
lea ecx, [esi + 0x20]
call fcn.0042b460
push 1
jmp 0x4bf705
cmp eax, 0x4e
jne 0x4bf93a
mov ecx, dword [edi + 4]
cmp ecx, 0x473
jne 0x4bf93a
cmp dword [edi + 8], 0xffffff6a
jne 0x4bf848
cmp dword [esi + 0xec], 0
mov ebx, dword [edi + 0x10]
je 0x4bf78a
test ebx, ebx
js 0x4bf70e
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4bf70e
mov ebx, dword [ecx + ebx*4]
test ebx, ebx
js 0x4bf70e
mov ecx, dword [esi + 0x1b0]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x1ac]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
ja 0x4bf70e
test byte [edi + 0xc], 1
je 0x4bf70e
mov eax, dword [edi + 0x14]
sub eax, 0
je 0x4bf82a
sub eax, 1
je 0x4bf7f1
sub eax, 1
jne 0x4bf70e
mov ecx, dword [esi + 0x1ac]
lea eax, [ebx + ebx*2]
sub esp, 8
movsd xmm0, qword [ecx + eax*8 + 0x10]
movsd qword [esp], xmm0
push str._.3f
jmp 0x4bf815
mov ecx, dword [esi + 0x1ac]
lea eax, [ebx + ebx*2]
sub esp, 8
movsd xmm0, qword [ecx + eax*8 + 8]
mulsd xmm0, qword [0x572e18]
movsd qword [esp], xmm0
push str._.0f
mov eax, dword [edi + 0x24]
dec eax
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x14
jmp 0x4bf70e
lea eax, [ebx + 1]
push eax
mov eax, dword [edi + 0x24]
push 0x5707bc
dec eax
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x10
jmp 0x4bf70e
cmp ecx, 0x473
jne 0x4bf93a
cmp dword [edi + 8], 0xffffff94
jne 0x4bf93a
push 2
push 0xffffffffffffffff
lea eax, [esi + 0xd0]
push 0x100c
push dword [eax]
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0xec], 0
mov ebx, eax
je 0x4bf8a4
test ebx, ebx
js 0x4bf8a1
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4bf8a1
mov ebx, dword [ecx + ebx*4]
jmp 0x4bf8a4
or ebx, 0xffffffff
push dword [edi + 0x10]
lea ecx, [esi + 0xd4]
call fcn.00462b30
mov edx, dword [esi + 0x1b0]
lea eax, [esi + 0x1ac]
sub edx, dword [eax]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, 0x2aaaaaab
imul edx
push ecx
sar edx, 2
lea ecx, [esi + 0xd4]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.00477370
mov ecx, dword [esi + 0xdc]
xor edi, edi
mov eax, dword [esi + 0xd8]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x4bf90c
nop dword [eax + eax]
cmp dword [eax], ebx
je 0x4bf91a
inc edi
add eax, 4
cmp edi, ecx
jb 0x4bf900
or eax, 0xffffffff
mov edi, ebx
cmp dword [esi + 0xe4], eax
cmovne edi, eax
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
call fcn.004523b0
push edi
push 0
push 0x1043
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4bf70e
lea ecx, [esi + 0xb0]
cmp eax, 5
jne 0x4bf9a2
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x4bf97e
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4bf96f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bf987
test ebx, ebx
jne 0x4bf97e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bf987
cmp ebx, 1
je 0x4bf70e
mov eax, edi
lea ecx, [esi + 0xb0]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.00496b60
jmp 0x4bf70e
cmp eax, 0x24
jne 0x4bf9cc
cmp dword [ecx + 0x14], 0xffffffff
je 0x4bf70e
cmp dword [ecx + 0x18], 0xffffffff
je 0x4bf70e
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
jmp 0x4bf70e
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18