Function at 0x4f3220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7233ac
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x120], ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x54]
call esi
add ebx, 0x58
push 5
push dword [ebx]
call esi
mov esi, dword [ebp - 0x120]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [esi + 0x70]
call edi
cmp byte [esi + 0x36d], 0
mov ecx, esi
jne 0x4f369e
push ebx
call fcn.004fa820
push 0
push 9
push 0x110a
push dword [ebx]
call edi
test eax, eax
jne 0x4f3692
lea ecx, [esi + 0x6c]
call fcn.004e8750
xor eax, eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x134], eax
mov ecx, dword [esi + 0x3c4]
xor ebx, ebx
sub ecx, dword [esi + 0x3c0]
xor edi, edi
mov dword [ebp - 4], eax
lea eax, [esi + 0x3c0]
mov dword [ebp - 0x124], eax
mov eax, 0x92492493
imul ecx
mov dword [ebp - 0x138], ebx
add edx, ecx
mov dword [ebp - 0x11c], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4f33e5
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x118], ebx
push edi
push 2
mov ecx, esi
call fcn.004ebe80
test al, al
je 0x4f33a3
mov edi, dword [esi]
add edi, dword [ebp - 0x118]
push edi
cmp ebx, dword [ebp - 0x128]
je 0x4f337f
mov ecx, ebx
mov dword [ebp - 0x12c], ebx
call fcn.0044f340
lea eax, [edi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x18]
call fcn.0044f340
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov al, byte [edi + 0x34]
mov byte [ebx + 0x34], al
mov al, byte [edi + 0x35]
mov byte [ebx + 0x35], al
add ebx, 0x38
mov byte [ebp - 4], 0
mov dword [ebp - 0x138], ebx
jmp 0x4f339d
push ebx
lea ecx, [ebp - 0x13c]
call fcn.004e3d40
mov eax, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x138]
mov dword [ebp - 0x128], eax
mov edi, dword [ebp - 0x11c]
mov ecx, dword [esi + 4]
mov eax, 0x92492493
sub ecx, dword [esi]
inc edi
add dword [ebp - 0x118], 0x38
imul ecx
mov dword [ebp - 0x11c], edi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4f3322
mov edi, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x120]
mov dword [ebp - 0x130], edi
jmp 0x4f33e7
xor edi, edi
cmp edi, ebx
je 0x4f3617
nop
cmp dword [edi + 0x2c], 0x10
lea ecx, [edi + 0x18]
jb 0x4f33fc
mov ecx, dword [edi + 0x18]
push 0xfde9
lea eax, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.004d3aa0
mov eax, dword [ebp - 0x114]
mov byte [ebp - 4], 3
mov dword [ebp - 0x124], eax
call fcn.004d2dc0
test eax, eax
je 0x4f3777
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x124]
mov byte [ebp - 4], 4
test edx, edx
je 0x4f3495
test edx, 0xffff0000
jne 0x4f346d
movzx eax, dx
lea ecx, [ebp - 0x11c]
push eax
call fcn.004d4560
jmp 0x4f34a4
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x124], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f3480
sub eax, dword [ebp - 0x124]
sar eax, 1
jmp 0x4f3497
xor eax, eax
push eax
push edx
lea ecx, [ebp - 0x11c]
call fcn.004de900
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 6
cmp eax, ecx
je 0x4f34c1
push eax
call fcn.006fa47e
add esp, 4
mov ecx, dword [esi + 0x9c]
lea eax, [esi + 0x98]
mov dword [ebp - 0x118], eax
push edi
cmp ecx, dword [esi + 0xa0]
je 0x4f34f0
call fcn.0044f340
mov eax, dword [ebp - 0x118]
add dword [eax + 4], 0x18
mov ecx, dword [eax + 4]
jmp 0x4f3504
push ecx
mov ecx, eax
call fcn.004e3950
mov ecx, dword [esi + 0x9c]
mov eax, dword [ebp - 0x118]
sub ecx, dword [eax]
xorps xmm0, xmm0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14c], 0
imul ecx
movlpd qword [ebp - 0x144], xmm0
mov eax, dword [ebp - 0x11c]
push eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x120]
sar edx, 2
push 0
mov esi, edx
mov dword [ebp - 0x15c], 0xf
push 0x1057
push dword [eax + 0x70]
dec edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x158], 0
call dword [sym.imp.USER32.dll_SendMessageW]
add eax, 0xf
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x120]
push esi
push 0x1061
push dword [eax + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x118]
push edi
mov esi, dword [eax + 4]
push esi
push dword [eax]
lea eax, [ebp - 0x12c]
push eax
call fcn.004e5520
mov ecx, dword [ebp - 0x12c]
add esp, 0x10
cmp ecx, esi
mov esi, dword [ebp - 0x120]
je 0x4f35ea
mov eax, dword [ebp - 0x118]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi + 0x30]
sar edx, 2
mov ecx, edx
movzx eax, ax
shr ecx, 0x1f
push eax
add ecx, edx
push ecx
push 0x101e
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x11c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f360c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x38
cmp edi, ebx
jne 0x4f33f0
mov edi, dword [ebp - 0x130]
test edi, edi
je 0x4f3754
mov esi, edi
cmp esi, ebx
je 0x4f363e
nop dword [eax + eax]
mov ecx, esi
call fcn.004e69f0
add esi, 0x38
cmp esi, ebx
jne 0x4f3630
mov ecx, dword [ebp - 0x128]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4f3683
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f3772
push ecx
push edi
call fcn.006f4b9f
add esp, 8
jmp 0x4f3754
push 0xa1
push 3
jmp 0x4f374d
call fcn.004e7dc0
test al, al
je 0x4f3749
cmp byte [esi + 0x2a0], 0
je 0x4f36d5
push 0
push 0
push 0x1009
push dword [esi + 0x70]
call edi
lea ecx, [esi + 0x294]
call fcn.004f3790
test eax, eax
jne 0x4f36d5
push 0x76
jmp 0x4f374b
push 0
push 0x1f4
push dword [esi + 0x2ac]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x77
lea ecx, [esi + 0x27c]
mov dword [esi + 0x2b0], eax
call fcn.004d4560
push dword [esi + 0x27c]
mov eax, esi
push 0xde
lea edi, [eax + 0x20]
neg edi
sbb edi, edi
and edi, eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
jne 0x4f3754
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [edi + 0x20]
neg eax
push 0xde
sbb eax, eax
and eax, edi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4f3754
push 0x73
push 4
mov ecx, esi
call fcn.004f3b70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
push 0x80004005
call fcn.004cf5d0
int3