Function at 0x496290
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57e390
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 0x388]
call fcn.0048f630
call fcn.0048fa70
test eax, eax
je 0x49658a
call fcn.0048f7b0
test eax, eax
je 0x49658a
mov edi, ebp
call fcn.00496170
cmp esi, eax
jne 0x49658a
mov ebx, 2
cmp dword [ebp + 0x388], ebx
jne 0x49634a
cmp dword [ebp + 0x380], 0x193
lea esi, [ebp + 0x24]
lea ecx, [ebx + 0x6b]
mov eax, esi
jne 0x496327
push 1
call fcn.0046ebd0
push 0
lea ecx, [ebx + 0x66]
mov eax, esi
call fcn.0046ebd0
push 1
jmp 0x49633e
push 0
call fcn.0046ebd0
push 1
mov ecx, 0x68
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x6e
mov eax, esi
call fcn.0046ebd0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], 0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x54], 1
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x5c], bl
call fcn.0048f630
lea ecx, [esp + 0x64]
mov edx, eax
call fcn.0048fe50
mov edx, dword [esp + 0x14]
lea ebx, [ebp + 0x24]
push edx
mov ecx, 0x66
mov eax, ebx
call fcn.0046ea90
mov esi, dword [esp + 0x18]
push esi
mov ecx, 0x68
mov eax, ebx
call fcn.0046ea90
push esi
mov ecx, 0x6e
mov eax, ebx
call fcn.0046ea90
lea eax, [esp + 0x1c]
push eax
push ebx
mov ecx, 0x68
call fcn.0046eae0
mov eax, dword [eax]
lea edi, [ebp + 0x3c4]
mov esi, eax
call fcn.0048f0a0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov ecx, 0x66
call fcn.0046eae0
mov eax, dword [eax]
lea edi, [ebp + 0x444]
mov esi, eax
call fcn.0048f0a0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x496467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
lea ebx, [esp + 0x24]
call fcn.004125d0
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.datahttprootuser_
mov byte [esp + 0x5c], 3
call fcn.0041a8a0
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
mov byte [esp + 0x64], 4
call fcn.00413170
add esp, 0x10
lea edi, [ebp + 0x3c0]
mov byte [esp + 0x54], 5
call fcn.004101e0
mov byte [esp + 0x54], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4964d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4964fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49651f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x49665c
lea ecx, [esp + 0x5c]
push ecx
lea eax, [ebp + 0x24]
push eax
mov ecx, 0x68
call fcn.0046eae0
mov dword [esp + 0x54], 6
mov edx, dword [eax]
test edx, edx
lea eax, [ebp + 0x3f0]
jne 0x4965b5
xor ecx, ecx
jmp 0x4965cf
mov ecx, edx
lea edi, [ecx + 2]
lea ebx, [ebx]
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x4965c0
sub ecx, edi
sar ecx, 1
push edx
mov ebx, ecx
call fcn.00410570
or edi, 0xffffffff
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4965fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
lea eax, [ebp + 0x24]
push eax
mov ecx, 0x66
call fcn.0046eae0
mov dword [esp + 0x54], 7
mov esi, dword [eax]
test esi, esi
lea eax, [ebp + 0x470]
jne 0x496628
xor ecx, ecx
jmp 0x49663f
mov ecx, esi
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x496630
sub ecx, ebx
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00410570
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x496668
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x3a8], 0x12c
mov esi, 0x196
mov dword [esp + 0x5c], 0x198
jne 0x49668e
mov esi, 0x132
mov dword [esp + 0x5c], 0x12f
xor ebx, ebx
lea eax, [ebp + 0x24]
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x4966ac
lea edi, [eax - 0x24]
jmp 0x4966ae
xor edi, edi
call fcn.004507b0
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
je 0x49671a
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x3c], edx
call ebx
test eax, eax
je 0x4966f3
mov eax, dword [ebp + 4]
lea edx, [esp + 0x30]
push edx
push eax
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x3c8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
xor edi, edi
lea eax, [ebp + 0x24]
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
je 0x496736
lea edi, [eax - 0x24]
mov esi, dword [esp + 0x5c]
call fcn.004507b0
test eax, eax
je 0x4967a0
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x4c], edx
call ebx
test eax, eax
je 0x496779
mov eax, dword [ebp + 4]
lea edx, [esp + 0x40]
push edx
push eax
call ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x448]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp + 0x3c8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push ecx
call esi
mov edx, dword [ebp + 0x448]
push 8
push edx
call esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4