joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x44d1a8
mov eax, dword [ebx + 0x1c]
shr eax, 3
push esi
cmp eax, ecx
jbe 0x44d250
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x44d1a7
mov eax, dword [edx + 4]
mov esi, edx
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], edi
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0x10], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.004656aa
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x18]
je 0x44d1ad
cmp esi, dword [ebp - 4]
jne 0x44d173
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x44d19e
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x44d1c1
mov dword [ecx], edx
mov eax, edx
jmp 0x44d1c4
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
cmp esi, edx
je 0x44d19e
nop dword [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
nop
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.004656aa
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x18]
je 0x44d232
cmp esi, dword [ebp - 4]
jne 0x44d200
mov eax, dword [ebp - 0x14]
pop edi
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, edx
jne 0x44d1d0
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x44d275
mov esi, dword [eax]
push 0xc
push eax
call fcn.004656aa
add esp, 8
mov eax, esi
test esi, esi
jne 0x44d262
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov dword [ebx + 8], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.00415ef0
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d6a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x44d6c7
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x44d6ca
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0044d67c
pop esi
leave
ret 8

Function at 0x4510ca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x457314
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x457322
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x45d3b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cdf0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4b0280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov ebx, str.advapi32.dll
push 0x800
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45d42a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45d4b2
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45d4b2
push str.RegisterTraceGuidsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
mov dword [esp], str.UnregisterTraceGuids
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
mov dword [esp], str.TraceEvent
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
mov dword [esp], str.GetTraceLoggerHandle
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
mov dword [esp], str.GetTraceEnableLevel
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
mov dword [esp], str.GetTraceEnableFlags
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0045143a
pop ecx
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x466c51
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x466c90
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x466c90
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x466c90
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x466c90
cmp dword [ecx + 0x74], 0xe
jbe 0x466c90
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x470536
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00465ae0
mov eax, dword [0x4b0280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0047c0e1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x470578
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4706d4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00465e00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4b6ae8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0047d20f
mov ecx, dword [esi*4 + 0x4b6ae8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4706cd
cmp eax, dword [edi + ecx + 0x24]
jne 0x4706cd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4706cd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047d20f
add esp, 0x14
test edx, edx
jl 0x4706cd
jg 0x470643
test eax, eax
jb 0x4706cd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4706cd
jl 0x47065d
cmp dword [ebp - 0x1008], eax
ja 0x4706cd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x47067b
test ebx, ebx
je 0x4706b4
cmp ecx, edi
jae 0x4706b4
mov al, byte [ecx]
cmp al, 0xd
jne 0x470695
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4706a1
cmp byte [ecx + 1], 0xa
jne 0x4706a1
inc ecx
jmp 0x4706a1
movzx eax, al
movsx eax, byte [eax + 0x4b0530]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x47067b
cmp edx, ebx
jne 0x47067b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4706d2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004656b8
leave
ret
Function at 0x47c34c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4b6ae8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47c38c
cmp byte [ebx], 0xa
jne 0x47c38c
or byte [eax + edi + 0x28], 4
jmp 0x47c391
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x47c48f
mov al, byte [edx]
cmp al, 0x1a
je 0x47c471
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x47c3c0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x47c3e5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x47c3ef
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x47c3a2
jmp 0x47c48f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47c46c
cmp dword [ebp - 0xc], 0
je 0x47c46c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4b6ae8]
test byte [eax + edi + 0x28], 0x48
je 0x47c446
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47c431
mov byte [esi], dl
jmp 0x47c442
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4b6ae8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x47c48f
cmp byte [ebp - 1], 0xa
jne 0x47c455
cmp esi, ebx
jne 0x47c455
mov byte [esi], 0xa
jmp 0x47c48e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0047d22d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x47c48f
mov byte [esi], 0xd
jmp 0x47c48e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4b6ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47c48b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47c48f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47c498
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4b6ae8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47c4db
cmp word [esi], dx
jne 0x47c4db
or byte [edi + eax + 0x28], 4
jmp 0x47c4e0
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x47c619
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x47c5f9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x47c522
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x47c558
cmp eax, edx
jae 0x47c564
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x47c4fa
jmp 0x47c619
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47c5f5
cmp dword [ebp - 0x14], 0
je 0x47c5f5
mov eax, dword [ebx*4 + 0x4b6ae8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x47c5cd
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x47c613
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4b6ae8]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x4b6ae8]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4b6ae8]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x47c616
pop ebx
cmp word [ebp - 4], bx
jne 0x47c5de
cmp esi, dword [ebp + 0xc]
jne 0x47c5de
mov word [esi], bx
jmp 0x47c616
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0047d22d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x47c619
push 0xd
jmp 0x47c612
mov ecx, dword [ebx*4 + 0x4b6ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47c610
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47c619
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47d010
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047ccab

Function at 0x47d01b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047ce3a

Function at 0x47ee2a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49cdc4
push 0x49cdbc
push str.FlsAlloc
push 0x1e
call fcn.0047ecb4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47ee5e
push dword [ebp + 8]
mov ecx, esi
call dword [0x49338c]
call esi
jmp 0x47ee64
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x47eea8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49cdd4
push 0x49cdcc
push str.FlsGetValue
push 0x20
call fcn.0047ecb4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47eedf
push dword [ebp + 8]
mov ecx, esi
call dword [0x49338c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x483183
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x483220
push ebx
push esi
call fcn.0048314c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004814c9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4831cd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48321f
push edi
push eax
call fcn.0047d47d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4831ed
call fcn.0047c0a7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x48321e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004814c9
add esp, 0x20
test eax, eax
jne 0x48320c
push edi
call fcn.0047c0a7
jmp 0x483214
push ebx
call fcn.0047c0a7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x489975
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004898f1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x489aed
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x489aed
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x489a9c
jg 0x4899ce
test eax, eax
je 0x489a92
push 1
push 0x1000
call fcn.0047e9b6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4899f4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x489a89
push 0x8000
push ebx
call fcn.00479614
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x489a20
jg 0x489a1b
cmp ecx, 0x1000
jb 0x489a20
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047fca0
add esp, 0x10
cmp eax, 0xffffffff
je 0x489a65
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x489a1b
jl 0x489a4c
test ecx, ecx
jne 0x489a0d
push dword [ebp - 0xc]
push ebx
call fcn.00479614
push esi
call fcn.0047c0a7
add esp, 0xc
xor edi, edi
jmp 0x489afe
cmp byte [edi + 0x24], 0
je 0x489a7c
cmp dword [edi + 0x20], 5
jne 0x489a7c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x489a87
mov edi, dword [edi + 0x18]
jmp 0x489a89
xor edi, edi
push esi
call fcn.0047c0a7
pop ecx
jmp 0x489afe
test ecx, ecx
jg 0x489a5e
jl 0x489a9c
test eax, eax
jae 0x489a5e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047d22d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x489abf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x489a5e
jmp 0x489af6
push ebx
call fcn.00483791
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x489a5e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x489afe
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x489afb
mov edi, dword [edi + 0x18]
jmp 0x489afe
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0047d22d
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48ad00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48ad2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48ad2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b610
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b3d4]
jne 0x40b61a
repz ret
jmp fcn.004127fc

Function at 0x4184ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b3d4]
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.0040fe30
and dword [ebp - 0x14], 0
cmp dword [0x462e54], 0
mov dword [ebp - 0x18], eax
jne 0x41855f
push 0x403854
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418607
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403848
push ebx
call edi
test eax, eax
je 0x418607
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403838
push ebx
mov dword [0x462e54], eax
call edi
push eax
call esi
push 0x403824
push ebx
mov dword [0x462e58], eax
call edi
push eax
call esi
push 0x403808
push ebx
mov dword [0x462e5c], eax
call edi
push eax
call esi
mov dword [0x462e64], eax
test eax, eax
je 0x41855f
push 0x4037f0
push ebx
call edi
push eax
call esi
mov dword [0x462e60], eax
mov eax, dword [0x462e60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4185b8
cmp dword [0x462e64], ecx
je 0x4185b8
push eax
call esi
push dword [0x462e64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4185b8
test ebx, ebx
je 0x4185b8
call edi
test eax, eax
je 0x4185af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4185af
test byte [ebp - 8], 1
jne 0x4185b8
or dword [ebp + 0x10], 0x200000
jmp 0x4185eb
mov eax, dword [0x462e58]
cmp eax, dword [ebp - 0x18]
je 0x4185eb
push eax
call esi
test eax, eax
je 0x4185eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4185eb
mov eax, dword [0x462e5c]
cmp eax, dword [ebp - 0x18]
je 0x4185eb
push eax
call esi
test eax, eax
je 0x4185eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x462e54]
call esi
test eax, eax
je 0x418607
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418609
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b610
leave
ret
Function at 0x422b50
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1404
call fcn.00421ea0
cmp dword [0x803bd8], 0x37
jne 0x422c01
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_GetNamedPipeHandleStateW]
push 0x4044d0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4044f0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x404]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
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
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
lea eax, [esp + 0xc08]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ecx, dword [0x803bdc]
mov eax, dword [0x800048]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x1404
ret
Function at 0x729752
Capabilities:
Encode data using xor

Disassembly:
mov edi, eax
mov esi, edx
mov eax, 0x41363233
xor al, byte [esi]
call fcn.00729789
mov ebx, eax
xor ah, byte [esi]
call fcn.00729789
shr ecx, 2
mov edx, ecx
xor dword [edi], eax
mov cl, al
add edi, 4
rol ebx, cl
xor eax, ebx
mov cl, bh
ror eax, cl
add ebx, eax
dec edx
jne 0x729770
ret

Function at 0x729789
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edx
xor edx, edx
dec esi
inc esi
xor ah, byte [esi]
xor al, dl
add eax, 0x6e203cc5
add eax, 0x21424a6
mov cl, al
ror eax, cl
xor eax, 0x8372a5a7
dec dx
jne 0x729792
cmp byte [esi], 0
jne 0x72978f
pop edx
pop esi
pop ecx
ret

Function at 0x7297da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
add edx, 0x89421025
bswap edx
mov eax, dword [esi]
sub eax, edx
xor eax, ebx
mov ebx, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
dec ecx
jne 0x7297ee
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x72ba20
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
imul eax, dword [ebp + 0x10], 0x9e3779b9
cmp dword [ebp + 0x10], 0
jbe 0x72ba80
mov edx, ebx
shl edx, 4
sub ecx, edx
mov edx, dword [esi + 8]
xor edx, ebx
sub ecx, edx
mov edx, ebx
shr edx, 5
xor edx, eax
sub ecx, edx
sub ecx, dword [esi + 0xc]
mov edx, ecx
shl edx, 4
sub ebx, edx
mov edx, dword [esi]
xor edx, ecx
sub ebx, edx
mov edx, ecx
shr edx, 5
xor edx, eax
sub ebx, edx
sub ebx, dword [esi + 4]
sub eax, 0x9e3779b9
dec dword [ebp + 0x10]
jmp 0x72ba36
mov dword [edi], ebx
mov dword [edi + 4], ecx
popal
leave
ret 0xc