joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x24], 0x6e0049
push esi
mov dword [ebp - 0x20], 0x650074
mov dword [ebp - 0x1c], 0x6e0072
mov dword [ebp - 0x18], 0x740065
mov dword [ebp - 0x14], 0x680053
mov dword [ebp - 0x10], 0x72006f
mov dword [ebp - 0xc], 0x630074
mov dword [ebp - 8], 0x740075
mov word [ebp - 4], ax
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x10030bde
mov eax, dword [ecx]
push 2
push 0x10
call dword [eax]
test eax, eax
je 0x10030be8
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x10
jl 0x10030bd4
mov dword [eax - 0xc], 0x10
xor eax, eax
mov ecx, dword [esi]
push 0x20
mov word [ecx + 0x20], ax
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [esi]
call fcn.1001f5c0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10001900
push 0x80004005
call fcn.10001900
call fcn.100029e0
int3

Function at 0x10030d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x4c], 0x6f0053
mov dword [ebp - 0x48], 0x740066
mov dword [ebp - 0x44], 0x610077
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x58005c
mov dword [ebp - 0x38], 0x610072
mov dword [ebp - 0x34], 0x660043
mov dword [ebp - 0x30], 0x490067
mov dword [ebp - 0x2c], 0x66006e
mov dword [ebp - 0x28], 0x5c006f
mov dword [ebp - 0x24], 0x69006c
mov dword [ebp - 0x20], 0x650074
mov dword [ebp - 0x1c], 0x610067
mov dword [ebp - 0x18], 0x65006d
mov dword [ebp - 0x14], 0x73005c
mov dword [ebp - 0x10], 0x6f0068
mov dword [ebp - 0xc], 0x740072
mov dword [ebp - 8], 0x750063
mov dword [ebp - 4], 0x74
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x10030e19
mov eax, dword [ecx]
push 2
push 0x25
call dword [eax]
test eax, eax
je 0x10030e23
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x25
jl 0x10030e0f
mov dword [eax - 0xc], 0x25
xor eax, eax
mov ecx, dword [esi]
push 0x4a
mov word [ecx + 0x4a], ax
lea eax, [ebp - 0x4c]
push eax
push 0x4a
push dword [esi]
call fcn.1001f5c0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10001900
push 0x80004005
call fcn.10001900
call fcn.100029e0
int3
Function at 0x10032220
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105d38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1014b520]
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x10032278
mov esi, 0x80004001
jmp 0x10032366
push ebx
call edi
test eax, eax
je 0x10032286
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x10110360
push 0x17
push 0
push 0x10110350
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x14]
mov esi, eax
test esi, esi
js 0x10032358
test ecx, ecx
je 0x10032358
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x10110370
push ecx
mov byte [ebp - 4], 2
call dword [eax]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
js 0x10032337
test eax, eax
je 0x10032339
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x100322fd
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
je 0x10032326
push eax
call edi
test eax, eax
je 0x10032326
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x18]
push 1
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 1
je 0x10032345
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x10032366
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10032366
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10032366
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032388
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x100323b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105d70
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100324be
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10032414
test ecx, ecx
js 0x10032414
push eax
push dword [ebp + 8]
call fcn.100d73cc
add esp, 8
test eax, eax
je 0x10032414
sub eax, dword [ebp + 8]
sar eax, 1
jns 0x10032420
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.10030f40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100d6e30
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 1
push 0x19
push eax
push 0
call esi
push dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10032475
mov esi, 1
jmp 0x100324c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100d6e30
add esp, 0xc
lea eax, [ebp - 0x420]
push 1
push 0x10
push eax
push 0
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100324be
mov esi, 1
jmp 0x100324c0
xor esi, esi
mov edx, dword [ebp + 8]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100324e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10032500
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x100326e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105e00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1014b520]
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
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x19]
call fcn.10030d30
mov ecx, dword [ebp + 8]
mov esi, 0x1010e2cc
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne esi, eax
test ebx, ebx
je 0x100327b0
test ecx, ecx
je 0x100327b0
mov edx, ecx
mov dword [ebp - 0x18], 0
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10032744
lea eax, [ebp - 0x14]
sub edx, edi
push eax
lea eax, [ebp - 0x18]
sar edx, 1
push eax
push 0
push 0x20106
push 0
push 0
push 0
push ebx
mov edi, 0
push SysReAllocStringLen
cmovne edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100327b0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032785
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100327cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100327eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1003280a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100bb073
mov esp, ebp
pop ebp
ret

Function at 0x10039130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10038d60
Function at 0x1003a410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106353
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1014b520]
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, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10029e30
mov eax, dword [ebp - 0x80]
add esp, 8
test eax, eax
je 0x1003a623
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
je 0x1003a623
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1003a623
push eax
call esi
test eax, eax
je 0x1003a623
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x201
push dword [ebp - 0x80]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1003a360
mov esi, dword [ebp - 0x90]
test eax, eax
jne 0x1003a614
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100d6e30
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003a614
mov eax, dword [ebp - 0x84]
cmp eax, 1
je 0x1003a53b
cmp eax, 2
jne 0x1003a614
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1003a55c
test cl, 1
jne 0x1003a614
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1003a562
jmp 0x1003a614
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x1003a614
lea ecx, [ebp - 0x78]
call fcn.100015f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.100388a0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0x20]
push 0x10113ce4
push eax
call fcn.1003aa30
push 0x2a
push dword [ebp - 0x78]
call fcn.10038d60
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x84], eax
jne 0x1003a60c
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1003a5c2
sub edx, ecx
lea eax, [ebp - 0x74]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.10038640
push dword [0x1014a14c]
lea eax, [ebp - 0x74]
push dword [0x1014a148]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1003a5fd
mov dword [edi], 1
lea ecx, [ebp - 0x78]
call fcn.10001730
mov edi, 1
jmp 0x1003a616
lea ecx, [ebp - 0x78]
call fcn.10001730
xor edi, edi
test esi, esi
je 0x1003a625
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003a625
xor edi, edi
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x80]
call esi
mov eax, edi
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.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x1003a660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1003a675
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003a680
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1003d740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003d7b1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1003d77f
cmp eax, 2
jne 0x1003d79b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1003d7ab
test ecx, ecx
je 0x1003d7a6
test cl, 1
jne 0x1003d79b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1003d7ab
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x100403e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010681b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x1014b520]
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
cmp dword [edi + 0x20], 8
lea esi, [edi + 0xc]
jb 0x1004041b
mov esi, dword [esi]
push 0x180
push 0x40
push 0x8101
lea ebx, [edi + 0x24]
push esi
push ebx
call fcn.100eabca
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x100404ec
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.100d6e30
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.1003ef70
push 0x1011403c
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push esi
push str.open
push eax
call fcn.10003110
add esp, 8
push eax
call fcn.10003110
add esp, 8
push eax
call fcn.10003110
add esp, 8
mov ecx, eax
call fcn.10012dd0
push eax
call fcn.10003110
add esp, 8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.10040530
cmp dword [eax + 0x14], 8
jb 0x100404cf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.10006020
lea ecx, [ebp - 0xa8]
call fcn.100083c0
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x10040505
push 2
push 0
push eax
call fcn.100eb0da
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x1004050c
mov dword [edi + 4], 0xffffffff
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.100bb073
mov esp, ebp
pop ebp
ret
Function at 0x10040870
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106918
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x44]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
cmp eax, 2
je 0x10040a52
cmp eax, 1
jne 0x10040a6a
cmp byte [edi + 8], 0
je 0x100408c6
call fcn.100403e0
mov byte [edi + 8], 0
cmp dword [edi + 4], 0x40000000
jle 0x10040902
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x100408e7
push eax
call fcn.100eac6c
add esp, 4
mov dword [edi + 0x24], 0xffffffff
cmp dword [edi + 0x20], 8
lea eax, [edi + 0xc]
jb 0x100408f2
mov eax, dword [eax]
push eax
call fcn.100ea289
add esp, 4
mov ecx, edi
call fcn.100403e0
cmp dword [edi + 0x28], 0
jne 0x1004099d
push 0
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.100405f0
add esp, 0xc
push 2
push 0x1011407c
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1000edf0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [edi + 0x24]
cmovae eax, dword [ebp - 0x48]
cmp ecx, 0xffffffff
je 0x10040982
push dword [ebp - 0x38]
push eax
push ecx
call fcn.100eb8a0
add esp, 0xc
jmp 0x10040985
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
call fcn.10005fd0
lea ecx, [ebp - 0x60]
call fcn.10005fd0
jmp 0x10040a46
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.100405f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [edi + 0x2c]
push ecx
push eax
call fcn.10052520
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.10005fd0
test esi, esi
jne 0x100409f8
push 0xd
push str.write_failed.
lea ecx, [ebp - 0x28]
call fcn.1000f130
push 0x1011407c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1003e750
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x10040a18
mov eax, dword [eax]
mov ecx, dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x10040a2d
push edx
push eax
push ecx
call fcn.100eb8a0
add esp, 0xc
jmp 0x10040a30
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
call fcn.10005fd0
lea ecx, [ebp - 0x28]
call fcn.10005fd0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x10040a52
add dword [edi + 4], eax
jmp 0x10040a6a
cmp dword [esi + 0x14], 8
jb 0x10040a5a
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x10114074
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret 4
Function at 0x10040c90
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x10040c9f
pop ebp
jmp fcn.100417d0
xor eax, eax
pop ebp
ret 0xc
Function at 0x100417d0
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106ac0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1014b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x30]
mov dword [ebp - 0x18], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10041810
mov eax, dword [edi]
push edi
call dword [eax]
cmp dword [esi + 0x20], 0
mov dword [ebp - 4], 0
jl 0x10041827
mov esi, 1
jmp 0x10041974
mov ebx, dword [ebp + 8]
mov dword [esi + 0x20], ebx
test ebx, ebx
jns 0x10041838
xor esi, esi
jmp 0x10041974
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10041848
push eax
lea ecx, [esi + 0x2c]
call fcn.100017c0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1004185a
push eax
lea ecx, [esi + 0x28]
call fcn.100017c0
jmp 0x10041893
lea eax, [ebp + 8]
push ebx
push eax
call fcn.100429b0
add esp, 8
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.10001750
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10041893
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.10041b00
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.100424f0
add esp, 8
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push 0
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x10041950
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100e002c
add esp, 4
call fcn.100e000b
cdq
mov ecx, 0x64
idiv ecx
inc edx
mov dword [esi + 0x18], edx
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x1004199b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push dword [esi + 0x18]
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push 0x1010ded0
push eax
call fcn.10001aa0
mov esi, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 0x10]
push esi
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10041950
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov esi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10041974
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
test edi, edi
je 0x10041985
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10001900
int3
Function at 0x100419b0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106af3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1014b520]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x10041a55
cmp word [esi], di
je 0x10041a55
test eax, eax
je 0x10041a11
cmp word [eax], di
je 0x10041a11
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10041a55
jmp 0x10041a50
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100d6e30
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x10041a55
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10041acc
mov eax, dword [ebx + 0x20]
test eax, eax
js 0x10041ab7
lea esi, [ebx + 0x30]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x10041a85
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x10041aa6
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x10041aec
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x10041ab7
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10041acc
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.100bb073
mov esp, ebp
pop ebp
ret 0x30
call fcn.10032cfd
int3