Function at 0x4827f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673456
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x74b738]
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 - 0x254], ebx
mov eax, dword [0x758f8c]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
jne 0x48288a
push 0x74c144
call esi
cmp dword [0x758f8c], 0
jne 0x48287e
push 0x70
call fcn.00669e77
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004709e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x258], eax
mov dword [0x758f8c], ecx
push 0x74c144
call edi
mov eax, dword [0x758f8c]
cmp dword [eax + 0x48], 0
je 0x4828c9
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x24c], esp
mov dword [eax + 0x24], 0
push ecx
push 0
push 0x6ec530
mov dword [ebp - 4], 1
call fcn.004364c0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004a4810
mov eax, dword [0x758f8c]
test eax, eax
jne 0x48291c
push 0x74c144
call esi
cmp dword [0x758f8c], 0
jne 0x482910
push 0x70
call fcn.00669e77
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004709e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x24c], eax
mov dword [0x758f8c], ecx
push 0x74c144
call edi
mov eax, dword [0x758f8c]
cmp dword [eax + 0x50], 0
je 0x482a9a
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x482a89
push 0x27
push str.f:master_luinst_ui_marketmainwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0042a9a0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x230]
push 3
push 0x6d1880
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0042a9a0
mov byte [ebp - 4], 4
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x37
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0042c590
mov esi, eax
push str.inf_:_skip_to_launch_when_closed
push esi
mov byte [ebp - 4], 5
call fcn.0042c400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00428ee0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x482a2b
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482a21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x482a21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x482a89
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x482a7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 1
push eax
call dword [ecx + 0xc]
jmp 0x482eef
cmp dword [0x758fac], 0
jne 0x482ad8
push 0x74c18c
call esi
cmp dword [0x758fac], 0
jne 0x482ad1
push 1
call fcn.00669e77
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24c], ecx
xchg dword [ebp - 0x24c], eax
mov dword [0x758fac], ecx
push 0x74c18c
call edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004225c0
mov ecx, eax
test ecx, ecx
je 0x482f0f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x258], eax
push 0x80
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 6
call fcn.00441820
mov esi, dword [ebp - 0x258]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00442fc0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482b52
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x74fccc]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push esi
call ebx
mov ecx, dword [ebp - 0x254]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [ecx + 4]
call edi
mov esi, dword [0x74fccc]
push 0
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
push esi
call ebx
mov ebx, dword [ebp - 0x254]
push eax
push 0
push 0x80
push dword [ebx + 4]
call edi
call fcn.00465320
mov esi, dword [eax + 0x3c]
call fcn.00465320
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x258], eax
test esi, esi
jne 0x482d21
mov eax, dword [ebx + 4]
mov dword [ebp - 0x24c], eax
call fcn.00484a30
mov esi, eax
cmp dword [esi + 0x34], 0
jne 0x482ccb
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
jne 0x482c51
push dword [ebp - 0x24c]
lea eax, [esi + 0x20]
push eax
push 0x74c030
call fcn.00425ed0
add esp, 8
movzx eax, ax
mov ecx, esi
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push dword [ebp - 0x24c]
call fcn.00425a50
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3b8
call fcn.00669e77
push 0x3b8
push 0
push eax
mov dword [esi + 0x3c], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3c]
add esp, 0x10
cmp dword [ebp - 0x258], 0
mov dword [eax], 0x3a8
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], 0x5510
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x3a4], 0
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x10], 0x1513
jne 0x482cc3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x6f0340
push 1
push 0
push eax
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push dword [esi + 4]
call edi
mov dword [esi + 0x34], eax
push 0x6d3aa4
call fcn.00484a30
mov ecx, eax
call fcn.004a7f00
push 0x80
push dword [0x74fccc]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
call fcn.00484a30
mov esi, eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x482d21
mov dword [ecx + 0xc], 2
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 0x14], edi
push dword [esi + 0x3c]
mov edi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 1
call edi
test eax, eax
jne 0x482d21
push dword [esi + 0x3c]
push eax
call edi
push 0x6eb0d0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x28
call fcn.00669e77
mov esi, eax
mov dword [ebp - 0x24c], esi
lea ecx, [esi + 0x20]
push dword [ebp - 0x24c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
push ecx
push 0x74b788
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ecx], eax
mov dword [esi], 0x6d19b4
mov dword [0x755b30], esi
call fcn.00425ed0
add esp, 0xc
movzx eax, ax
mov ecx, esi
push eax
push 0
push 0
push SysReAllocString
push 0
push 0
push 0
call fcn.00425a50
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x2020000
cmp eax, ecx
je 0x482dd6
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x1f
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x190
push 0x258
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, ebx
push ecx
push 0xd4
lea ecx, [edi + 0x5c]
call fcn.00446900
mov ebx, dword [ebx + 4]
push ebx
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 4], 7
movaps xmm0, xmmword [0x6f8a00]
push 0x20
movups xmmword [ebp - 0x228], xmm0
call fcn.00669e77
add esp, 4
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x228]
push ecx
push esi
mov ecx, eax
call fcn.00454490
mov ecx, dword [ebp - 0x254]
push 0
push 0x190
push 0x258
push 0
mov dword [ecx + 0x4c], eax
lea ecx, [edi + 0x5c]
push 0
push dword [eax]
call fcn.00446550
mov edi, dword [ebp - 0x254]
push ecx
lea ecx, [edi + 4]
call fcn.00454240
push esi
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, edi
mov ecx, ebx
call fcn.00483620
mov ecx, ebx
call fcn.004837d0
call fcn.00455ae0
mov esi, dword [0x755d4c]
push 0x6eabc0
push 0xdd
push esi
mov dword [ebx + 0x48], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x482ec8
mov edx, eax
mov ecx, esi
call fcn.00446800
mov ecx, dword [ebx + 0x48]
push 1
add ecx, 0x24
push eax
push 0
push dword [edi + 4]
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
mov edx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 1
push eax
call dword [edx + 4]
mov ecx, ebx
call fcn.00484950
xor eax, eax
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.00669a1e
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00422220
int3