Function at 0x101650c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b501d
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [ebp - 0x70]
add edx, 0x2c
push edx
lea ecx, [ebp - 0x38]
call fcn.1000ae80
push 2
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0xc4]
mov ecx, dword [ecx + 0x1c]
add ecx, 4
call fcn.10137a00
lea ecx, [ebp - 0x68]
call fcn.1001ab30
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
add eax, 0xc4
mov edx, dword [ecx + 0xc4]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0xa
mov dword [ebp - 0x58], eax
push 0x4f
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0xa
mov dword [ebp - 0x54], eax
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0xa
mov dword [ebp - 0x7c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x101ec910
call fcn.10005d80
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 0
push 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.Height
call fcn.10005d80
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e0cf0
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0xc4]
fild dword [eax + 0x58]
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x68]
mov dword [ebp - 0xd8], ecx
fild dword [ebp - 0xd8]
fmul qword [str.333333]
fcompp
fnstsw ax
test ah, 0x41
jne 0x10165234
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
add ecx, 0x29c
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0x44], 0
je 0x10165264
mov ecx, dword [ebp - 0x78]
add ecx, 0x40
call fcn.100af900
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x98], 5
mov edx, dword [ebp - 0xc4]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10003ea0
push 0x101ec924
mov ecx, dword [ebp - 0xc4]
add ecx, 0x40
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x101652f2
push 0x101ec92c
mov ecx, dword [ebp - 0xc4]
add ecx, 0x40
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x101652f2
push 0x101ec930
mov ecx, dword [ebp - 0xc4]
add ecx, 0x40
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x101652f2
mov dword [ebp - 0xdc], 0
jmp 0x101652fc
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov dl, byte [ebp - 0xdc]
mov byte [ecx + 0x2ad], dl
push 0x101ec93c
mov ecx, dword [ebp - 0xc4]
add ecx, 0x44
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x1016537d
push 0x101ec944
mov ecx, dword [ebp - 0xc4]
add ecx, 0x44
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x1016537d
push 0x101ec948
mov ecx, dword [ebp - 0xc4]
add ecx, 0x44
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x1016537d
mov dword [ebp - 0xe0], 0
jmp 0x10165387
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov dl, byte [ebp - 0xe0]
mov byte [ecx + 0x2ae], dl
mov ecx, dword [ebp - 0xc4]
add ecx, 0x48
call fcn.10005e60
test eax, eax
je 0x101653da
mov eax, dword [ebp - 0x78]
mov byte [eax + 0xb8], 1
mov ecx, dword [ebp - 0xc4]
add ecx, 0x48
call fcn.10004390
push eax
call fcn.10165b10
add esp, 4
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xb4], eax
jmp 0x101653e4
mov edx, dword [ebp - 0x78]
mov byte [edx + 0xb8], 0
push 0x101ec954
mov ecx, dword [ebp - 0xc4]
add ecx, 0x3c
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x10165444
push 0x101ec95c
mov ecx, dword [ebp - 0xc4]
add ecx, 0x3c
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x10165444
push 0x101ec960
mov ecx, dword [ebp - 0xc4]
add ecx, 0x3c
call fcn.10004390
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x10165463
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x90], 1
push 0x101ec96c
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10025620
jmp 0x10165480
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x90], 0
push str.inbanner
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10025620
push 0
push str.file:__
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10165580
push 0
push str.http:__
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10165580
push 0
push str.https:__
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10165580
push 0x101ec9c8
mov edx, dword [ebp - 0x78]
add edx, 8
push edx
call fcn.1000c4e0
add esp, 8
movzx eax, al
test eax, eax
je 0x10165580
mov ecx, dword [ebp - 0x78]
add ecx, 8
push ecx
push 0
lea edx, [ebp - 0x8c]
push edx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.100042a0
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10003ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10005e00
mov edx, dword [ebp - 0xc4]
add edx, 0x38
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 0xc
call fcn.10003ea0
mov eax, dword [ebp - 0x78]
add eax, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.10005d60
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xc4]
mov ecx, dword [ecx + 0x1c]
call fcn.1011c2b0
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x74], edx
push 0xfde9
push 1
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
add ecx, 0xc4
mov edx, dword [edx + 0xc4]
mov eax, dword [edx + 0xbc]
call eax
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.10005e20
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
add eax, 0xc4
mov edx, dword [ecx + 0xc4]
mov ecx, eax
mov eax, dword [edx + 0xa8]
call eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x58]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x5c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc4]
xor edx, edx
cmp dword [ecx + 0x4c], 0
setne dl
mov eax, dword [ebp - 0x78]
mov byte [eax + 0xb9], dl
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0x101ec9e0
call fcn.10005d80
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 4], 3
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x101ec9e4
call fcn.10005d80
mov dword [ebp - 0x104], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e0cf0
add esp, 0xc
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x101656f4
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x38]
add eax, dword [edx]
mov dword [ebp - 0x30], eax
jmp 0x101656ff
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x30]
sub edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x70]
add edx, 0x2c
sub esp, 0x10
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0xac]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx + 0x1c]
call fcn.101356b0
mov eax, dword [ebp - 0x78]
mov byte [eax + 0x10], 1
mov ecx, dword [ebp - 0xc4]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0x8c
call fcn.10003ea0
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x434]
mov edx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x628]
mov dword [edx + 0x84], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x28], 0x94000000
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x60], 0
je 0x101657e9
mov edx, dword [ebp - 0x28]
or edx, 0x400000
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0xb8]
test ecx, ecx
jne 0x1016581b
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x50], 0
jne 0x1016580f
mov eax, dword [ebp - 0xc4]
cmp dword [eax + 0x54], 0
je 0x1016581b
mov ecx, dword [ebp - 0x28]
or ecx, 0xc00000
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0xb8]
test eax, eax
jne 0x10165841
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x54], 0
je 0x10165841
mov edx, dword [ebp - 0x28]
or edx, 0x80000
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0xb8]
test ecx, ecx
jne 0x10165856
mov dword [ebp - 0x50], 0x200
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x11]
test eax, eax
je 0x1016586d
mov ecx, dword [ebp - 0x28]
or ecx, 0x300000
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x12]
test eax, eax
je 0x10165884
mov ecx, dword [ebp - 0x28]
or ecx, 0x40000
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0x14
call fcn.100111c0
mov edx, dword [ebp - 0xc4]
xor eax, eax
cmp dword [edx + 0x4c], 0
setne al
mov ecx, dword [ebp - 0x78]
mov byte [ecx + 0xb9], al
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0
call fcn.10004c60
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.100043a0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x38]
push edx
call fcn.10004c40
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
add ecx, 4
call fcn.10004cb0
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x40
call fcn.1001a590
push 5
push 5
mov ecx, dword [ebp - 0x78]
add ecx, 0x44
call fcn.10004cb0
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x85
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x78]
add ecx, 0xc
call fcn.10004400
movzx eax, al
test eax, eax
jne 0x10165a55
push 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0xa0
call fcn.10003ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10005e00
mov ecx, dword [ebp - 0x78]
add ecx, 0xc
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0xa0
call fcn.100257b0
mov edx, dword [ebp - 0x78]
add edx, 0xa0
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push edx
call fcn.10005d60
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
call fcn.1011c2b0
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x80], ecx
push 0xfde9
push 1
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
add eax, 0xc4
mov edx, dword [ecx + 0xc4]
mov ecx, eax
mov eax, dword [edx + 0xbc]
call eax
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0xa0
call fcn.10005e20
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
add eax, 0xc4
mov edx, dword [ecx + 0xc4]
mov ecx, eax
mov eax, dword [edx + 0xa8]
call eax
mov ecx, dword [ebp - 0x78]
add ecx, 8
push ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0x88
call fcn.10003ea0
mov ecx, dword [ebp - 0x78]
add ecx, 8
call fcn.100043a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100ae090
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.10012560
mov byte [ebp - 4], 6
push 1
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc4]
mov ecx, dword [ecx + 0x1c]
add ecx, 0xc4
mov edx, dword [eax + 0xc4]
mov eax, dword [edx + 0xc0]
call eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x14
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x1c]
mov dword [eax + 0x43c], ecx
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.10012580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10012580
mov eax, dword [ebp - 0xc0]
jmp 0x10165afd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc