Function at 0x4bedb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0x20], ebx
jne 0x4bf202
mov edx, dword [ebp + 0xc]
cmp edx, 0x110
jne 0x4bee0b
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 0x10]
push edx
call fcn.004b2850
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x113
jne 0x4bee41
call fcn.004d0c50
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
cmp edx, 0x111
jne 0x4bef82
movzx eax, bx
mov ecx, 2
mov dword [ebp - 0x24], eax
cmp cx, ax
jne 0x4beeb0
cmp dword [esi + 0x15c], 0
jbe 0x4bee74
lea ecx, [esi + 0x44]
call fcn.0042b460
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [eax + 0xc]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 1
cmp cx, ax
jne 0x4bef1b
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4beee0
mov dword [esi + 0x174], eax
xor eax, eax
jmp 0x4beef7
mov eax, dword [esi + 0x164]
mov edx, dword [esi]
mov eax, dword [eax + ecx*4]
mov ecx, esi
push eax
mov dword [esi + 0x174], eax
call dword [edx + 0x24]
mov ecx, esi
mov dword [esi + 0x170], eax
call fcn.00462860
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [eax + 0xc]
push 1
jmp 0x4bee86
mov ecx, 0x44d
cmp cx, ax
jne 0x4bf0c1
mov eax, ebx
mov ecx, 0x300
shr eax, 0x10
cmp cx, ax
jne 0x4bf0c1
mov eax, dword [esi + 0x160]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1f4
jbe 0x4bef76
push 0
push 0x1f4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4bee8f
mov ecx, esi
call fcn.004d0c50
jmp 0x4bee8f
cmp edx, 0x4e
jne 0x4bf0c1
mov eax, dword [edi + 4]
cmp eax, 0x44e
jne 0x4bf0c1
cmp dword [edi + 8], 0xffffff6a
jne 0x4bf026
mov edx, dword [edi + 0x10]
cmp edx, 0xffffffff
je 0x4bee8f
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x160]
mov ebx, dword [eax + edx*4]
mov eax, 0x66666667
mov edx, dword [ecx + 4]
sub edx, dword [ecx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x4bf217
test byte [edi + 0xc], 1
je 0x4bee8f
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ebx
push dword [edi + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x20]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x24]
push 0x5707c8
dec eax
push eax
push dword [edi + 0x20]
call fcn.0041ac20
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00408f00
jmp 0x4bee8f
cmp eax, 0x44e
jne 0x4bf0c1
cmp dword [edi + 8], 0xffffff94
jne 0x4bf06d
push dword [edi + 0x10]
lea ecx, [esi + 0x124]
call fcn.00462b30
mov ecx, esi
call fcn.004d0c50
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x44e
jne 0x4bf0c1
cmp dword [edi + 8], 0xfffffffd
jne 0x4bf0c1
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x4bee8f
mov eax, dword [esi + 0x164]
mov edx, dword [esi]
mov eax, dword [eax + ecx*4]
mov ecx, esi
push eax
mov dword [esi + 0x174], eax
call dword [edx + 0x24]
mov ecx, esi
mov dword [esi + 0x170], eax
call fcn.00462860
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [edx + 0xc]
push 1
jmp 0x4bee86
lea ecx, [esi + 0xf8]
cmp edx, 5
jne 0x4bf129
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x4bf105
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4bf0f6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bf10e
test ebx, ebx
jne 0x4bf105
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bf10e
cmp ebx, 1
je 0x4bee8f
mov eax, edi
lea ecx, [esi + 0xf8]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.0045b6e0
jmp 0x4bee8f
cmp edx, 0x24
jne 0x4bf153
cmp dword [ecx + 0x14], 0xffffffff
je 0x4bee8f
cmp dword [ecx + 0x18], 0xffffffff
je 0x4bee8f
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
jmp 0x4bee8f
cmp edx, 0x464
jne 0x4bf202
mov ecx, dword [esi + 0x2c]
mov eax, 0x66666667
sub ecx, dword [esi + 0x28]
xor ebx, ebx
imul ecx
mov dword [ebp - 0x24], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x28], eax
je 0x4bf1ea
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
nop dword [eax]
cmp ecx, dword [eax]
je 0x4bf19e
inc ebx
add eax, 0x28
cmp ebx, edx
jb 0x4bf190
jmp 0x4bf1ea
mov edx, dword [esi + 0x28]
lea ebx, [ebx + ebx*4]
shl ebx, 3
lea eax, [edx + 8]
add eax, ebx
mov dword [ebp - 0x28], eax
cmp dword [eax], 0
je 0x4bf1cd
push dword [edi]
mov edx, dword [ebp - 0x28]
push dword [edi + 0xc]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 0x34]
add ecx, dword [edx + 4]
call eax
mov edx, dword [esi + 0x28]
mov ecx, dword [ebp - 0x2c]
cmp dword [edx + ebx + 0x10], 0
je 0x4bf1ea
push dword [edi]
mov eax, dword [edx + ebx + 0x10]
push dword [edi + 0xc]
push ecx
mov ecx, dword [esi + 0x34]
add ecx, dword [edx + ebx + 0x14]
call eax
mov dword [ebp - 0x24], eax
push 0x1c
push edi
call fcn.005189ee
mov eax, dword [ebp - 0x20]
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x4bee98
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
call fcn.004314f0
int3