Function at 0x40b950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c87b
mov eax, dword fs:[0]
push eax
mov eax, 0x5980
call fcn.00417900
mov eax, dword [0x43d180]
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 esi, ecx
lea ecx, [ebp - 0x597c]
call fcn.00408870
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x27c], ax
lea eax, [ebp - 0x27a]
push eax
call fcn.00417930
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x484], ax
lea eax, [ebp - 0x482]
push eax
call fcn.00417930
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xc84], ax
lea eax, [ebp - 0xc82]
push eax
call fcn.00417930
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00417930
add esp, 0x30
lea ecx, [ebp - 0x597c]
push 0
call fcn.00409ac0
lea ecx, [ebp - 0x597c]
mov dword [ebp - 0x5988], eax
call fcn.00409e30
mov edi, eax
lea ecx, [ebp - 0x597c]
mov dword [ebp - 0x598c], edi
call fcn.00409e20
mov ebx, eax
lea ecx, [ebp - 0x597c]
mov dword [ebp - 0x5984], ebx
call fcn.00409b40
mov ecx, ebx
mov dword [ebp - 0x5980], eax
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
dec ecx
je 0x40ba89
dec ecx
je 0x40ba76
dec ecx
je 0x40ba63
mov dword [ebp - 0x5984], 0xffffffff
jmp 0x40baa2
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0x87
jmp 0x40ba9a
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0x86
jmp 0x40ba9a
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0x85
push dword [0x440914]
call ebx
test edi, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
je 0x40bab7
push dword [ebp - 0x598c]
push dword [esi + 0x34]
call edi
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x5988]
sub eax, 4
je 0x40bbf4
sub eax, 2
je 0x40bb8b
sub eax, 0xf
je 0x40bbf4
push 0x400
lea eax, [ebp - 0xc84]
push eax
push 0x81
push dword [0x440914]
call ebx
cmp dword [esi + 0xe4], 0
jle 0x40bb27
mov ecx, esi
call fcn.0040bde0
jmp 0x40bb33
lea eax, [ebp - 0xc84]
push eax
push dword [esi + 0x40]
call edi
push 0x32
lea eax, [ebp - 0x74]
push eax
push 0xdb
push dword [0x440914]
call ebx
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x38]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x3c]
call ebx
push 0x42d8f8
push dword [esi + 0x20]
mov dword [esi + 0xdc], 3
call edi
push 0x42d8f8
push dword [esi + 0x28]
call edi
push 1
push dword [esi + 0x30]
call ebx
push 0x87
jmp 0x40bd3b
push 0x400
lea eax, [ebp - 0xc84]
push eax
push 0x84
push dword [0x440914]
call ebx
lea eax, [ebp - 0xc84]
push eax
push dword [esi + 0x40]
call edi
push 0x32
lea eax, [ebp - 0x74]
push eax
push 0xdb
push dword [0x440914]
call ebx
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x38]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x3c]
call ebx
mov ecx, esi
mov dword [esi + 0xdc], 3
call fcn.0040bf40
push 0x87
jmp 0x40bd3b
push 0x400
lea eax, [ebp - 0xc84]
push eax
push 0x82
push dword [0x440914]
call ebx
lea eax, [ebp - 0xc84]
push eax
push dword [esi + 0x40]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x30]
call ebx
push 1
push dword [esi + 0x3c]
call ebx
cmp dword [esi + 0xd8], 0
lea eax, [ebp - 0x74]
push 0x32
push eax
mov eax, dword [sym.imp.USER32.dll_LoadStringW]
je 0x40bcc6
push 0x8b
push dword [0x440914]
call eax
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x38]
call edi
push 5
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x60]
mov dword [esi + 0xdc], 5
call ebx
push 0
push dword [esi + 0x64]
call ebx
push 0
push dword [esi + 0x4c]
call ebx
push 0
push dword [esi + 0x50]
call ebx
push 0
push dword [esi + 0x54]
call ebx
push 0
push dword [esi + 0x6c]
call ebx
push 0
push dword [esi + 0x74]
call ebx
push 0
push dword [esi + 0x58]
call ebx
push 0
push dword [esi + 0x68]
call ebx
push 0
push dword [esi + 0x5c]
call ebx
push 0
push dword [esi + 0x70]
call ebx
push 0
push dword [esi + 0x3c]
call ebx
jmp 0x40bce6
push 0x8c
push dword [0x440914]
call eax
lea eax, [ebp - 0x74]
push eax
push dword [esi + 0x38]
call edi
mov dword [esi + 0xdc], 4
push 0
lea ecx, [ebp - 0x597c]
call fcn.00409b60
push eax
push dword [esi + 0x30]
call edi
cmp dword [ebp - 0x5984], 0
jle 0x40bd0e
lea eax, [ebp - 0x27c]
push eax
push dword [esi + 0x20]
call edi
push 0xa
push 0x104
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 0x5980]
call fcn.00417b8d
add esp, 0x10
lea eax, [ebp - 0x484]
push eax
push dword [esi + 0x28]
call edi
push 0x88
push dword [0x440914]
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea eax, [ebp - 0x5980]
push eax
lea ecx, [esi + 0x78]
call fcn.0040bdb0
call fcn.0040ace0
test eax, eax
jne 0x40bd74
push eax
push dword [esi + 0x30]
call ebx
push 0
push dword [esi + 0x3c]
call ebx
push 0
push dword [esi + 0x38]
call ebx
lea ecx, [ebp - 0x597c]
mov dword [ebp - 4], 0xffffffff
call fcn.00408930
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.00416230
mov esp, ebp
pop ebp
ret