Function at 0x414640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ad66
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [0x44d194], 1
jne 0x41469f
or dword [0x44d194], 1
mov ecx, 0x44d178
mov dword [ebp - 4], 0
call fcn.004100d0
push 0x43bdf0
call fcn.00423de2
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x44d178
call fcn.0040fb10
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401e10
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x24]
sub eax, 0x10
push eax
mov dword [ebp - 4], 1
call fcn.00401e10
lea ebx, [eax + 0x10]
add esp, 8
mov dword [ebp - 0x14], ebx
cmp dword [ebx - 0xc], 0
mov byte [ebp - 4], 2
jne 0x414767
push edi
lea ecx, [ebp - 0x18]
call fcn.00405620
mov bl, 3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00410530
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401e10
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004055b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x20]
add eax, 0x20
cmp dword [ecx - 0xc], 0
jne 0x414779
lea eax, [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x44bb48]
mov edx, dword [eax + 0xc]
mov ecx, 0x44bb48
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x2c]
push ebx
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 5
call fcn.00406d30
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0xc
push edx
push 0x401
push eax
call edi
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x30]
push ebx
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
add esp, 0xc
push eax
push 0x3ec
push ecx
call edi
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x41484a
mov eax, dword [eax + 0x34]
mov edx, dword [esi + 4]
push eax
push 0x403
push edx
call edi
mov eax, dword [esi + 4]
push 0x403
push eax
call ebx
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x403
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi + 4]
push 0x403
push edx
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x1c], 0
je 0x4148a0
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
add esp, 0xc
push eax
push 0x3ea
push ecx
call edi
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esi + 4]
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [esi + 4]
push 0x3ea
push ecx
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0x3c]
push eax
mov eax, dword [esi + 4]
push 0x3eb
push eax
call edi
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x40]
mov edx, dword [esi + 4]
push eax
push 0x3ee
push edx
call edi
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x44]
mov ecx, dword [esi + 4]
push eax
push 1
push ecx
call edi
mov ecx, dword [ebp - 0x24]
push 1
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x414926
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 4]
push 0x402
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
push 0x170
push eax
call edi
jmp 0x414971
push 0x7f01
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
call edi
mov edx, dword [esi + 4]
push eax
push 1
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 4]
push 0x402
push eax
call ebx
push 0x7f01
push 0
mov ebx, eax
call edi
push 0
push eax
push 0x170
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x414986
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
jmp 0x41499f
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [esi + 4]
push eax
push 0
push 0x80
push edx
call edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret