joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4489e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x448a2a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x448a59
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x448a9b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x44d940
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44d9e3
test eax, eax
jbe 0x44d9e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44d9e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44d98e
xor esi, esi
jmp 0x44d994
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44d9bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044f930
add esi, eax
push esi
mov ebx, esi
call fcn.0044f930
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44d9a0
pop ebp
test edi, edi
pop edi
jne 0x44d9e3
test ebx, ebx
je 0x44d9e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045bc90
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x44db25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44dc3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44dc3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046d34f
mov esi, eax
test esi, esi
je 0x44dc3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44dc3d
mov ecx, esi
call fcn.0044da90
cmp edi, eax
jge 0x44dc3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44dbc3
mov dword [esp + 0x34], 1
jmp 0x44dc1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44dc3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044d050
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x44f9d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44fa36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44fa36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44fa17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44fdc0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44fdf8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x450a30
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x450a79
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x450ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00450aa0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00450b20
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00450b20
lea ecx, [esi + 0xc]
call fcn.0046b88e
lea ecx, [esi + 0x10]
call fcn.0046b88e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004520b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004520b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004520b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046b903
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046b903
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46dcf3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46dd2b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046bdaa
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046bd82
jmp 0x46dd37
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f3e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f426
call fcn.00475395
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f426
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f41d
xor eax, eax
jmp 0x46f42e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f434
pop edi
pop esi
pop ebx
ret 4

Function at 0x4758c5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4758f3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475911
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047582b
jmp 0x475911
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475911
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047582b
test edi, edi
mov eax, edi
jne 0x4758fb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001680
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100543ab
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1006f184]
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
push 0
push 2
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100016d5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000180d
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.10001860
mov dword [ebp - 4], 0
test esi, esi
je 0x100017dd
mov edx, dword [ebp - 0x240]
mov esi, dword [edx - 0xc]
test esi, esi
js 0x1000182b
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x1000173b
mov eax, esi
lea ecx, [ebp - 0x240]
call fcn.10001c80
mov edx, dword [ebp - 0x240]
lea eax, [esi + 1]
push eax
push edx
call dword [sym.imp.MSVCR100.dll__wcslwr_s]
mov eax, dword [ebp - 0x240]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000182b
mov dword [eax - 0xc], esi
mov edx, dword [ebp - 0x240]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], ecx
jl 0x10001798
push str.iexplore.exe
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10001798
mov ecx, dword [ebp - 0x240]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x10001835
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100017b1
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x240]
push edx
mov ebx, eax
call fcn.10001920
test esi, esi
jne 0x10001706
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000180d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.1004c4fe
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001ce0
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001858
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x1000180f
Function at 0x10001af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001b08
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001b3a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10001b36
cmp esi, eax
jae 0x10001b3a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001b28
cmp esi, eax
jb 0x10001b40
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x100060c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push str.DUIListViewHost
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x10006126
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push edi
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], 0
call ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 4]
jne 0x1000610e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, edi
jne 0x1000610e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.DUIListViewHost
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x100060e0
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006a20
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0xfd8], 0
jne 0x10006a54
cmp dword [0x1007442c], 0
jne 0x10006a54
lea eax, [esi + 0xfdc]
push eax
push 0
push esi
push 0x10009a60
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xfd8], eax
mov eax, 1
ret
Function at 0x1000bf50
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1000bf5f
ret
mov ecx, dword [esi + 0x54]
push 0
push 0
push esi
push 0x1000bf90
push 0
push 0
mov dword [esi + 0x24], ecx
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret

Function at 0x1000c8f0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000c914
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi]
test eax, eax
je 0x1000c92c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000c93d
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
pop edi
test eax, eax
je 0x1000c953
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0xc], 0
ret

Function at 0x1000d450
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push esi
call fcn.10015020
lea edi, [esi + 8]
call fcn.10015110
cmp dword [esi], 0
jne 0x1000d4dc
cmp dword [edi], 0
jne 0x1000d4dc
cmp dword [edi + 4], 0
jne 0x1000d4dc
cmp dword [0x10074448], 0
jne 0x1000d4b7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [0x10074448], eax
test eax, eax
je 0x1000d4b7
push 0
push 0
push 0
push 0xdbba00
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], 0xfff0bdc0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [0x10074444], 0
jne 0x1000d4dc
push 0
push 0
push esi
push 0x1000d200
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [0x10074444], eax
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100102e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.CSimpleThread.0
test eax, eax
je 0x1001031d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001030c
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x1001032d
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100115a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10]
push eax
push str.next
push str.Action
mov dword [esi + 0x14], 0
mov dword [eax], 0
call fcn.100458e0
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x1c20
idiv ecx
push 0
mov edi, edx
call dword [sym.imp.MSVCR100.dll__time64]
mov ecx, eax
mov ebx, edx
lea eax, [edi + 0x3840]
cdq
add ecx, eax
push ecx
adc ebx, edx
push str.next
push str.Action
mov dword [ebp - 4], ebx
call fcn.100459a0
add esp, 0x1c
cmp dword [esi + 8], 0
je 0x10011617
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0xc]
push edx
push 0
push esi
push 0x100102c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x100119c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100525b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.TBHStatMgr::CAUStatThread.0
mov dword [ebp - 4], 0
call fcn.10011db0
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10011a0c
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [esi], vtable.CSimpleThread.0
test eax, eax
je 0x10011a46
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10011a39
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call ebx
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x10011a56
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10011b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10076008]
sub esp, 0x50
or eax, dword [0x1007600c]
push ebx
push esi
push edi
jne 0x10011b3d
push 0x10076008
push 0x10062248
push str.Action
call fcn.100458e0
add esp, 0xc
push 0
call dword [sym.imp.MSVCR100.dll__time64]
mov ebx, dword [sym.imp.MSVCR100.dll__localtime64]
lea ecx, [ebp - 8]
add esp, 4
push ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call ebx
add esp, 4
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x2c]
push 0x10076008
rep movsd dword es:[edi], dword [esi]
call ebx
mov esi, eax
mov eax, dword [0x1007600c]
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
test eax, eax
jl 0x10011bcf
mov ecx, dword [0x10076008]
jg 0x10011b94
test ecx, ecx
je 0x10011bcf
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x34]
jne 0x10011bcf
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x40]
jne 0x10011bcf
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x44]
jne 0x10011bcf
mov edx, dword [ebp - 4]
cmp eax, edx
jg 0x10011bcf
mov esi, dword [ebp - 8]
jl 0x10011bbc
cmp ecx, esi
jae 0x10011bcf
add ecx, 0x5460
adc eax, 0
cmp eax, edx
jg 0x10011c0a
jl 0x10011bcf
cmp ecx, esi
ja 0x10011c0a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
test eax, eax
je 0x10011beb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10011beb
call fcn.10011db0
cmp dword [esi + 8], 0
jne 0x10011c0a
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x100102c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10011c20
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1264
call fcn.1004cae0
mov eax, dword [0x1006f184]
xor eax, esp
mov dword [esp + 0x1260], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll__time64]
push 0
mov dword [esp + 0x14], ecx
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 4
sub eax, 0x5334
sbb edx, 0
mov dword [0x10076008], eax
mov dword [0x1007600c], edx
mov dword [esp + 0x14], 0x3a98
xor eax, eax
push 0x1046
push eax
lea ecx, [esp + 0x22a]
push ecx
mov word [esp + 0x22c], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2e]
push eax
mov word [esp + 0x30], dx
call sub.MSVCR100.dll_memset
push 0
call edi
add esp, 0x1c
push edx
push eax
mov ecx, 0x100742a8
call fcn.10050c00
push eax
push str.http:__toolbar.soso.com_T4_cin_aus2.q_pcidtbh.btncin_srand_d
lea ecx, [esp + 0x230]
push 0x824
push ecx
call ebx
lea edx, [esp + 0x238]
push 0x824
push edx
call fcn.1003e7d0
push 0
push 1
push 0x104
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x250]
push ecx
call fcn.1004eed0
add esp, 0x34
lea edx, [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x10011d2b
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011d2b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jns 0x10011d5e
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10011d80
add esi, 0x3a98
mov dword [esp + 0x14], esi
cmp esi, 0xafc8
jle 0x10011c73
jmp 0x10011d80
push 0
call edi
push eax
push 0x10062248
push str.Action
mov dword [0x10076008], eax
mov dword [0x1007600c], edx
call fcn.100459a0
add esp, 0x10
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x126c]
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1004c4fe
mov esp, ebp
pop ebp
ret
Function at 0x10011db0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x10]
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10011dda
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
test eax, eax
je 0x10011dda
push 0xc8
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x10011e20
push 0
push eax
call edi
test eax, eax
je 0x10011e20
lea eax, [ebp - 8]
push eax
push 0x10062248
push str.Action
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.100458e0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [0x10076008], ecx
mov dword [0x1007600c], edx
mov eax, dword [esi + 8]
test eax, eax
je 0x10011e4d
push 0
push eax
call edi
test eax, eax
je 0x10011e3c
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10011e60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100525b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1006f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.TBHStatMgr::CLVStatThread.0
mov dword [ebp - 4], 0
call fcn.10012070
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10011eac
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [esi], vtable.CSimpleThread.0
test eax, eax
je 0x10011ee6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10011ed9
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call ebx
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x10011ef6
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4