Function at 0x4f0f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547b78
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58a710]
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 eax, ecx
mov dword [ebp - 0x40], eax
movaps xmm0, xmmword [0x552770]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
movaps xmm0, xmmword [0x552780]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x6c], 0xf8
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x60], 0xfa
mov dword [ebp - 0x58], 5
mov dword [ebp - 0x3c], ecx
nop word [eax + eax]
mov eax, dword [eax + 4]
lea esi, [ecx + ecx*2]
push eax
shl esi, 2
lea ecx, [ebp - 0x6c]
add ecx, esi
push 0x4f0730
push eax
mov dword [ebp - 0x44], ecx
movzx eax, word [ecx]
push eax
push dword [0x594b00]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ebx, eax
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x4f1205
mov eax, dword [ebp + esi - 0x64]
xor edi, edi
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4f1060
lea ebx, [ebp - 0x68]
add ebx, esi
mov dword [ebp - 0x4c], ebx
jmp 0x4f0fe3
mov ebx, dword [ebp - 0x4c]
call fcn.00404730
mov ecx, eax
test ecx, ecx
je 0x4f1185
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x48], esi
mov eax, dword [ebx]
mov ebx, dword [eax + edi*4]
push 0
push ebx
lea eax, [eax + edi*4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], eax
call fcn.00404930
add esp, 8
test eax, eax
je 0x4f102b
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00405150
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x38]
push esi
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f105a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebp - 0x54]
jb 0x4f0fe0
cmp dword [ebp - 0x3c], 0
jne 0x4f1082
push 0x8ca2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x44]
push dword [eax]
push 0xfffffffffffffff4
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
mov eax, dword [edi + 0x24]
cmp ecx, eax
jae 0x4f1111
mov esi, dword [edi + 0x20]
cmp esi, ecx
ja 0x4f1111
mov edx, dword [edi + 0x28]
mov ebx, ecx
sub ebx, esi
sar ebx, 2
cmp eax, edx
jne 0x4f1102
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x4f1102
sub eax, esi
mov ecx, 0x3fffffff
sar eax, 2
sub ecx, eax
cmp ecx, 1
jb 0x4f118f
sub edx, dword [edi + 0x20]
lea esi, [eax + 1]
sar edx, 2
mov ecx, 0x3fffffff
mov eax, edx
mov dword [ebp - 0x44], edx
shr eax, 1
sub ecx, eax
add eax, edx
xor edx, edx
cmp ecx, dword [ebp - 0x44]
lea ecx, [edi + 0x20]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.004f2c80
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4f116e
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ebx*4]
jmp 0x4f116c
mov ebx, dword [edi + 0x28]
cmp eax, ebx
jne 0x4f1162
mov ecx, ebx
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x4f1162
mov edx, dword [edi + 0x20]
mov ecx, 0x3fffffff
sub eax, edx
sar eax, 2
sub ecx, eax
cmp ecx, 1
jb 0x4f118f
sub ebx, edx
lea esi, [eax + 1]
sar ebx, 2
mov ecx, 0x3fffffff
mov eax, ebx
xor edx, edx
shr eax, 1
sub ecx, eax
add eax, ebx
cmp ecx, ebx
lea ecx, [edi + 0x20]
cmovae edx, eax
cmp edx, esi
cmovae esi, edx
push esi
call fcn.004f2c80
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4f116e
mov eax, dword [ebp - 0x38]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x3c]
add dword [edi + 0x24], 4
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 2
jae 0x4f1199
mov eax, edi
jmp 0x4f0f90
push 0x80004005
call fcn.004049a0
push str.vector_T__too_long
call fcn.0051ac4e
mov ebx, edi
mov ecx, ebx
call fcn.004f27e0
mov eax, dword [ebx + 0x24]
xor esi, esi
sub eax, dword [ebx + 0x20]
sar eax, 2
test eax, eax
je 0x4f11d6
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [ebx + 0x20]
push 0xfffffffffffffff4
push dword [eax + esi*4]
call edi
cmp eax, 0xf8
je 0x4f11fd
mov eax, dword [ebx + 0x24]
inc esi
sub eax, dword [ebx + 0x20]
sar eax, 2
cmp esi, eax
jb 0x4f11b7
xor eax, eax
push 0x8ca7
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xf8
mov ecx, ebx
call fcn.004f28f0
xor eax, eax
jmp 0x4f1208
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
jmp 0x4f11d8
or eax, 0xffffffff
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.005193a0
mov esp, ebp
pop ebp
ret 0x10