joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ceb89
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x4c], 0
and dword [ebp - 0x48], 0
push ebx
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.004cead1
push esi
lea ebx, [ebp - 0x5c]
call fcn.004cea3b
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
pop ebx
call fcn.0049a49b
leave
ret

Function at 0x4cfd06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x55a360]
push ebx
push esi
test eax, eax
je 0x4cfd40
push eax
push 0x5222fc
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.004cfbcc
add esp, 0x10
jmp 0x4cfdb8
call fcn.004bd768
mov esi, 0xe6
test eax, eax
je 0x4cfd80
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.004bd815
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4cfd9c
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049a49b
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.004bd8d6
jmp 0x4cfd68
push ebx
push 0x5222fc
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.004cfbcc
push ebx
call fcn.0049b145
add esp, 0x14
mov ecx, str.etilqs_
call fcn.004bca4d
lea ecx, [ebp - 0x10c]
mov edx, eax
call fcn.004bca4d
lea eax, [edx + eax + 0x11]
mov edx, dword [ebp + 8]
cmp eax, edx
jl 0x4cfddf
xor eax, eax
inc eax
jmp 0x4cfd72
lea ecx, [ebp - 0x10c]
call fcn.004bca4d
test eax, eax
jbe 0x4cfdf8
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x4cfdf8
dec eax
jne 0x4cfdef
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push str._setilqs_
add edx, 0xffffffef
push edi
push edx
call fcn.004cfbcc
mov ecx, edi
call fcn.004bca4d
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004c8ebb
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x4cfe30
mov byte [edi + esi], cl
xor eax, eax
jmp 0x4cfd72
Function at 0x4cffdf
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0xa0]
lea ecx, [ebp - 0x78]
push ecx
push 0x104
push eax
push dword [ebp + 0x9c]
mov dword [ebp - 0x80], 0x200
call fcn.004cff09
add esp, 0x10
test eax, eax
jne 0x4d00b3
push ebx
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.004bde65
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x4d00aa
push edi
call fcn.004bd768
test eax, eax
mov eax, esi
je 0x4d0076
cmp word [esi], bx
je 0x4d0060
cmp word [eax], 0x5c
je 0x4d005b
inc eax
inc eax
cmp word [eax], bx
jne 0x4d004c
jmp 0x4d0060
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x7c]
push eax
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4d009c
cmp byte [esi], bl
je 0x4d0088
cmp byte [eax], 0x5c
je 0x4d0086
inc eax
cmp byte [eax], bl
jne 0x4d007a
jmp 0x4d0088
mov byte [eax], bl
lea eax, [ebp - 0x7c]
push eax
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0049b145
pop ecx
cmp edi, ebx
pop edi
jne 0x4d00b1
mov dword [ebp - 0x80], 0x200
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x94
leave
ret
Function at 0x4d08b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x4d08f4
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x4d0a01
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x4d092e
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.004b1f10
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x4d092e
xor edi, edi
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4d0a01
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x4d09f1
test byte [esi + 0x14], 0x20
jne 0x4d09f1
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.004b1f10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp edi, 1
jne 0x4d0976
call fcn.004bf54a
mov eax, dword [ebx + 0xa4]
test eax, eax
jne 0x4d0987
mov eax, dword [esi]
mov dword [ebp - 8], eax
jmp 0x4d099e
push 6
push edi
push dword [esi]
push dword [ebx + 0xb0]
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
je 0x4d0a09
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x3c]
push dword [ebp - 0x14]
push dword [ebx + 0x80]
push dword [ebp - 8]
call fcn.004bc3f8
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x4d09d3
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebx + 0x20]
jbe 0x4d09db
mov dword [ebx + 0x20], edi
mov eax, dword [ebp + 8]
push dword [esi]
mov eax, dword [eax + 0x58]
mov ebx, edi
call fcn.004cadbd
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], eax
je 0x4d092c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
push 7
pop eax
jmp 0x4d0a04
Function at 0x4d1a3f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4d1a51
xor eax, eax
jmp 0x4d1b40
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.004c8af8
mov esi, eax
pop ecx
test esi, esi
je 0x4d1b3f
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.004cbe34
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.004d1917
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.004d74c8
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.004cbe34
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.004d74c8
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.004cbe34
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.004d1a3f
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.004d74c8
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.004d74c8
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4e5979
Capabilities:
Reference sql statements

Disassembly:
push esi
push edi
mov esi, 0x553590
mov edi, 0x55a068
push edi
call fcn.004c1eec
add esi, 0x24
cmp esi, 0x553ce0
pop ecx
jl 0x4e5985
mov esi, 0x553348
push edi
call fcn.004c1eec
add esi, 0x24
cmp esi, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
pop ecx
jl 0x4e599c
mov esi, 0x553500
push edi
call fcn.004c1eec
add esi, 0x24
cmp esi, 0x55356c
pop ecx
jl 0x4e59b3
pop edi
pop esi
ret
Function at 0x4f9762
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov esi, eax
je 0x4f97b0
push dword [esi + 0x20]
push str.PRAGMA__Q.page_size
call fcn.004cfb5f
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
call fcn.004f970d
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4f97d4
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp + 0xc]
imul ecx, ecx, 0x33
add eax, 0xffffffc0
add ecx, 4
cmp ecx, eax
mov dword [esi + 0x10], eax
jge 0x4f97d4
mov dword [esi + 0x10], ecx
jmp 0x4f97d4
push dword [esi + 0x24]
push dword [esi + 0x20]
push str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.004cfb5f
add esi, 0x10
mov edi, eax
push esi
push edi
push dword [ebp + 8]
call fcn.004f970d
add esp, 0x18
mov ebx, eax
push edi
call fcn.004bc89c
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x10005c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push ebx
push edi
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [0x1003817c], edi
mov dword [0x10038180], eax
mov dword [0x10038184], ecx
mov dword [esp + 0x3c], ebx
call fcn.100054d0
test eax, eax
jne 0x10005e66
push ebp
push esi
push str.SSERATO
push 0x1d26
push edi
mov dword [0x10036104], ebx
mov dword [0x10036108], ebx
mov dword [0x1003610c], ebx
mov dword [0x10036114], ebx
mov dword [0x10036110], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov eax, 0x65
mov ecx, 0x64
mov word [esp + 0x26], ax
mov word [esp + 0x2c], ax
mov eax, 0x6c
mov edx, 0x2e
mov edi, 0x6e
mov word [esp + 0x24], 0x6b
mov word [esp + 0x28], 0x72
mov word [esp + 0x2a], di
mov word [esp + 0x2e], ax
mov word [esp + 0x30], 0x33
mov word [esp + 0x32], 0x32
mov word [esp + 0x34], dx
mov word [esp + 0x36], cx
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], bx
mov word [esp + 0x10], di
mov word [esp + 0x12], 0x74
mov word [esp + 0x14], cx
mov word [esp + 0x16], ax
mov word [esp + 0x18], ax
mov word [esp + 0x1a], dx
mov word [esp + 0x1c], cx
mov word [esp + 0x1e], ax
mov word [esp + 0x20], ax
mov word [esp + 0x22], bx
call fcn.100054d0
test eax, eax
jne 0x10005d5c
lea edx, [esp + 0x24]
push edx
call fcn.10005100
add esp, 4
mov edi, eax
jmp 0x10005d60
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
call fcn.10005100
add esp, 4
call fcn.100054d0
test eax, eax
jne 0x10005d89
push 0x45ae4f1b
push edi
call fcn.10005240
add esp, 8
mov dword [0x10038178], eax
push 0x2c5de75e
push edi
call fcn.10005240
add esp, 8
cmp eax, ebx
mov dword [0x10038174], eax
je 0x10005dce
push ebx
push 0x1002bbac
call fcn.100109d7
add esp, 4
push eax
push str.8192
call fcn.100109d7
add esp, 4
or eax, 0x1000
push eax
push ebp
push ebx
push 0xffffffffffffffff
call dword [0x10038174]
jmp 0x10005df7
push 0x1002bbac
call fcn.100109d7
add esp, 4
push eax
push str.8192
call fcn.100109d7
add esp, 4
or eax, 0x1000
push eax
push ebp
push ebx
call dword [0x10038178]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x44], eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10036100]
push eax
call fcn.10010866
push 0x58
mov esi, eax
push str.KN_IB_2GhTWtAaKemciq3XwLAlIqaCtebhV_f_7k_jGsxT_cmsg08Ubw3Sd3lSHxa_fL_zKg2n_Y_3qufN8B
push esi
call fcn.10004b50
mov edi, dword [esp + 0x54]
push ebp
push edi
push esi
call fcn.10004ee0
add esp, 0x1c
push ebx
push 0x100049b0
push 0x10004990
push 0x10004980
push ebp
push edi
mov ecx, 0x10038160
call fcn.10005920
pop esi
pop ebp
pop edi
mov dword [0x10038188], eax
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc
push 0x1002bb80
call fcn.100108e9
add esp, 4
pop edi
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
Function at 0x100260ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x10036490
je 0x10026176
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002615e
mov esi, dword [ebx + 4]
jmp 0x10026158
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10026148
cmp dword [ebp - 0xc], 4
jne 0x10026148
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x10026140
or dword [eax + 0x9c], ecx
jmp 0x10026148
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x1002610c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x100260ef
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x10026530
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x1002993d
call fcn.100112ec
sub esp, 0x11c
mov eax, dword [0x10037200]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x10026629
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x100265fd
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.10006644
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.10026530
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001060
test bl, bl
jne 0x100265fd
or dword [ebp - 4], 0xffffffff
jmp 0x1002656e
cmp esi, 0x103
je 0x1002660d
cmp esi, 0x3f2
jne 0x1002661d
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.100111ee
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100275b2
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x100275e6
jmp fcn.1001c04f
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x10027657
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x10027750
cmp eax, dword [edi + 0xc]
jge 0x10027750
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x100276a8
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x10027739
cmp dword [ebp + 0xc], ebx
je 0x10027739
jmp 0x100276d2
push 0x10
call fcn.10027343
cmp eax, ebx
je 0x100276be
mov ecx, eax
call fcn.100275a9
mov esi, eax
jmp 0x100276c0
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x100276e9
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x100276f9
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x1002770b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1001c04f
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.10011770
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1002774b
cmp ecx, dword [esi + 8]
jge 0x1002774b
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x10027751
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40b4b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6b0]
jne 0x40b4ba
repz ret
jmp fcn.0041327c

Function at 0x41b5ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410162
and dword [ebp - 0x14], 0
cmp dword [0x44e218], 0
mov dword [ebp - 0x18], eax
jne 0x41b65f
push 0x403880
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b707
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403874
push ebx
call edi
test eax, eax
je 0x41b707
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403864
push ebx
mov dword [0x44e218], eax
call edi
push eax
call esi
push 0x403850
push ebx
mov dword [0x44e21c], eax
call edi
push eax
call esi
push 0x403834
push ebx
mov dword [0x44e220], eax
call edi
push eax
call esi
mov dword [0x44e228], eax
test eax, eax
je 0x41b65f
push 0x40381c
push ebx
call edi
push eax
call esi
mov dword [0x44e224], eax
mov eax, dword [0x44e224]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b6b8
cmp dword [0x44e228], ecx
je 0x41b6b8
push eax
call esi
push dword [0x44e228]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b6b8
test ebx, ebx
je 0x41b6b8
call edi
test eax, eax
je 0x41b6af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41b6af
test byte [ebp - 8], 1
jne 0x41b6b8
or dword [ebp + 0x10], 0x200000
jmp 0x41b6eb
mov eax, dword [0x44e21c]
cmp eax, dword [ebp - 0x18]
je 0x41b6eb
push eax
call esi
test eax, eax
je 0x41b6eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b6eb
mov eax, dword [0x44e220]
cmp eax, dword [ebp - 0x18]
je 0x41b6eb
push eax
call esi
test eax, eax
je 0x41b6eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e218]
call esi
test eax, eax
je 0x41b707
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b709
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4b0
leave
ret
Function at 0x423260
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1804
call fcn.004224f0
cmp dword [0x7eefa0], 0x37
jne 0x423322
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x404520
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x404550
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4045b8
push 0
lea ecx, [esp + 0x80c]
push ecx
push 0x4045d8
push 0x404600
push 0x404620
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea eax, [esp + 0x1008]
push eax
push 0x404658
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ecx, dword [0x7eefa4]
mov eax, dword [0x7eb410]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x1804
ret
Function at 0x10002295
Capabilities:
Clear file content
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
jne 0x100022b0
mov dword [ebp - 8], 0x1002c84c
jmp 0x100022b7
mov dword [ebp - 8], 0x1002c744
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x100022c7
jmp 0x10002324
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x8000080
push 4
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100022f8
jmp 0x10002324
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x10002363
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x10002375
cmp dword [ebp + 0xc], 0
jne 0x10002377
jmp 0x100023f6
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
jne 0x1000238c
mov dword [ebp - 8], 0x1002c63c
jmp 0x10002393
mov dword [ebp - 8], 0x1002c534
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x100023a3
jmp 0x100023f6
push 0
push 0x8000080
push 4
push 0
push 1
push 0x40000000
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100023ca
jmp 0x100023f6
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret