Function at 0x4198e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a4cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4c4184]
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 - 0x74], ebx
push 0
push 0x4a219c
push 0xc9
call fcn.0040ac40
add esp, 8
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esp], 0
push 0
push 0
push 0
push 0x21808
push dword [esi + 4]
call sub.gdiplus.dll_GdipBitmapConvertFormat
test eax, eax
je 0x41994d
mov dword [esi + 8], eax
mov dword [ebp - 4], 0
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41a22f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 2
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41a239
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x30]
mov byte [ebp - 4], 3
cmp eax, 3
ja case.0x41999f.0
jmp dword [eax*4 + 0x41a244]
push 0x5806
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00415690
mov edx, dword [ebp - 0x70]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4199e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5802
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.00415690
mov edx, dword [ebp - 0x70]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419a1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0xdf
jmp 0x419afb
push 0x5815
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00415690
mov edx, dword [ebp - 0x70]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419a67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5816
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
mov byte [ebp - 4], 7
jmp 0x419acf
push 0x5805
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00415690
mov edx, dword [ebp - 0x70]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419abb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5801
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00419410
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x7c]
call fcn.00415690
mov edx, dword [ebp - 0x70]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419af6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0xcc
push 0
push 0x4a219c
push eax
call fcn.0040ac40
add esp, 0xc
mov dword [ebx + 0x3c], eax
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0xd4]
call fcn.00420690
mov dword [ebx + 0xf8], 9
lea ecx, [ebx + 0xd4]
movzx eax, byte [ebx + 0x1f1]
push eax
call fcn.00419850
mov edi, dword [ebp - 0x7c]
lea ecx, [ebx + 0xd4]
push edi
call fcn.0041f9f0
mov esi, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x70], esi
push esi
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.004178c0
mov ecx, 0x190
mov eax, 0x55555556
sub ecx, esi
add ecx, ecx
imul ecx
push 1
push 0x24
mov eax, edx
push esi
shr eax, 0x1f
add eax, edx
push 0x1f4
push eax
push dword [ebx + 0xd8]
mov dword [ebp - 0x78], eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebp - 0x84]
mov dword [ebx + 0xfc], esi
test byte [ebx + 0xf8], 8
je 0x419bd4
push dword [ebx + 0xd8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419bd4
lea ecx, [ebx + 0xd4]
call fcn.0041fe10
push 0x3f2
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 1
mov dword [ebx + 0x108], 2
mov dword [ebx + 0x10c], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x120]
call fcn.00420690
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
push 1
push 0x24
push ecx
push 0x1f4
lea eax, [ecx + eax*2]
push eax
push dword [ebx + 0x124]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebx + 0x144], 9
lea ecx, [ebx + 0x120]
movzx eax, byte [ebx + 0x1f1]
push eax
call fcn.00419850
push 0x5803
lea eax, [ebp - 0x78]
mov ecx, ebx
push eax
call fcn.00419410
push dword [eax]
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 0xb
call fcn.0041f9f0
mov edx, dword [ebp - 0x78]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419c8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx + 0x148], esi
test byte [ebx + 0x144], 8
je 0x419cb9
push dword [ebx + 0x124]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419cb9
lea ecx, [ebx + 0x120]
call fcn.0041fe10
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov dword [ebx + 0x14c], 0
mov dword [ebx + 0x150], 1
mov dword [ebx + 0x154], 2
mov dword [ebx + 0x158], 0
push dword [ebx + 0xd8]
call esi
push 0
push dword [ebx + 0x124]
call esi
push 0
push 3
push 0x20
push 0x18
push 0x30
mov byte [ebp - 4], 0xc
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0
mov esi, eax
push 0x4a219c
push 0xe2
mov dword [ebp - 0x98], esi
call fcn.0040ac40
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], ebx
push 0xff000000
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x419d4b
mov dword [ebx + 8], eax
push 0
push 0x4a219c
push 0xe3
call fcn.0040ac40
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x70], ebx
push 0xff000000
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x419d7f
mov dword [ebx + 8], eax
push 0
push 0x4a219c
push 0xe1
call fcn.0040ac40
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], ebx
push 0xff000000
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x419db6
mov dword [ebx + 8], eax
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Add]
push 0
push dword [ebp - 0x88]
push esi
call ebx
push 0
push dword [ebp - 0x8c]
push esi
call ebx
push 0
push dword [ebp - 0x90]
push esi
call ebx
mov ecx, dword [ebp - 0x78]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x70]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x94]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ebx, dword [ebp - 0x74]
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebx + 0x5c]
lea ecx, [ebx + 0x5c]
mov dword [ebp - 0x70], eax
call dword [edx + 8]
mov edx, dword [ebx + 0x70]
mov dword [ebp - 0x74], eax
lea eax, [ebx + 0x5c]
test edx, edx
jne 0x419e33
call fcn.00449c25
mov edx, eax
lea eax, [ebx + 0x5c]
mov dword [eax + 0x14], edx
test edx, edx
je 0x419e6b
push eax
push dword [ebp - 0x74]
push edx
call fcn.00449d27
push dword [ebx + 0x70]
call fcn.00449c8a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
test ecx, ecx
je 0x419e68
mov dword [ebx + 0x7c], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebx + 0x60], ecx
lea ecx, [ebx + 0x5c]
call fcn.00419790
lea eax, [ebx + 0x5c]
mov dword [ebx + 0x80], 9
mov dword [eax + 0x28], esi
test byte [ebx + 0x80], 8
je 0x419e96
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419e96
lea ecx, [ebx + 0x5c]
call fcn.0041ff20
push 0x5804
lea eax, [ebp - 0x74]
mov dword [ebx + 0x88], 0
push eax
mov ecx, ebx
mov dword [ebx + 0x8c], 1
mov dword [ebx + 0x90], 2
mov dword [ebx + 0x94], 0
call fcn.00419410
push dword [eax]
lea ecx, [ebx + 0x5c]
mov byte [ebp - 4], 0xd
call fcn.0041fc00
mov edx, dword [ebp - 0x74]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419efb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0x18
push 0x30
push 2
push 0x2ee
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ed
push dword [ebx + 4]
call esi
push 0x3ec
mov dword [ebx + 0x40], eax
push dword [ebx + 4]
call esi
push 0x3ee
mov dword [ebx + 0x44], eax
push dword [ebx + 4]
call esi
push 0x3ef
mov dword [ebx + 0x48], eax
lea esi, [ebx + 0xa4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x70], eax
call dword [edx + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x419f72
call fcn.00449c25
mov dword [esi + 0x14], eax
test eax, eax
je 0x419f9d
push esi
push dword [ebp - 0x74]
push eax
call fcn.00449d27
push dword [esi + 0x14]
call fcn.00449c8a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x419f9d
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + 4], eax
cmp byte [ebx + 0x1f1], 0
mov ecx, 0x118
push 1
push 5
push 0x190
mov eax, 0x14a
cmovne eax, ecx
push eax
push 0xc8
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push dword [ebx + 0xa8]
call esi
push 0
push 0
push 0x402
mov dword [ebx + 0xc8], 0
push dword [ebx + 0xa8]
call esi
push 0
push 0
push 0x31
push dword [ebx + 0x40]
call esi
push 0x5c
mov esi, eax
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0044ccb0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
xor eax, eax
mov dword [ebp - 0x5c], 0x2bc
cmp byte [ebx + 0x1f1], al
setne al
lea eax, [eax*8 + 0x1e]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
push 0x30
mov dword [ebx + 0x50], eax
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x80]
push esi
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebx + 0x1f1], 0
mov ecx, 0xc8
push 1
push 0x32
push 0x190
mov eax, 0xfa
cmovne eax, ecx
push eax
push ecx
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 1
cmp eax, ecx
je 0x41a0c5
push ecx
push 0xfffffffffffffff0
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
mov dword [ebp - 0x5c], 0x258
cmp byte [ebx + 0x1f1], al
setne al
lea eax, [eax*8 + 0x1a]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
push 0x30
mov dword [ebx + 0x54], eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4a13dc
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebx + 0x1f1], 0
mov ecx, 0x118
push 1
push 0x32
push 0x1f4
mov eax, 0x14a
cmovne eax, ecx
push eax
push 0x96
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 1
cmp eax, ecx
je 0x41a156
push ecx
push 0xfffffffffffffff0
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
mov dword [ebp - 0x5c], 0x190
cmp byte [ebx + 0x1f1], al
setne al
lea eax, [eax*8 + 0x18]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
push 0x30
mov dword [ebx + 0x58], eax
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4a13dc
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebx + 0x1f1], 0
mov ecx, 0x14a
push 1
push 0x64
push 0x258
mov eax, 0x17c
cmovne eax, ecx
push eax
push 0x64
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 1
cmp eax, ecx
je 0x41a1e4
push ecx
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lodsb al, byte [esi]
add ecx, dword [edx]
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41a1fe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41a213
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0044a466
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
nop
jge 0x41a1e0
inc ecx
add byte [esi + 0x29004199], ah
lcall 0x41, 0x9a290041
int3