Function at 0x460bb0
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 0x461069
mov edx, dword [ebp + 0xc]
cmp edx, 0x110
jne 0x460c0b
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [ebp + 0x10]
push edx
call fcn.0045efe0
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 0x460c41
call fcn.00463ad0
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 - 0x34], ebx
cmp edx, 0x111
jne 0x460dbb
movzx eax, bx
mov ecx, 2
mov dword [ebp - 0x2c], eax
cmp cx, ax
jne 0x460cb0
cmp dword [esi + 0x15c], 0
jbe 0x460c74
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 0x460d54
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x460ce4
mov dword [esi + 0x174], eax
xor eax, eax
jmp 0x460d30
mov eax, dword [esi + 0x164]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x174], eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x160]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x6bca1af3
sub ecx, edx
mov dword [ebp - 0x24], edx
imul ecx
mov ecx, dword [ebp - 0x28]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x46107e
imul ecx, ecx, 0x130
add ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0xc]
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 0x460c86
mov ecx, 0x44d
cmp cx, ax
jne 0x460f2b
mov eax, ebx
mov ecx, 0x300
shr eax, 0x10
cmp cx, ax
jne 0x460f2b
mov eax, dword [esi + 0x160]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x6bca1af3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1f4
jbe 0x460daf
push 0
push 0x1f4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x460c8f
mov ecx, esi
call fcn.00463ad0
jmp 0x460c8f
cmp edx, 0x4e
jne 0x460f2b
mov eax, dword [edi + 4]
cmp eax, 0x44e
jne 0x460f2b
cmp dword [edi + 8], 0xffffff6a
jne 0x460e65
mov edx, dword [edi + 0x10]
cmp edx, 0xffffffff
je 0x460c8f
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x160]
mov ebx, dword [eax + edx*4]
mov eax, 0x6bca1af3
mov edx, dword [ecx + 4]
sub edx, dword [ecx]
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x46107e
test byte [edi + 0xc], 1
je 0x460c8f
push ebx
push dword [edi + 0x14]
lea eax, [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x2c]
push dword [ebp - 0x2c]
push eax
call fcn.00456050
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 0x460c8f
cmp eax, 0x44e
jne 0x460f2b
cmp dword [edi + 8], 0xffffff94
jne 0x460eac
push dword [edi + 0x10]
lea ecx, [esi + 0x124]
call fcn.00462b30
mov ecx, esi
call fcn.00463ad0
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 0x460f2b
cmp dword [edi + 8], 0xfffffffd
jne 0x460f2b
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x460c8f
mov eax, dword [esi + 0x164]
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0x160]
mov dword [esi + 0x174], edi
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x6bca1af3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x46107e
imul ecx, edi, 0x130
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
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 0x460c86
lea ecx, [esi + 0xf8]
cmp edx, 5
jne 0x460f93
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x460f6f
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x460f60
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x460f78
test ebx, ebx
jne 0x460f6f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x460f78
cmp ebx, 1
je 0x460c8f
mov eax, edi
lea ecx, [esi + 0xf8]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.0045b6e0
jmp 0x460c8f
cmp edx, 0x24
jne 0x460fbd
cmp dword [ecx + 0x14], 0xffffffff
je 0x460c8f
cmp dword [ecx + 0x18], 0xffffffff
je 0x460c8f
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
jmp 0x460c8f
cmp edx, 0x464
jne 0x461069
mov ecx, dword [esi + 0x2c]
mov eax, 0x66666667
sub ecx, dword [esi + 0x28]
xor ebx, ebx
imul ecx
mov dword [ebp - 0x28], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
je 0x461051
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
je 0x461005
inc ebx
add eax, 0x28
cmp ebx, edx
jb 0x460ff7
jmp 0x461051
mov edx, dword [esi + 0x28]
lea ebx, [ebx + ebx*4]
shl ebx, 3
lea eax, [edx + 8]
add eax, ebx
mov dword [ebp - 0x24], eax
cmp dword [eax], 0
je 0x461034
push dword [edi]
mov edx, dword [ebp - 0x24]
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 - 0x34]
cmp dword [edx + ebx + 0x10], 0
je 0x461051
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 - 0x28], eax
push 0x1c
push edi
call fcn.005189ee
mov eax, dword [ebp - 0x20]
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x460c98
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