Function at 0x4d1a60
Capabilities:
Hide graphical window
Inspect load icon resource
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [ecx + 4]
movaps xmm0, xmmword [0x5d6010]
push ebx
push esi
lea ebx, [ecx + 4]
mov dword [ecx + 0x80], eax
push edi
push dword [ecx + 0x38]
mov dword [esp + 0x1c], ecx
push eax
movups xmmword [esp + 0xcc], xmm0
mov dword [esp + 0xdc], 5
mov dword [esp + 0xe0], 3
mov dword [esp + 0xe4], 4
mov dword [esp + 0x4c], ebx
call dword [0x5b4998]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xorps xmm0, xmm0
push 0x435
push dword [ebx]
movaps xmmword [esp + 0x78], xmm0
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0xa8], xmm0
call esi
push 0x48d
push dword [ebx]
mov edi, eax
call esi
push 0x53b
push dword [ebx]
mov dword [esp + 0x3c], eax
call esi
mov esi, eax
lea eax, [esp + 0x70]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x50]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4d1b37
lea eax, [esp + 0x58]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0xa0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xa0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4d1b6a
lea eax, [esp + 0xa8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
test byte [eax + 0x26], 1
je 0x4d1bf2
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x60]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4d1ba1
lea eax, [esp + 0x68]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x60]
push 0x800
push dword [esp + 0x38]
mov ecx, dword [eax + 0x68]
call fcn.004d1950
mov ecx, dword [esp + 0x74]
add esp, 8
mov ebx, dword [esp + 0x64]
sub ecx, ebx
mov eax, dword [esp + 0x68]
push 4
push ecx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], edx
sub edx, eax
push edx
push ebx
push eax
push 0
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
mov byte [esp + 0x17], 0
test eax, eax
je case.default.0x4d1c04
dec eax
cmp eax, 3
ja case.default.0x4d1c04
jmp dword [eax*4 + 0x4d20a8]
mov eax, 0x7f04
jmp 0x4d1c25
mov eax, 0x7f02
jmp 0x4d1c25
mov eax, 0x7f03
jmp 0x4d1c25
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je case.default.0x4d1c04
push 0
push eax
push 0x170
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esp + 0x17], 1
jmp 0x4d1c5c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
movaps xmm0, xmmword [esp + 0x50]
push 0x810
push edi
mov ecx, dword [eax + 0x50]
movaps xmmword [esp + 0x28], xmm0
call fcn.004d1950
mov esi, dword [esp + 0x30]
add esp, 8
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
mov ecx, edx
cmp byte [esp + 0x17], 0
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x1c], edx
je 0x4d1cc1
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa4]
cmp edx, eax
cmovl ecx, eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0xb0]
xorps xmm0, xmm0
push eax
push dword [ebx]
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x88], xmm0
movaps xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xb8], xmm0
call edi
test eax, eax
je 0x4d1d00
lea eax, [esp + 0xb8]
push eax
push dword [ebx]
call edi
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
push 2
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x80]
push ecx
push eax
call edi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, edi
cdq
sub eax, edx
mov dword [esp + 0x98], edi
sar eax, 1
add eax, esi
mov dword [esp + 0x38], eax
cmp eax, ecx
jge 0x4d1e23
mov eax, dword [esp + 0x18]
xor esi, esi
xor edx, edx
mov eax, dword [eax + 0x24]
mov ebx, eax
nop word [eax + eax]
mov ecx, dword [esp + edx*4 + 0xc4]
xor eax, eax
nop dword [eax]
cmp ecx, dword [eax*8 + 0x5b7b20]
je 0x4d1dc3
inc eax
cmp eax, 7
jb 0x4d1db0
xor eax, eax
jmp 0x4d1dca
mov eax, dword [eax*8 + 0x5b7b1c]
test ebx, eax
lea eax, [esi + 1]
cmove eax, esi
inc edx
mov esi, eax
cmp edx, 7
jb 0x4d1da0
mov eax, dword [esp + 0x48]
lea ecx, [edi + eax]
imul ecx, esi
add ecx, eax
test ebx, 0x10000
mov ebx, dword [esp + 0x44]
je 0x4d1df6
add ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov eax, edx
mov esi, dword [esp + 0x58]
sub eax, esi
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x50]
cmp eax, ecx
cmovge ecx, eax
sub ecx, edx
add ecx, dword [esp + 0x70]
jns 0x4d1e23
add esi, ecx
add edx, ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmmword [esp + 0x70]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
movaps xmmword [esp + 0x20], xmm0
lea eax, [eax + ecx*4]
psrldq xmm0, 4
add ecx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x38], eax
movd eax, xmm0
mov dword [esp + 0x3c], ecx
add eax, ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push dword [ebx]
call esi
test eax, eax
je 0x4d1e71
lea eax, [esp + 0x28]
push eax
push dword [ebx]
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx]
call esi
push 0xfffffffffffffff0
push dword [ebx]
mov edi, eax
call esi
push edi
push 0
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub eax, edx
mov ecx, dword [esp + 0x20]
push 4
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmmword [esp + 0x50]
mov edi, dword [esp + 0x94]
sub eax, edi
cdq
movaps xmmword [esp + 0x80], xmm0
sub eax, edx
psrldq xmm0, 4
mov esi, eax
movd ecx, xmm0
push 0x435
push dword [ebx]
sar esi, 1
add esi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
push 4
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
sub ecx, edx
push ecx
push esi
push edx
push 0
push eax
call edi
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], edx
test edx, 0x10000
je 0x4d1f79
movaps xmm0, xmmword [esp + 0x60]
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x7c]
add ecx, dword [esp + 0x3c]
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x8c]
psrldq xmm0, 4
movd edx, xmm0
push 0x40
add edx, ecx
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x90]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esp + 0x4c]
call edi
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x70]
xor edi, edi
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + edi*4 + 0xc4]
xor eax, eax
nop dword [eax]
cmp ecx, dword [eax*8 + 0x5b7b20]
je 0x4d1fb3
inc eax
cmp eax, 7
jb 0x4d1fa0
xor eax, eax
jmp 0x4d1fba
mov eax, dword [eax*8 + 0x5b7b1c]
test edx, eax
je 0x4d1ff8
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x98]
sub esi, dword [esp + 0x48]
push 0x40
push dword [esp + 0x50]
sub esi, ecx
push ecx
push dword [esp + 0x44]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x24]
mov ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x4d2000
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc edi
cmp edi, 7
jb 0x4d1f90
mov edx, dword [eax + 0x28]
mov edi, 1
mov eax, edx
and eax, ecx
je 0x4d2080
xor ecx, ecx
nop word [eax + eax]
mov esi, dword [esp + ecx*4 + 0xc4]
xor eax, eax
nop dword [eax]
cmp esi, dword [eax*8 + 0x5b7b20]
je 0x4d2043
inc eax
cmp eax, 7
jb 0x4d2030
xor eax, eax
jmp 0x4d204a
mov eax, dword [eax*8 + 0x5b7b1c]
test eax, edx
jne 0x4d2056
inc ecx
cmp ecx, 7
jb 0x4d2020
jmp 0x4d2080
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x401
push dword [ebx]
call edi
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push dword [ebx]
call edi
xor edi, edi
nop dword [eax]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004d27f0
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8