Function at 0x4043d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c5bb
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.00433ef0
mov eax, dword [0x447034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x2bc
xor ebx, ebx
lea eax, [esi + 0x158]
push ebx
push eax
call fcn.0042a8d0
mov ecx, dword [esi + 4]
add esp, 0xc
push 0xfffffffffffffffa
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x7fe
lea edx, [ebp - 0x84e]
mov dword [esi + 0x28], edi
push ebx
add edi, 0x5c
push edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov word [ebp - 0x850], bx
call fcn.0042a8d0
add esp, 0xc
push 0x7fe
lea eax, [ebp - 0x104e]
push ebx
push eax
mov word [ebp - 0x1050], bx
call fcn.0042a8d0
mov ecx, dword [esi + 4]
add esp, 0xc
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x1068], ebx
mov dword [ebp - 0x1064], ebx
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1058], eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
sub eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_GetMenuItemID]
push 1
push eax
push edi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0x24]
push 0x400
lea edx, [ebp - 0x850]
push edx
push 0x6e
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0x28]
add eax, 8
cmp dword [eax + 0x18], 8
jb 0x4044dc
mov eax, dword [eax + 4]
jmp 0x4044df
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x850]
push ecx
lea edx, [ebp - 0x1050]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x1050]
push eax
push 0x40b
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x1064]
push ecx
push eax
mov dword [esi + 0x420], eax
call ebx
mov edx, dword [esi + 4]
push 0x406
push edx
call edi
add dword [ebp - 0x1064], 0x14
mov dword [esi + 0x424], eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x1064]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x404579
mov eax, dword [esi + 4]
lea edx, [ebp - 0x105c]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1060]
mov ecx, dword [ebp - 0x1058]
mov edx, dword [ebp - 0x105c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x1064]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x424]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x424]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x420]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x24]
push 0x400
lea eax, [ebp - 0x850]
push eax
push 0x6c
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x850]
push edx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [esi + 0x24]
push 0x400
lea ecx, [ebp - 0x850]
push ecx
push 0x67
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0x28]
add eax, 8
cmp dword [eax + 0x18], 8
jb 0x40461d
mov eax, dword [eax + 4]
jmp 0x404620
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x1050]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x1050]
push edx
push 0x3e9
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4046f9
cmp dword [eax + 0x20], 8
jb 0x40466b
mov eax, dword [eax + 0xc]
jmp 0x40466e
add eax, 0xc
mov ecx, dword [esi + 4]
push eax
push 0x3f6
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 0x28]
add eax, 0x24
cmp dword [eax + 0x18], 8
jb 0x40468f
mov eax, dword [eax + 4]
jmp 0x404692
add eax, 4
mov edx, dword [esi + 4]
push eax
push 0x3f7
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x4c]
push str.0x_08x
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push 0x3f8
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [esi + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x4c]
push str.0x_08x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x4c]
push edx
push 0x3f9
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [0x44951c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44951c
call eax
add eax, 0x10
mov dword [ebp - 0x1054], eax
push 0xbb8
lea ecx, [ebp - 0x1054]
push 0x69
push ecx
mov dword [ebp - 4], 0
call fcn.00407f40
mov edx, dword [ebp - 0x1054]
mov eax, dword [esi + 4]
add esp, 0xc
push edx
push 0x3fb
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
call fcn.00403c00
mov ecx, dword [esi + 4]
push 0x3fc
push ecx
call edi
mov edx, dword [esi + 4]
push 0x3ff
push edx
mov dword [esi + 0xec], eax
call edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 4]
push 0x400
push eax
call edi
mov ecx, dword [esi + 4]
push 0x401
push ecx
mov dword [esi + 0x140], eax
call edi
mov edx, dword [esi + 4]
push 0x404
push edx
mov dword [esi + 0x144], eax
call edi
mov dword [esi + 0x148], eax
lea eax, [esi + 0xf0]
push eax
mov eax, dword [esi + 4]
push eax
call ebx
mov edx, dword [esi + 0xec]
lea ecx, [esi + 0x128]
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
push 0x3ff
push eax
call edi
lea ecx, [ebp - 0x1064]
push ecx
push eax
call ebx
mov edi, dword [esi + 0x12c]
mov eax, dword [ebp - 0x1058]
mov ecx, dword [esi + 0xf8]
mov edx, dword [esi + 0xf0]
add eax, 0x14
mov dword [esi + 0x124], edi
mov edi, dword [esi + 0xf4]
push 1
mov dword [esi + 0x11c], eax
sub eax, edi
mov dword [esi + 0x120], ecx
push eax
sub ecx, edx
push ecx
mov dword [esi + 0x118], edx
push edi
push edx
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
lea eax, [esi + 0x100]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [ebp - 0x1068]
push edx
push 0
push esi
push 0x405f80
push 0
push 0
call edi
mov dword [esi + 0x41c], eax
lea eax, [ebp - 0x1068]
push eax
push 0
push esi
push 0x405e10
push 0
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x28]
cmp dword [ecx + 0xb0], 0
je 0x40489c
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.00404020
test eax, eax
je 0x4048bb
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4048bb
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1054]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004282a0
mov esp, ebp
pop ebp
ret