joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c0a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4b29a8]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x43c140
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x43c0ed
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x43c11e
cmp byte [0x4b82e4], 0
jne 0x43c1b7
int3
mov ecx, ebx
mov edx, 0x4b29a8
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x43c140
push ebx
call esi
mov ebx, dword [0x4b29a8]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43c155
cmp byte [0x4b82e4], 0
jne 0x43c1c5
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.0048ecf5
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret
push 1
call fcn.0048f00d
push 1
call fcn.0048f00d
push 1
call fcn.0048f00d
int3

Function at 0x43c1d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4b1810]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4b29a8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0048ecf0
add esp, 4
mov edi, 0x100
jmp 0x43c230
mov esi, dword [0x4b82f4]
xor dl, dl
test esi, esi
jle 0x43c268
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x43c263
mov eax, dword [esi*4 + 0x4b7b80]
test eax, eax
je 0x43c263
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x43c240
dec edi
test edi, edi
jle 0x43c271
test dl, dl
jne 0x43c230
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004918a1
mov esp, ebp
pop ebp
ret
Function at 0x43e280
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x413b50
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x234]
mov dword [esi + 0x20], eax
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
mov edx, dword [eax + 0x5c]
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x43e2f7
cmp dword [eax], esi
je 0x43e2f3
add eax, 4
cmp eax, edx
jne 0x43e2e8
cmp eax, edx
jne 0x43e300
lea eax, [ebp + 8]
push eax
call fcn.00438a40
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x4b827c]
lea ecx, [edi + 0x1e8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004435d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [edi], 0x413b50
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
lea ecx, [eax + 0x54]
call fcn.00438920
mov esi, dword [edi + 0x10]
test esi, esi
je 0x43e40c
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x43e3c5
cmp edx, 0x7fffffff
jne 0x43e3c5
movsd xmm0, qword [0x4b27e8]
jmp 0x43e3d2
call fcn.004915ef
divsd xmm0, qword [0x4141e0]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
push 0
call fcn.0043e4b0
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.004433d0
add esp, 0xc
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 8], 0
je 0x43e447
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x234]
cmp dword [edi + 0x20], eax
jne 0x43e447
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 8]
push ecx
mov edx, esp
mov dword [edi + 8], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [edi + 0xc]
call dword [eax + 8]
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
add ecx, 0x1e8
lea eax, [esp + 0xc]
push eax
call fcn.00442020
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43e48c
call fcn.0043bf30
mov esi, dword [edi + 8]
test esi, esi
je 0x43e4a3
mov ecx, esi
call fcn.00442dd0
push esi
call fcn.0048db5b
add esp, 4
mov dword [edi], 0x4130dc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x440fc5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x44101a
push dword [edi + 0x1dc]
call esi
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x44101a
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x1808]
jne 0x44101d
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, dword [ebx + 0xc]
jne 0x44101d
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, esi
je 0x44101d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x441039
cmp byte [esi + 4], 0
jne 0x441039
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x208]
test ecx, ecx
je 0x441077
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, dword [edi + 0x20c]
jne 0x441077
cmp edx, dword [ecx + 0x1808]
jne 0x440fba
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x38]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x445d2e
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x445db9
mov edi, dword [esp + 0x10]
test edi, edi
je 0x445db9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x445d70
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x445d78
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445d80
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x445dee
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x445e79
mov edi, dword [esp + 0x10]
test edi, edi
je 0x445e79
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x445e30
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x445e38
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445e40
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446aea
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.00446abd
mov eax, dword [ebp + 8]
lea ebx, [esi + 0xc]
push ebx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x446bdf
push edi
xor edi, edi
inc edi
cmp dword [ebx], edi
jle 0x446bce
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov eax, dword [esi]
push 0x401228
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446b3f
mov dword [esi + 4], 0x401138
jmp 0x446bc4
mov eax, dword [esi]
push 0x401244
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446b55
mov byte [esi + 0x14], 1
jmp 0x446bc4
mov eax, dword [esi]
push 0x401258
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446b6b
mov byte [esi + 0x15], 1
jmp 0x446bc4
mov eax, dword [esi]
push 0x401278
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446b81
mov byte [esi + 0x16], 1
jmp 0x446bc4
mov eax, dword [esi]
push 0x401298
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446b97
mov byte [esi + 0x17], 1
jmp 0x446bc4
mov eax, dword [esi]
push 0x4012b8
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446bb0
mov dword [esi + 0x10], 1
jmp 0x446bc4
mov eax, dword [esi]
push 0x4012cc
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x446bc4
mov byte [esi + 0x18], 1
inc edi
cmp edi, dword [esi + 0xc]
jl 0x446b23
cmp byte [esi + 0x16], 0
pop edi
jne 0x446bdf
cmp byte [esi + 0x15], 0
sete al
mov byte [esi + 0x14], al
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebx
pop ebp
ret 4

Function at 0x446d86
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2e84]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x446e0b
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.004486f7
add esp, 0xc
mov esi, ebx
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x4012fc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x446df3
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4b2e84], eax
jmp 0x446df8
mov eax, dword [0x4b2e84]
test eax, eax
jne 0x446e0b
add esi, 4
cmp esi, 0xc
jb 0x446db3
mov eax, dword [0x4b2e90]
jmp 0x446e42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4013d0
push eax
call esi
push 0x4013dc
push dword [0x4b2e84]
mov dword [0x4b2e88], eax
call esi
push 0x4013e8
push dword [0x4b2e84]
mov dword [0x4b2e8c], eax
call esi
mov dword [0x4b2e90], eax
cmp dword [0x4b2e88], ebx
je 0x446e59
cmp dword [0x4b2e8c], ebx
je 0x446e59
test eax, eax
je 0x446e59
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447181
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, 0x104
push edi
push esi
call fcn.0044880d
add esp, 0xc
test al, al
je 0x447230
push 0x4016bc
push edi
push esi
call fcn.004487e5
add esp, 0xc
test al, al
je 0x447230
push edi
push esi
call fcn.00448848
mov ebx, eax
sub edi, ebx
pop ecx
pop ecx
cmp edi, 0xb
jb 0x447230
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
lea ecx, [esi + ebx*2]
push 0xa
mov dword [ebp + 0xc], eax
pop eax
push edi
dec eax
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 4
push eax
call fcn.0044878a
add esp, 0x10
test al, al
je 0x447230
lea eax, [ebx + 5]
mov ecx, esi
push eax
call fcn.004486da
push 0x4014d0
push 0x104
push esi
call fcn.004487e5
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x447239
inc dword [ebp + 0xc]
lea ecx, [esi + ebx*2]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4471e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4130c8
push 0x104
push esi
call fcn.004487e5
add esp, 0xc
jmp 0x447232

Function at 0x44724e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push dword [ebp + 8]
xor eax, eax
mov ebx, 0x104
mov word [ebp - 0x254], ax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.0044880d
add esp, 0xc
test al, al
je 0x44738c
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.004487e5
add esp, 0xc
test al, al
je 0x44738c
push 0x4014e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.004487e5
add esp, 0xc
test al, al
je 0x44738c
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x24c
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push esi
push 1
push eax
push esi
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44738a
xor eax, eax
mov word [ebp - 0x460], ax
mov word [ebp - 0x668], ax
test byte [ebp - 0x250], 0x10
je 0x447371
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x1c]
cmove esi, eax
push esi
call fcn.004475ea
pop ecx
test al, al
jne 0x447371
push dword [ebp + 8]
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.0044880d
add esp, 0xc
test al, al
je 0x447371
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.004487e5
add esp, 0xc
test al, al
je 0x447371
lea eax, [ebp - 0x668]
push eax
call fcn.0044787c
pop ecx
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x447313
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447391
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.004190c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d1f0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a0b0
push 0x401614
lea ecx, [ebp - 0x30]
call fcn.004190c0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d610
mov ecx, eax
call fcn.0041d7f0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d240
lea ecx, [ebp - 0x48]
call fcn.004191d0
lea ecx, [ebp - 0x60]
call fcn.004191d0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041a0b0
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x18]
push eax
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
call fcn.004191d0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44743c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44748c
cmp eax, esi
jae 0x44748c
xor esi, esi
push dword [esi + 0x4014f0]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044724e
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x447470
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44787c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.00448848
push 0x4014dc
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.004487e5
add esp, 0x14
test al, al
je 0x447961
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44794f
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.004475ea
pop ecx
test al, al
jne 0x447936
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.004486da
push ebx
push 0x104
push esi
call fcn.004487e5
add esp, 0xc
test al, al
je 0x447936
test byte [ebp - 0x250], 0x10
push esi
je 0x447930
call fcn.0044787c
pop ecx
jmp 0x447936
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4478e3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.004486da
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4479aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4479f7
xor al, al
jmp 0x447a38
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x447a15
xor bl, bl
jmp 0x447a2d
cmp dword [ebp + 0x10], 0
je 0x447a2d
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4489d4
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4489ee
xor al, al
jmp 0x448a5e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x448a00
xor al, al
jmp 0x448a5d
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x448a4d
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x448a51
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x448a5c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b804
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401930
lea ecx, [ebp - 0x18]
call fcn.004190c0
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00423af0
push dword [esi]
call fcn.00422650
pop ecx
test al, al
je 0x44b857
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b857
mov bl, 1
jmp 0x44b859
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0041a0b0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c5d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x44c621
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x44c621
call fcn.0044a7b5
mov esi, eax
jmp 0x44c6b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44c63b
call fcn.0044a7b5
jmp 0x44c6ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44c634
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44c661
mov esi, 0x8007000e
jmp 0x44c6ae
push eax
lea ecx, [ebp - 0x40c]
call fcn.0044a2c3
cmp dword [ebp - 0x40c], 0
je 0x44c65a
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44c634
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0044c4cb
mov esi, eax
test edi, edi
je 0x44c6b9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44c6d2
lea ecx, [ebp - 0x40c]
call fcn.0045991b
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44df7a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x44df8d
push 0xd
pop eax
jmp 0x44dfd1
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x44dfa0
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x44df98
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44dff6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x44e008
push 0xd
pop eax
jmp 0x44e03a
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44e011
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc