Function at 0x481900
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e190
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f6
push dword [edi + 0x24]
call esi
push 0x1f8
push dword [edi + 0x24]
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebx + 8], al
je 0x481b5b
push str.Details___
call fcn.004dbc76
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x4819d1
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push str.Details___
push edi
call fcn.004d7810
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x481ac9
cmp eax, 0x7ffffffe
ja 0x481e56
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4819f0
mov esi, 0x7ffffffe
jmp 0x481a0e
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x481a06
mov esi, 0x7ffffffe
jmp 0x481a0e
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x481a20
or ecx, 0xffffffff
jmp 0x481a28
cmp ecx, 0x1000
jb 0x481a51
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d5b94
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x481e5b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x481a62
test ecx, ecx
je 0x481a60
push ecx
call fcn.004d5b94
add esp, 4
jmp 0x481a62
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + ecx]
push esi
push str.Details___
push eax
call fcn.004d7290
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x481ac6
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x481ab9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481e5b
push edx
push ecx
call fcn.004d5b86
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f7
push dword [edi + 0x24]
call eax
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x481b33
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x481b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481e5b
push edx
push ecx
call fcn.004d5b86
add esp, 8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push 5
push dword [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call esi
push 5
jmp 0x481d26
push 0x5379e8
call fcn.004dbc76
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x481ba2
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push 0x5379e8
push edi
call fcn.004d7810
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x481c9a
cmp eax, 0x7ffffffe
ja 0x481e60
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x481bc1
mov esi, 0x7ffffffe
jmp 0x481bdf
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x481bd7
mov esi, 0x7ffffffe
jmp 0x481bdf
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x481bf1
or ecx, 0xffffffff
jmp 0x481bf9
cmp ecx, 0x1000
jb 0x481c22
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d5b94
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x481e65
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x481c33
test ecx, ecx
je 0x481c31
push ecx
call fcn.004d5b94
add esp, 4
jmp 0x481c33
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + ecx]
push esi
push 0x5379e8
push eax
call fcn.004d7290
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x481c97
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x481c8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481e65
push edx
push ecx
call fcn.004d5b86
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f7
push dword [edi + 0x24]
call eax
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x481d04
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x481cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481e65
push edx
push ecx
call fcn.004d5b86
add esp, 8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push dword [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call esi
push 0
push dword [ebp - 0x34]
call esi
movzx eax, byte [ebx + 8]
add eax, eax
push 0x616
movups xmm1, xmmword [edi + eax*8 + 0x2c]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
sub ecx, eax
movd eax, xmm1
push ecx
movd ecx, xmm0
sub ecx, eax
push ecx
push 0
push 0
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
mov dword [ebp - 0x34], esi
cmp dword [edi + 0x18], esi
jle 0x481e1f
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
test ecx, ecx
js 0x481e4a
cmp esi, dword [edi + 0x18]
jge 0x481e4a
mov eax, dword [edi + 0x14]
push dword [eax + ecx]
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x481e09
cmp esi, dword [edi + 0x18]
jge 0x481e4a
mov eax, dword [edi + 0x14]
add eax, 8
add eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x481e09
cmp esi, dword [edi + 0x18]
jge 0x481e4a
mov ecx, dword [ebp - 0x30]
add ecx, dword [edi + 0x14]
push 0x14
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 8]
sub eax, edx
push eax
mov eax, dword [ecx + 0x10]
sub eax, esi
push eax
push edx
push esi
push 0
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc esi
add ecx, 0x18
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
cmp esi, dword [edi + 0x18]
jl 0x481d90
push ecx
push dword [edi + 0x24]
mov ecx, edi
call fcn.00480bd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5b75
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 1
push 0xc000008c
call fcn.00409ed4
call fcn.00405394
call fcn.004dbc26
call fcn.00405394
call fcn.004dbc26
int3