joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b0e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471cd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43b119
inc eax
mov dword [esi + 0x10], eax
jmp 0x43b22c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43b12d
mov eax, 0xffffffc7
jmp 0x43b22e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43b13e
cmp dword [esi + 8], eax
jne 0x43b12d
cmp dword [esi + 8], eax
jne 0x43b157
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43b157
mov eax, 0xffffffc7
jmp 0x43b22e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43b16b
push eax
mov ecx, ebx
call fcn.0043a910
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040b360
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43b19c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040b380
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043a080
test eax, eax
mov dword [esp + 0x38], eax
je 0x43b1cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5939c0
call fcn.0040b560
mov eax, dword [esp + 0x38]
jmp 0x43b22e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043af40
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43b213
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043af60
mov esi, eax
test esi, esi
jne 0x43b243
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043af40
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43b1e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5939c0
call fcn.0040b560
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5939c0
call fcn.0040b560
mov eax, esi
jmp 0x43b22e

Function at 0x43e350
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43e3b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43e3b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43e3b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43e3b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43e3f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x444340
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046b037
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00443ce0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046af65
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046782e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046782e
push 1
push 0
push 0
mov ecx, esi
call fcn.004677d6
push 1
push 0
push 1
mov ecx, esi
call fcn.004677d6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b0a9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4444c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046b037
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00443ce0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046af65
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x444584
cmp dword [esp + 0x40], 1
jne 0x444582
cmp ecx, eax
jge 0x444584
mov eax, ecx
cmp eax, 0xc8
jge 0x444590
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444340
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b0a9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x444d00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00465c46
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046b2df
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c7fb
test eax, eax
je 0x444e1c
mov ecx, dword [esp + 0x3c]
call fcn.0046b30c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x444de0
push edi
mov ecx, esi
call fcn.00468975
mov ecx, esi
call fcn.00444f80
cmp dword [esp + 0x38], 1
jne 0x444e15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00468ab0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x447830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447863
push esi
call fcn.0044a930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44785c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4478e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4478d2
mov eax, dword [esi + 8]
test eax, eax
je 0x447887
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4478ce
cmp eax, 2
je 0x4478d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44787a
cmp eax, 3
je 0x4478ad
cmp eax, 1
jne 0x44787a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44787a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44787a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447910
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4478f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447910
add esp, 4
pop esi
ret

Function at 0x466a3c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466a74
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.00464af3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464acb
jmp 0x466a80
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x468132
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 0x468174
call fcn.0046dbe1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x468174
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46816b
xor eax, eax
jmp 0x46817c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468182
pop edi
pop esi
pop ebx
ret 4

Function at 0x46e111
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 0x46e13f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e15d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e077
jmp 0x46e15d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46e15d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e077
test edi, edi
mov eax, edi
jne 0x46e147
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402568
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402576
call dword [0x40b004]
or eax, eax
je 0x402577
ret
mov al, 1
jmp fcn.004025e8

Function at 0x402580
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40258e
call dword [0x40b008]
or eax, eax
jne 0x40258f
ret
mov al, 2
jmp fcn.004025e8

Function at 0x402598
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025d0
test edx, edx
je 0x4025ba
push eax
mov eax, ecx
call dword [0x40b00c]
pop ecx
or eax, eax
je 0x4025c9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004025e8
mov dword [eax], edx
mov eax, ecx
call dword [0x40b008]
or eax, eax
jne 0x4025b3
ret
mov al, 1
jmp fcn.004025e8
test edx, edx
je 0x4025e4
push eax
mov eax, edx
call dword [0x40b004]
pop ecx
or eax, eax
je 0x4025c9
mov dword [ecx], eax
ret

Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x403534
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403562
cmp al, 0xc
je 0x403579
cmp al, 0xd
je 0x403588
cmp al, 0xe
je 0x4035a4
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004025e8
cmp ecx, 1
mov eax, ebx
jg 0x403570
call fcn.00403150
jmp 0x4035b8
mov edx, ecx
call fcn.00403170
jmp 0x4035b8
mov eax, ebx
add ebx, 0x10
call fcn.00403988
dec edi
jg 0x403579
jmp 0x4035b8
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403534
dec edi
jg 0x40358b
pop ebp
jmp 0x4035b8
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040350c
dec edi
jg 0x4035a7
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403534

Function at 0x4050f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405131
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403230
jmp 0x40513a
mov eax, ebx
mov edx, esi
call fcn.004031e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405144
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405165
mov al, byte [esp]
jmp 0x405167
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4068d8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406920
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406874
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406927
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406b28
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406bb6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406b73
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403230
jmp 0x406ba0
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406b87
lea eax, [ebp - 4]
call fcn.00403150
jmp 0x406b96
lea edx, [ebp - 4]
call fcn.004069ec
test ebx, ebx
je 0x406b96
dec ebx
jmp 0x406b78
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406bbd
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406bc4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404ccc
add esp, 0x104
pop ebx
ret
Function at 0x406d0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406e44
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406e2e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406d69
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406e2e
cmp dword [ebp - 0x10], 0
jne 0x406d7e
mov eax, dword [ebp - 8]
call fcn.00403150
mov bl, 1
jmp 0x406e2e
cmp dword [ebp - 0x10], 0x70000000
jb 0x406d8c
call fcn.00405770
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403230
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004033d8
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406d32
test eax, eax
jne 0x406e2e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406ddc
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406e2e
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x406de7
dec esi
test esi, esi
je 0x406df5
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x406de6
cmp dword [ebp - 0xc], 7
jne 0x406e00
test esi, esi
je 0x406e00
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004034a8
cmp dword [ebp - 0xc], 7
jne 0x406e21
test esi, esi
je 0x406e21
lea eax, [ebp - 0x14]
call fcn.004033d8
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004031a0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e4b
lea eax, [ebp - 0x14]
call fcn.00403150
ret

Function at 0x40778c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c558
mov eax, esi
mov edx, 8
test al, 1
je 0x4077a8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4077aa
shr eax, 1
dec edx
jne 0x40779b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407794
pop esi
ret

Function at 0x4077d7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c554], 0
jne 0x4077e3
call fcn.0040778c
push 1
push 0x40c554
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40780e
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4077e9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x408e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408dd4
test al, al
jne 0x408e41
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408e8d
xor eax, eax
push ebp
push 0x408e7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033cc
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e84
lea eax, [ebp - 0xc]
call fcn.00408e10
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409194
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x409283
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406bf0
mov edx, dword [ebp - 8]
mov ecx, 0x40929c
xor eax, eax
call fcn.00409088
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x409251
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x4091b4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00408c5c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404b80
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407180
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.00408c2c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x40454c
call fcn.0040577c
call fcn.00402e88
jmp 0x4091b4
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40928a
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403170
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403170
ret

Function at 0x40933c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409396
inc esi
xor edi, edi
cmp edi, 1
jne 0x409362
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x409370
cmp edi, 1
jle 0x409370
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408e20
test eax, eax
jne 0x409396
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409396
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409396
inc edi
dec esi
jne 0x409352
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x41bc60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [ebp + 8]
push eax
call fcn.0041b850
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41bd32
push 0
push 0x14
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x1000a178]
push 0
push 0
push 0
lea edx, [ebp - 0x50]
push edx
call dword [0x1000a18c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41bcb9
xor al, al
jmp 0x41be54
mov dword [ebp - 0x70], 0x1c
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [0x1000a188]
test eax, eax
jne 0x41bcea
xor al, al
jmp 0x41be54
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1000a098]
add eax, 2
push eax
mov edx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1000a194]
test eax, eax
jne 0x41bd17
xor al, al
jmp 0x41be54
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x19
call dword [0x1000a190]
test eax, eax
jne 0x41bd32
xor al, al
jmp 0x41be54
mov dword [ebp - 4], 0
mov byte [ebp - 0x40], 0x6e
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x77
mov byte [ebp - 0x3d], 0x64
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3b], 0x76
mov byte [ebp - 0x3a], 0x2e
mov byte [ebp - 0x39], 0x64
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0
lea ecx, [ebp - 0x40]
push ecx
call dword [0x1000a040]
mov dword [ebp - 0x34], eax
push 0x94c4c32
call fcn.0041d640
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], 0
jne 0x41bd92
lea edx, [ebp - 0x40]
push edx
call dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x2c], 0x55
mov byte [ebp - 0x2b], 0x70
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x76
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x46
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x44
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [0x1000a02c]
mov dword [ebp - 0x54], eax
lea edx, [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 0x54]
test eax, eax
jne 0x41be4a
xor al, al
jmp 0x41be54
mov edx, dword [ebp - 8]
push edx
call dword [0x1000a184]
mov esp, ebp
pop ebp
ret