Function at 0x40c530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c970
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x48d06c]
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 edi, ecx
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6a
push edi
mov dword [ebp - 0x40], 0x30
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 0x40c500
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6a
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x18], 0x46eb70
mov dword [ebp - 0x1c], 0
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push SysReAllocString
push 0x46eb50
push 0x46eb60
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x40c9f5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push str._fT
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00409340
test al, al
jne 0x40c642
push 6
push str._fT
lea ecx, [ebp - 0x5c]
call fcn.00409090
push 0x46eb80
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0040ccc0
add esp, 4
push 0x46ebb0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0040ccc0
add esp, 4
push 0x50021
push 0x46eba0
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x64]
cmp eax, 1
sete bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410750
mov ecx, eax
test bl, bl
je 0x40c96e
mov edx, dword [eax]
call dword [edx + 4]
call fcn.00410750
mov dword [eax + 0x20], 0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x40c9ff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push 0x46ebc4
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 3
call fcn.00409340
test al, al
jne 0x40c748
push 2
push 0x46ebc4
lea ecx, [ebp - 0x5c]
call fcn.00409090
push 0x46ebb4
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.0040ccc0
add esp, 4
push 0x46ebdc
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.0040ccc0
add esp, 4
push 0x40
push 0x46ebcc
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x60]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c7a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c7c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40c7df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410750
mov ecx, eax
call fcn.00414430
call fcn.00410750
cmp dword [0x48f308], 0
lea esi, [eax + 0x20]
je 0x40c9d4
push 0x13
mov eax, 0x193b
mov dword [ebp - 0x30], 0x1bb
push str.masterconn11.qq.com
lea ecx, [ebp - 0x28]
mov word [ebp - 0x34], ax
mov dword [ebp - 0x2c], 0x1f40
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004041c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x58]
call fcn.00402940
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push 1
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [0x48f2f4]
mov byte [ebp - 4], 6
mov edi, eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x38], edi
cmp edx, 0x10
jb 0x40c8a3
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca09
push edx
push ecx
call fcn.0042297a
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov edx, esi
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.004187c0
push dword [esi + 4]
push dword [esi]
push str.Report6459_Result__d__flag__d_
push 0x48dac0
call fcn.00417ab0
add esp, 0x10
mov dword [ebp - 4], 9
test edi, edi
je 0x40c8ef
push edi
call dword [0x48f2fc]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40c923
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c919
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca0e
push edx
push ecx
call fcn.0042297a
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x48f308], 0
je 0x40c9d4
cmp dword [0x48f314], 0
je 0x40c9d4
push str.FinalizeReport...
push 0x48dac0
call fcn.00417de0
add esp, 8
call fcn.00405e40
mov ecx, eax
call fcn.00406c10
mov dword [0x48f314], 0
jmp 0x40c9d4
call fcn.00411920
call fcn.00410750
add eax, 0x2b8
cmp dword [eax + 0x14], 8
jb 0x40c985
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004092a0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
call fcn.00418620
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40c9bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410750
mov dword [eax + 0x20], 1
call fcn.00410750
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, 1
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.00422308
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
push 0x80004005
call fcn.00408740
call fcn.004309e5
call fcn.004309e5
int3