joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002934b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000fc21
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002937c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002937c
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x10032761
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x10032792
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x10032870
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f912
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10032866
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.10031b64
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x10032866
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000f998
mov ecx, dword [ebp - 8]
call fcn.100253d2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10032848
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x10032848
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x10032866
mov ecx, dword [ebp - 8]
call fcn.10025307
test eax, eax
je 0x10032866
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.10025307
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x100328d1
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034a5e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034abd
mov ecx, eax
call fcn.1003537a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x10034f38
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x10035004
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x10035002
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10035002
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10034fa0
mov byte [ebp - 1], 1
jmp 0x10035002
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10034faa
jmp 0x10035002
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10034fe5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x10034fe5
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x10034ffd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x10034ffd
jmp 0x10035002
jmp 0x10034f5d
jmp 0x10035026
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10035026
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4
Function at 0x10037235
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push edi
cmp dword [0x101054e8], 0
jne 0x100373cd
mov word [ebp - 0x88], 0x47
mov word [ebp - 0x86], 0x6c
mov word [ebp - 0x84], 0x6f
mov word [ebp - 0x82], 0x62
mov word [ebp - 0x80], 0x61
mov word [ebp - 0x7e], 0x6c
mov word [ebp - 0x7c], 0x5c
mov word [ebp - 0x7a], 0x7b
mov word [ebp - 0x78], 0x45
mov word [ebp - 0x76], 0x43
mov word [ebp - 0x74], 0x33
mov word [ebp - 0x72], 0x32
mov word [ebp - 0x70], 0x39
mov word [ebp - 0x6e], 0x31
mov word [ebp - 0x6c], 0x41
mov word [ebp - 0x6a], 0x39
mov word [ebp - 0x68], 0x2d
mov word [ebp - 0x66], 0x32
mov word [ebp - 0x64], 0x38
mov word [ebp - 0x62], 0x45
mov word [ebp - 0x60], 0x37
mov word [ebp - 0x5e], 0x2d
mov word [ebp - 0x5c], 0x34
mov word [ebp - 0x5a], 0x30
mov word [ebp - 0x58], 0x33
mov word [ebp - 0x56], 0x36
mov word [ebp - 0x54], 0x2d
mov word [ebp - 0x52], 0x39
mov word [ebp - 0x50], 0x38
mov word [ebp - 0x4e], 0x44
mov word [ebp - 0x4c], 0x44
mov word [ebp - 0x4a], 0x2d
mov word [ebp - 0x48], 0x38
mov word [ebp - 0x46], 0x45
mov word [ebp - 0x44], 0x37
mov word [ebp - 0x42], 0x39
mov word [ebp - 0x40], 0x32
mov word [ebp - 0x3e], 0x41
mov word [ebp - 0x3c], 0x39
mov word [ebp - 0x3a], 0x34
mov word [ebp - 0x38], 0x35
mov word [ebp - 0x36], 0x30
mov word [ebp - 0x34], 0x30
mov word [ebp - 0x32], 0x34
mov word [ebp - 0x30], 0x7d
and word [ebp - 0x2e], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0xc
mov byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100373e6
pop ecx
pop ecx
test eax, eax
je 0x100373b4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101054e8], eax
xor eax, eax
cmp dword [0x101054e8], 0
setne al
pop edi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10070c21
leave
ret

Function at 0x100374f1
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.100380d0
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x10037515
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x10037556
push dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10038101
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10037554
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1003750e
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1003818a
leave
ret
Function at 0x1003c6d3
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100cefb0
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003c70f
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003c872
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100cefcc
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003c8ae
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003ca11
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003ca4d
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret
Function at 0x1003cbb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x664], ecx
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x43c], 0
push 0x424
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.100738a0
add esp, 0xc
and dword [ebp - 0x658], 0
and word [ebp - 0x654], 0
push 0x208
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.100738a0
add esp, 0xc
lea ecx, [ebp - 0x440]
call fcn.10004000
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x654]
push eax
call fcn.100a0466
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x1003ccc7
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x440]
call fcn.100040b7
lea ecx, [ebp - 0x440]
call fcn.10003fd6
push eax
push 0x5c
lea ecx, [ebp - 0x440]
call fcn.100040e9
inc eax
push eax
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x440]
call fcn.100109c1
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x440]
call fcn.1000409e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x65c]
call fcn.1001085b
mov eax, dword [ebp - 0x664]
push dword [eax + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1003cce2
jmp 0x1003cd36
mov dword [ebp - 0x43c], 0x428
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1003cd01
jmp 0x1003cd36
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x440]
call fcn.1003d3b9
test eax, eax
jne 0x1003cd23
mov dword [ebp - 0x658], 1
jmp 0x1003cd36
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1003cd01
cmp dword [ebp - 0x10], 0xffffffff
je 0x1003cd45
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x660], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1001085b
mov eax, dword [ebp - 0x660]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x100403bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x100403de
jmp 0x10040465
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 1
je 0x10040405
jmp 0x10040465
mov ecx, dword [ebp + 0xc]
call fcn.10004caa
mov eax, dword [ebp - 0xc]
shr eax, 1
inc eax
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10004a00
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10040447
jmp 0x10040465
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.1000a2fc
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x1004046c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10040485
jmp 0x100404b3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100404ac
jmp 0x100404b3
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
leave
ret 0xc

Function at 0x100404ba
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x100404d3
jmp 0x100404ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100404f8
jmp 0x100404ff
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x1004058f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be0a5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100e93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1004006f
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10040714
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CQQChannelDownload.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], vtable.CQQChannelDownload.1.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10001700
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x1004087a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push edi
cmp dword [0x101054ec], 0
jne 0x10040a12
mov word [ebp - 0x88], 0x47
mov word [ebp - 0x86], 0x6c
mov word [ebp - 0x84], 0x6f
mov word [ebp - 0x82], 0x62
mov word [ebp - 0x80], 0x61
mov word [ebp - 0x7e], 0x6c
mov word [ebp - 0x7c], 0x5c
mov word [ebp - 0x7a], 0x7b
mov word [ebp - 0x78], 0x30
mov word [ebp - 0x76], 0x43
mov word [ebp - 0x74], 0x35
mov word [ebp - 0x72], 0x43
mov word [ebp - 0x70], 0x41
mov word [ebp - 0x6e], 0x34
mov word [ebp - 0x6c], 0x35
mov word [ebp - 0x6a], 0x39
mov word [ebp - 0x68], 0x2d
mov word [ebp - 0x66], 0x32
mov word [ebp - 0x64], 0x33
mov word [ebp - 0x62], 0x45
mov word [ebp - 0x60], 0x44
mov word [ebp - 0x5e], 0x2d
mov word [ebp - 0x5c], 0x34
mov word [ebp - 0x5a], 0x65
mov word [ebp - 0x58], 0x39
mov word [ebp - 0x56], 0x32
mov word [ebp - 0x54], 0x2d
mov word [ebp - 0x52], 0x42
mov word [ebp - 0x50], 0x30
mov word [ebp - 0x4e], 0x42
mov word [ebp - 0x4c], 0x34
mov word [ebp - 0x4a], 0x2d
mov word [ebp - 0x48], 0x35
mov word [ebp - 0x46], 0x33
mov word [ebp - 0x44], 0x42
mov word [ebp - 0x42], 0x44
mov word [ebp - 0x40], 0x42
mov word [ebp - 0x3e], 0x46
mov word [ebp - 0x3c], 0x42
mov word [ebp - 0x3a], 0x44
mov word [ebp - 0x38], 0x31
mov word [ebp - 0x36], 0x36
mov word [ebp - 0x34], 0x38
mov word [ebp - 0x32], 0x42
mov word [ebp - 0x30], 0x7d
and word [ebp - 0x2e], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0xc
mov byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100373e6
pop ecx
pop ecx
test eax, eax
je 0x100409f9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101054ec], eax
xor eax, eax
cmp dword [0x101054ec], 0
setne al
pop edi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10070c21
leave
ret

Function at 0x10040a99
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x10105520]
test eax, eax
jne 0x10040b1a
mov byte [0x10105520], 1
push 0x101025d8
call fcn.1004103e
pop ecx
push 0x101025e8
call fcn.1004103e
pop ecx
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x10047b90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x100e93e0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, ecx
push edi
je 0x10047bfd
cmp dword [ebp + 0xc], ecx
jle 0x10047bfd
cmp ebx, ecx
je 0x10047bfd
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10047e44
pop ecx
lea edi, [esp + 8]
call fcn.10047eeb
mov al, 1
jmp 0x10047bff
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop ebx
xor ecx, esp
call fcn.10070c21
mov esp, ebp
pop ebp
ret

Function at 0x10047cbb
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bdfda
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2178
call fcn.1008a3c0
mov eax, dword [0x100e93e0]
xor eax, esp
mov dword [esp + 0x2174], eax
push ebx
push edi
mov eax, dword [0x100e93e0]
xor eax, esp
push eax
lea eax, [esp + 0x2188]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.1003b5a9
xor ebx, ebx
push ebx
push ebx
push 0x80
push 3
push 1
push SysReAllocStringLen
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21ac], ebx
call fcn.10023910
test eax, eax
jge 0x10047d5f
lea ecx, [esp + 0x10]
call fcn.100239dc
mov eax, ebx
mov ecx, dword [esp + 0x2188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2174]
xor ecx, esp
call fcn.10070c21
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x6c], bl
xor eax, eax
lea edi, [esp + 0x6d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov edi, 0x2000
jmp 0x10047db4
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.10047e44
pop ecx
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.10023958
cmp dword [esp + 0xc], ebx
jne 0x10047d9e
lea ecx, [esp + 0x10]
call fcn.10020c12
lea edi, [esp + 0x14]
lea ebx, [esp + 0x6c]
call fcn.10047eeb
xor edi, edi
push 0xfe
lea eax, [esp + 0x82]
push edi
push eax
mov word [esp + 0x88], di
call fcn.100738a0
add esp, 0xc
lea ebx, [esp + 0x7c]
movzx eax, byte [esp + edi + 0x6c]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push ebx
call fcn.1007525f
add esp, 0x14
add ebx, 4
inc edi
cmp edi, 0x10
jb 0x10047e0f
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.100040b7
xor ebx, ebx
inc ebx
jmp 0x10047d31
Function at 0x10050069
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x100be738
call fcn.10078d03
mov esi, ecx
push str.CDownload::Init__
push 3
call fcn.10052e68
xor edi, edi
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
je 0x10050094
xor eax, eax
inc eax
jmp 0x1005011e
cmp dword [esi + 0x64], edi
mov dword [esi + 0xb8], 0x5dc
jne 0x100500dc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x68], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x6c], eax
call ebx
mov dword [esi + 0x70], eax
lea eax, [esi + 0x74]
push eax
push edi
push esi
push 0x1005179f
push edi
push edi
call fcn.10074506
add esp, 0x18
mov dword [esi + 0x64], eax
lea eax, [esi + 0x8c]
mov dword [ebp - 0x10], eax
add eax, 4
push eax
mov dword [ebp - 0x14], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
inc edi
lea eax, [esi + 0x78]
mov dword [ebp - 0x1c], edi
call fcn.10051dd6
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esi, [ebp - 0x14]
call fcn.100522ec
mov eax, edi
call fcn.10078da2
ret

Function at 0x1005019f
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push 0x10
mov eax, 0x100be738
call fcn.10078d03
push str.CDownload::Uninit__
push 3
call fcn.10052e68
pop ecx
lea eax, [edi + 0x8c]
mov dword [ebp - 0x10], eax
pop ecx
add eax, 4
push eax
mov dword [ebp - 0x14], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0x78]
mov dword [ebp - 0x1c], 2
call fcn.10051dd6
push dword [edi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebx
lea esi, [ebp - 0x14]
call fcn.100522ec
push dword [edi + 0x68]
call ebx
push dword [edi + 0x70]
call ebx
cmp dword [edi + 0x64], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10050247
push 0x7530
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1005023e
push 0x3ff
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.Uninit::TerminateThread
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x64]
call esi
and dword [edi + 0x64], 0
push dword [edi + 0x70]
call esi
push dword [edi + 0x68]
call esi
push dword [edi + 0x6c]
call esi
call fcn.10078da2
ret