Function at 0x40f082
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c62
mov eax, dword fs:[0]
push eax
mov eax, 0x1084
call fcn.00492280
mov eax, dword [0x4eb664]
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 - 0x1088], ebx
push 0x2bc
lea eax, [ebx + 0x320]
push 0
push eax
call fcn.004921d0
add esp, 0xc
push 0xfffffffffffffffa
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x28], eax
add eax, 0x50
mov dword [ebx + 0x2c], eax
xor eax, eax
mov edi, 0x7fe
push edi
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.004921d0
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0x850], ax
lea eax, [ebp - 0x84e]
push eax
call fcn.004921d0
xor ecx, ecx
mov dword [ebp - 0x1080], ecx
xor eax, eax
lea edi, [ebp - 0x107c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push ecx
push dword [ebx + 4]
mov dword [ebp - 0x108c], ecx
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
dec eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x2bc
mov eax, 0xcc6600
push ecx
mov edi, 0x8c8c8c
push 0xfffffffffffffff2
lea ecx, [ebx + 0x84]
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x1f4], eax
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0xac], 0xff
call fcn.00411687
mov esi, 0x190
push esi
push ecx
push 0xfffffffffffffff4
lea ecx, [ebx + 0xb0]
mov dword [ebx + 0xd8], edi
call fcn.00411687
push esi
push ecx
push 0xfffffffffffffff4
lea ecx, [ebx + 0xdc]
mov dword [ebx + 0x104], edi
call fcn.00411687
cmp dword [ebx + 0x2ac], 0
mov dword [ebx + 0x130], 0xff
lea esi, [ebx + 4]
jne 0x40f25c
push 0x4d5510
push 0x3e9
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f4
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ec
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ed
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40f3d1
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f4
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ec
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ed
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x2b4], 0
je 0x40f2cc
push 0x4d5538
jmp 0x40f2d1
push 0x4d5554
push 0x3e9
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x400
lea eax, [ebp - 0x1050]
push eax
push 0x70
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x29c]
cmp dword [eax + 0x14], 8
jb 0x40f303
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x3ea
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x400
lea eax, [ebp - 0x1050]
push eax
push 0x71
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x268]
cmp dword [eax + 0x14], 8
jb 0x40f354
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x3ec
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x400
lea eax, [ebp - 0x1050]
push eax
push 0x72
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x280]
cmp dword [eax + 0x14], 8
jb 0x40f3a5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x3ed
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebx + 0x24c]
cmp eax, 1
je 0x40f71c
cmp eax, 3
je 0x40f71c
push 0x42e
push dword [esi]
cmp eax, 2
jne 0x40f658
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x42f
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x432
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ee
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40e
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f5
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ef
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f1
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f2
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f6
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f0
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x298]
lea eax, [ebp - 0x850]
push 0x4d4d88
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x3f6
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f6
push dword [esi]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax - 1]
and dword [ebp - 0x1060], 0
and dword [ebp - 0x1070], 0
xor eax, eax
lea edi, [ebp - 0x105c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x106c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3f6
lea edi, [ebx + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x1060]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x3f2
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x1070]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1058]
sub eax, dword [ebp - 0x1060]
mov ecx, edi
imul eax, esi
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x1070], eax
add dword [ebp - 0x1068], eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00412444
push 0x3f2
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov dword [ebp - 0x1084], eax
push 1
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x1084]
call fcn.0041241d
mov ecx, dword [ebp - 0x1058]
mov eax, ecx
sub eax, dword [ebp - 0x1060]
imul eax, esi
cdq
sub eax, edx
sar eax, 1
add ecx, eax
lea eax, [ebp - 0x1060]
mov dword [ebp - 0x1058], ecx
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.00412444
push 0x3f6
push dword [esi]
call edi
mov dword [ebp - 0x1084], eax
push 1
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x1084]
call fcn.0041241d
push 0x400
lea eax, [ebp - 0x1050]
push eax
push 0x73
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x2b8]
cmp dword [eax + 0x14], 8
jb 0x40f625
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x3f1
push dword [esi]
call edi
jmp 0x40f973
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x42f
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x432
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ee
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40e
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f5
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ef
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f1
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f2
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f6
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f0
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40f96d
push 0x432
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x42f
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x42e
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ee
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40e
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f5
push dword [esi]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ef
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f1
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f2
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f6
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f0
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x400
lea eax, [ebp - 0x1050]
push eax
push 0x74
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x268]
cmp dword [eax + 0x14], 8
jb 0x40f807
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x850]
push eax
push 0x42e
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
and dword [ebp - 0x1070], 0
and dword [ebp - 0x1060], 0
xor eax, eax
lea edi, [ebp - 0x106c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x105c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x430
push dword [esi]
stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x1070]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x40e
push dword [esi]
call edi
lea ecx, [ebp - 0x1060]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1064]
add eax, 6
mov dword [ebp - 0x105c], eax
mov eax, dword [ebp - 0x1070]
mov dword [ebp - 0x1060], eax
lea eax, [ebp - 0x1060]
push eax
mov ecx, esi
call fcn.00412444
push 0x40e
push dword [esi]
call edi
mov dword [ebp - 0x1084], eax
push 1
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x1084]
call fcn.0041241d
push 0x3f5
push dword [esi]
call edi
lea ecx, [ebp - 0x1060]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1054]
sub eax, dword [ebp - 0x105c]
mov edi, dword [ebp - 0x1058]
mov edx, dword [ebp - 0x1064]
sub edi, dword [ebp - 0x1060]
mov ecx, dword [ebp - 0x1070]
add edx, 3
add ecx, 0x58
add eax, edx
mov dword [ebp - 0x1054], eax
lea eax, [edi + ecx]
mov dword [ebp - 0x1058], eax
lea eax, [ebp - 0x1060]
mov dword [ebp - 0x105c], edx
mov dword [ebp - 0x1060], ecx
push eax
lea esi, [ebx + 4]
mov ecx, esi
call fcn.00412444
push 0x3f5
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1084], eax
push 1
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x1084]
call fcn.0041241d
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40f9f0
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x40f985
mov eax, dword [eax]
push eax
push 0x41c
push dword [esi]
call edi
mov eax, dword [ebx + 0x28]
add eax, 0x20
cmp dword [eax + 0x14], 8
jb 0x40f99d
mov eax, dword [eax]
push eax
push 0x41e
push dword [esi]
call edi
mov eax, dword [ebx + 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x4c]
push str.0x_08x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push 0x420
push dword [esi]
call edi
mov eax, dword [ebx + 0x28]
push dword [eax]
lea eax, [ebp - 0x4c]
push str.0x_08x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
push 0x422
push dword [esi]
call edi
push 0x4eb630
lea ecx, [ebp - 0x1084]
call fcn.004044ee
and dword [ebp - 4], 0
push 0xbb8
lea eax, [ebp - 0x1084]
push 0x69
push eax
call fcn.00412120
mov ebx, dword [ebp - 0x1084]
add esp, 0xc
push ebx
push 0x3fb
push dword [esi]
call edi
mov edi, dword [ebp - 0x1088]
push ecx
push ecx
mov ecx, edi
call fcn.0040ec74
push 0x41a
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x430
push dword [esi]
mov dword [edi + 0x1f8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push 0xf1
push eax
mov dword [edi + 0x220], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4d557c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [edi + 0x1fc]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [edi + 0x234]
push eax
push dword [edi + 0x1f8]
mov dword [ebp - 0x1084], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x430
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x1080]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x1088]
xor eax, eax
lea edi, [ebp - 0x106c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 0x200]
mov dword [ebp - 0x106c], eax
mov eax, dword [esi]
mov dword [ebp - 0x1070], eax
mov eax, dword [ecx + 0x204]
mov dword [ebp - 0x1068], eax
mov eax, dword [ecx + 0x24c]
cmp eax, 1
je 0x40fb5f
cmp eax, 3
je 0x40fb5f
lea esi, [ecx + 0x234]
lea edi, [ebp - 0x1060]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
cmp eax, 2
mov eax, dword [ecx + 0x238]
lea esi, [ebp - 0x1060]
mov edi, esp
jne 0x40fb4b
add eax, 0x3c
mov dword [ebp - 0x105c], eax
mov eax, dword [ecx + 0x240]
add eax, 0x3c
mov dword [ebp - 0x1054], eax
jmp 0x40fb6a
add eax, 0x1e
mov dword [ebp - 0x105c], eax
mov eax, dword [ecx + 0x240]
add eax, 0x1e
jmp 0x40fb43
mov esi, dword [ebp - 0x1084]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x21c], esi
sete al
push eax
call fcn.0040fc5e
xor eax, eax
cmp dword [edi + 0x21c], esi
mov ecx, edi
sete al
push eax
call fcn.00410052
cmp dword [edi + 0x21c], esi
je 0x40fbb2
mov eax, dword [edi + 0x238]
sub eax, dword [edi + 0x240]
add eax, dword [edi + 0x208]
jmp 0x40fbb8
mov eax, dword [edi + 0x208]
mov dword [ebp - 0x1064], eax
push 1
lea eax, [ebp - 0x1070]
push eax
lea ecx, [edi + 4]
call fcn.0041241d
lea eax, [edi + 0x20c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x108c]
push eax
xor eax, eax
push eax
push edi
push 0x4110fa
push eax
push eax
call esi
mov dword [edi + 0x5e8], eax
lea eax, [ebp - 0x108c]
push eax
xor eax, eax
push eax
push edi
push 0x410fc2
push eax
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebx - 0x10]
call fcn.00404f8d
xor eax, eax
inc 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.0048f059
leave
ret 0x10