Function at 0x1004c290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x230], eax
mov edx, dword [ebx + 0xc]
push esi
mov eax, dword [edx]
push edi
mov dword [ebp - 0x218], ebx
cmp eax, dword [edx + 4]
je 0x1004c2d5
mov ecx, dword [eax]
add eax, 4
mov dword [ecx + 0x14], 0
mov ecx, dword [ebx + 0xc]
cmp eax, dword [ecx + 4]
jne 0x1004c2c1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call fcn.10098090
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x234], eax
mov eax, dword [ebx + 0xc]
xor edx, edx
mov esi, dword [eax]
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], edx
cmp esi, dword [eax + 4]
je 0x1004c4f3
jmp 0x1004c340
mov eax, dword [ebp - 0x218]
mov ebx, dword [esi]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 8]
cmp eax, 0x14
je 0x1004c3ef
cmp eax, 1
je 0x1004c3ef
cmp eax, 2
je 0x1004c3ef
cmp eax, 6
je 0x1004c3ef
cmp eax, 7
je 0x1004c3ef
cmp eax, 8
je 0x1004c3ef
cmp eax, 0xf
je 0x1004c3ef
cmp eax, 0x19
je 0x1004c3ef
cmp eax, 0x13
je 0x1004c3ef
cmp eax, 9
jne 0x1004c3f4
cmp edi, 5
jge 0x1004c3a2
mov dword [ebx + 0x14], 1
jmp 0x1004c4db
add edx, 0x7c
lea eax, [ebx + 0x18]
cmp eax, edx
je 0x1004c3bb
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.10004790
lea eax, [ebx + 0x18]
push 0x10199228
push eax
call fcn.10011630
add esp, 8
test al, al
je 0x1004c3d9
mov dword [ebx + 0x14], 1
jmp 0x1004c4db
mov dword [ebp - 0x21c], 1
mov dword [ebx + 0x14], 0
jmp 0x1004c4db
mov ecx, 1
cmp edi, 3
jge 0x1004c41e
mov eax, dword [ebp - 0x218]
cmp dword [eax], edi
jg 0x1004c40f
mov dword [ebx + 0x14], 1
jmp 0x1004c4db
xor eax, eax
test ecx, ecx
sete al
mov dword [ebx + 0x14], eax
jmp 0x1004c4d5
jne 0x1004c472
cmp eax, 2
je 0x1004c42a
cmp eax, 0x13
jne 0x1004c430
cmp dword [edx + 0x5c], 1
je 0x1004c44f
cmp eax, 6
je 0x1004c45d
cmp eax, 7
je 0x1004c45d
cmp eax, 8
je 0x1004c45d
cmp eax, 0x14
je 0x1004c45d
cmp eax, 0xf
jne 0x1004c469
cmp dword [edx + 0x5c], 1
jne 0x1004c469
mov dword [ebx + 0x14], 1
mov edi, 4
jmp 0x1004c4dc
cmp dword [edx + 0x2c], 3
jle 0x1004c44f
cmp dword [edx + 0x5c], 1
je 0x1004c44f
mov dword [ebx + 0x14], 0
jmp 0x1004c4d5
cmp edi, 4
jne 0x1004c665
cmp dword [ebp - 0x21c], 3
jl 0x1004c654
cmp eax, 0x14
jne 0x1004c654
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x1004c4ba
push edi
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004c4b2
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x1004c4b4
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x5b
call dword [eax]
lea ecx, [ebx + 0x18]
test eax, eax
je 0x1004c64a
push 0x1019a59c
call fcn.100044a0
inc dword [ebp - 0x21c]
inc edi
mov ebx, dword [ebp - 0x218]
add esi, 4
mov eax, dword [ebx + 0xc]
cmp esi, dword [eax + 4]
jne 0x1004c340
xor edx, edx
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov esi, dword [eax]
mov dword [ebp - 0x218], ecx
cmp esi, dword [eax + 4]
je 0x1004c602
lea esp, [esp]
mov edi, dword [esi]
cmp dword [edi + 0x14], 0
jne 0x1004c5f3
test ecx, ecx
je 0x1004c529
add edx, dword [ebx + 0x24]
mov dword [ebp - 0x224], edx
cmp dword [edi + 0x2c], 8
lea ecx, [edi + 0x18]
jb 0x1004c534
mov ecx, dword [ecx]
lea edx, [ebp - 0x214]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x1004c540
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004c560
sub ecx, edx
lea eax, [ebp - 0x22c]
push eax
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 0x28]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x234]
mov dword [edi + 8], edx
mov dword [edi + 4], eax
add eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x218]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x228]
add eax, edx
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x228]
add edx, eax
mov dword [ebp - 0x234], edx
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp - 0x22c]
cmovl edx, dword [ebp - 0x22c]
mov dword [ebp - 0x220], edx
mov edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x228]
inc ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x218], ecx
mov eax, dword [ebx + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x1004c510
cmp dword [ebp - 0x21c], 0
mov esi, dword [ebp - 0x230]
push 0x12
jle 0x1004c67f
mov eax, dword [ebx + 0x20]
add eax, dword [ebx + 0x14]
add eax, edx
push eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebx + 0x18]
add eax, dword [ebp - 0x220]
push eax
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4
push str._f:y
jmp 0x1004c4d0
mov dword [ebx + 0x14], 1
mov edi, 5
jmp 0x1004c4dc
cmp edi, 5
jne 0x1004c4d5
mov dword [ebx + 0x14], 1
mov edi, 6
jmp 0x1004c4dc
push 0
push 0
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4