joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4737ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4a5000]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x473834
cmp word [ebx], dx
jne 0x473834
or byte [eax + edi + 0x28], 4
jmp 0x473839
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x47399c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x47397c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x47387a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4738b0
cmp eax, edx
jae 0x4738be
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x473855
jmp 0x47399c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x473977
cmp dword [ebp - 0x18], 0
je 0x473977
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4a5000]
test byte [eax + edi + 0x28], 0x48
je 0x47394d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x473911
mov word [esi], cx
jmp 0x473948
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4a5000]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4a5000]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4a5000]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x47399c
pop eax
cmp word [ebp - 4], ax
jne 0x47395d
cmp esi, ebx
jne 0x47395d
mov word [esi], ax
jmp 0x473999
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046e118
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x47399c
push 0xd
pop eax
jmp 0x473958
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4a5000]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x473996
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x47399c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4768ab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x496e4c
push 0x496e44
push str.FlsAlloc
push 0x1f
call fcn.004766d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4768df
push dword [ebp + 8]
mov ecx, esi
call dword [0x486308]
call esi
jmp 0x4768e5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x476929
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x496e5c
push 0x496e54
push str.FlsGetValue
push 0x21
call fcn.004766d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x476960
push dword [ebp + 8]
mov ecx, esi
call dword [0x486308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x476968
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x496e64
push 0x496e5c
push str.FlsSetValue
push 0x22
call fcn.004766d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4769a2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x486308]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x47d7be
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 0x47d85b
push ebx
push esi
call fcn.0047d787
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.004796e7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x47d808
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x47d85a
push edi
push eax
call fcn.00477279
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x47d828
call fcn.004763f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x47d859
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004796e7
add esp, 0x20
test eax, eax
jne 0x47d847
push edi
call fcn.004763f7
jmp 0x47d84f
push ebx
call fcn.004763f7
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 0x47d85e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x47d86f
pop esi
ret
push ebx
push edi
push esi
call fcn.0047d787
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00477279
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x47d897
push ebx
push esi
push edi
call fcn.0045e4a0
add esp, 0xc
push 0
call fcn.004763f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x47dff1
Capabilities:
Set environment variable

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

Function at 0x47ff75
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00475ebd
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x47ffe4
cmp esi, dword [ebp - 4]
je 0x47ffdf
cmp dword [ebp + 0xc], 0
je 0x47ffdf
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47ffbc
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0047fac7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x47ffe6
xor eax, eax
inc eax
jmp 0x47ffe6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x48004b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00475ebd
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00475ebd
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4800c2
cmp word [ecx], dx
je 0x4800c2
mov eax, dword [0x4975cc]
push edi
dec eax
push eax
push 0x4974b8
call fcn.0047ffea
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x480135
cmp word [eax], dx
je 0x480135
mov eax, dword [edi]
test eax, eax
je 0x4800e6
cmp word [eax], dx
je 0x4800e6
lea eax, [ebp - 0x10]
push eax
call fcn.0047f9cd
jmp 0x4800ef
lea eax, [ebp - 0x10]
push eax
call fcn.0047fa68
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x48015f
mov eax, dword [0x4974b4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4971a8
call fcn.0047ffea
add esp, 0xc
test al, al
je 0x48015f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x48012a
cmp word [eax], di
je 0x48012a
lea eax, [ebp - 0x10]
push eax
call fcn.0047f9cd
pop ecx
jmp 0x480161
lea eax, [ebp - 0x10]
push eax
call fcn.0047fa68
jmp 0x480127
mov eax, dword [edi]
test eax, eax
je 0x48014c
cmp word [eax], dx
je 0x48014c
lea eax, [ebp - 0x10]
push eax
call fcn.0047f982
pop ecx
jmp 0x48015f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x48022a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0047fe6f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48022a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x48022a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x48022a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4801b7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00476b44
test ebx, ebx
je 0x480225
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00476b44
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48022a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48022a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00483ab4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x48022c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c975
leave
ret
Function at 0x480b2b
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00480aa7
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x480c9a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x480c9a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x480c4f
jg 0x480b87
test eax, eax
je 0x480c45
push 1
push 0x1000
call fcn.0047639a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x480baa
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x480c3c
push 0x8000
push ebx
call fcn.0047113c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x480bd3
jg 0x480bce
cmp ecx, 0x1000
jb 0x480bd3
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047490b
add esp, 0x10
cmp eax, 0xffffffff
je 0x480c18
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 0x480bce
jl 0x480bff
test ecx, ecx
jne 0x480bc0
push dword [ebp - 0xc]
push ebx
call fcn.0047113c
push esi
call fcn.004763f7
add esp, 0xc
xor ebx, ebx
jmp 0x480ca8
cmp byte [edi + 0x24], 0
je 0x480c2f
cmp dword [edi + 0x20], 5
jne 0x480c2f
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x480c3a
mov ebx, dword [edi + 0x18]
jmp 0x480c3c
xor ebx, ebx
push esi
call fcn.004763f7
pop ecx
jmp 0x480ca8
test ecx, ecx
jg 0x480c11
jl 0x480c4f
test eax, eax
jae 0x480c11
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046e118
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x480c6f
cmp byte [edi + 0x1c], 0
je 0x480c11
jmp 0x480ca0
push ebx
call fcn.00478d4d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x480c11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x480ca8
cmp byte [edi + 0x1c], 0
je 0x480ca5
mov ebx, dword [edi + 0x18]
jmp 0x480ca8
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0046e118
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x482778
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4827bb
call fcn.0046697b
mov dword [eax], 0xf
call fcn.0046698e
mov dword [eax], 0xd
call fcn.0046654b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c975
leave
ret
test eax, eax
jne 0x4827c2
inc eax
jmp 0x4827af
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4827ad
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4827af

Function at 0x411595
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4115a4
pop dword [ebp - 0x4c]
mov eax, 0xc42c19cc
add eax, 0x3c14fbd8
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x503f5
push 0
mov eax, 0xe2f8f628
sub eax, 0xe2b44378
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x21ac7c55
sub ecx, 0x21ac33b8
mov edi, eax
mov esi, 0x3adaf316
sub esi, 0x3a939516
add esi, dword [ebp - 0x4c]
mov ebx, 0x9afc15c1
add dword [ebp - 0xc], ecx
mov edx, dword [esi]
sub dword [ebp - 0x34], eax
xor edx, ebx
add dword [ebp - 0x44], eax
mov dword [edi], edx
xor dword [ebp - 0x14], edi
add edi, 4
add esi, 4
loop 0x4115fd
add eax, 0xa33d96e0
sub eax, 0xa33c8199
mov ebx, eax
add eax, 0x2f77dea3
sub eax, 0x2f77de9e
mov ecx, 0xc6980996
add ecx, 0x39a7f66a
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4116ef
pop dword [ebp - 0x44]
mov eax, 0x4116ef
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3fba6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x10bb7856
sub ecx, 0x10bb28a9
xor esi, esi
add esi, eax
mov edx, 0xfcd28df
add edx, 0xf0762b21
add edx, dword [ebp - 0x44]
mov ebx, 0xd7efb64e
add ebx, 0xe97adda9
xor dword [ebp - 8], edi
mov edi, dword [edx]
sub dword [ebp - 8], ecx
xor edi, ebx
mov dword [ebp - 0x10], 0x2a0fb895
mov dword [esi], edi
xor dword [ebp - 0x34], 0xa83e1aa5
add esi, 0xa43a9e38
add esi, 0x5bc561cc
add edx, 0x2075752f
sub edx, 0x2075752b
loop 0x411746
add eax, 0xc9de92ab
add eax, 0x36229edc
xor ebx, ebx
add ebx, eax
add eax, 0x76d968c9
sub eax, 0x76d968c4
mov ecx, 0xf501c671
sub ecx, 0xf4c1c671
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40596d
pop dword [ebp - 4]
mov eax, 0xec01372c
sub eax, 0xebc0ddbf
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xd642b35
sub dword [ebp - 0x14], 0xbf11e5ea
mov dword [ebp - 0x10], 0x5a3d2ca8
sub dword [ebp - 0x10], 0x2809e063
mov dword [ebp - 0xc], 0x7421f5eb
add dword [ebp - 0xc], 0xd82a4e43
mov dword [ebp - 8], 0xbc84fafa
add dword [ebp - 8], 0x437b0506
lea eax, [ebp - 0x14]
push eax
mov eax, 0xcf9dc05d
sub eax, 0xcf5d4ffd
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xadb8d18c
add dword [ebp - 0x14], 0xc6b997ca
mov dword [ebp - 0x10], 0xa1a74706
sub dword [ebp - 0x10], 0x603ae591
mov dword [ebp - 0xc], 0x452d477c
add dword [ebp - 0xc], 0x1e4224f0
mov dword [ebp - 8], 0xf4f75f02
add dword [ebp - 8], 0xb08a0fe
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x4957e4
sub eax, 0x8e6e4
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3b46f
push 0
call eax
mov ecx, 0xf63d07a2
add ecx, 0x9c3529c
mov ebx, eax
mov esi, 0x43f399e
add esi, 0xfc01c662
add esi, dword [ebp - 4]
mov edi, 0x5efda03b
mov edx, dword [esi]
xor edx, edi
mov dword [ebx], edx
add ebx, 0x1c68668d
sub ebx, 0x1c686689
add esi, 0x325d2877
add esi, 0xcda2d78d
loop 0x405a89
add eax, 0x98202b97
add eax, 0x67e13034
xor ebx, ebx
add ebx, eax
add eax, 0x7fb92b5b
sub eax, 0x7fb92b56
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x41b850
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x41f004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x4222a4]
imul eax, eax, 0x343fd
cmp dword [0x22c4e8c], 0x139e
mov dword [0x4222a4], eax
jne 0x41b8a3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4222a4]
add eax, 0x269ec3
push esi
mov dword [0x4222a4], eax
movzx esi, word [0x4222a6]
and esi, 0x7fff
cmp dword [0x22c4e8c], 0x8e7
jne 0x41b8d8
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x41b960
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x41f004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4201f0]
push ebx
mov ebx, dword [0x22c4830]
push edi
mov edi, dword [0x22c4e8c]
call fcn.0041b8f0
cmp dword [0x22c4e8c], 0x2f
jne 0x41b9c5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0041b920
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x41bd20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409150
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41bd49
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x41bdf1
cmp dword [0x22c4e8c], 0xa5f
jne 0x41bd95
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.keminivefayosexerukugufebaponif
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x41bdba
mov eax, dword [0x421010]
mov dword [0x22c4e8c], eax
mov ecx, dword [0x22c4e8c]
add ecx, 0xa231
mov dword [0x22c4e8c], ecx
cmp dword [0x22c4e8c], 0x141
jne 0x41bdec
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4222a8], 0xec58acac
mov dword [0x4222ac], 0xffffffff
jmp 0x41bd40
call fcn.0041b9e0
jmp dword [0x22c4830]
Function at 0x1c26a00
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
xor edi, edi
push dword [esi + edi*4 + 0x28]
call fcn.01ca97a1
add esp, 4
mov dword [esi + edi*4 + 0x28], eax
inc edi
cmp edi, 0x10
jne 0x1c26a0d
xor eax, eax
mov ecx, dword [esi + eax*4 + 0x48]
xor ecx, dword [esi + eax*4 + 0x5c]
xor ecx, dword [esi + eax*4 + 0x30]
xor ecx, dword [esi + eax*4 + 0x28]
rol ecx, 1
mov dword [esi + eax*4 + 0x68], ecx
inc eax
cmp eax, 0x40
jne 0x1c26a25
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov ebx, eax
mov eax, edx
mov edx, ecx
rol edx, 5
cmp edi, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], ecx
jae 0x1c26aa7
mov ecx, ebx
mov ebx, eax
and ebx, ecx
add ebx, edx
mov edx, eax
not edx
and edx, esi
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x5a827999
jmp 0x1c26afc
cmp edi, 0x28
jae 0x1c26ac3
xor ebx, esi
xor ebx, eax
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x6ed9eba1
jmp 0x1c26afc
cmp edi, 0x3b
mov dword [ebp - 0x18], esi
ja 0x1c26ad7
mov ecx, ebx
or ecx, esi
and ecx, eax
and ebx, esi
or ebx, ecx
jmp 0x1c26adb
xor ebx, esi
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add ebx, edx
add ebx, esi
add ebx, dword [ecx + edi*4 + 0x28]
cmp edi, 0x3c
mov ecx, 0xca62c1d6
mov edx, 0x8f1bbcdc
cmovb ecx, edx
mov esi, dword [ebp - 0x18]
add ebx, ecx
rol eax, 0x1e
inc edi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x34]
mov edx, ecx
cmp edi, 0x50
jne 0x1c26a6d
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x10], esi
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0xc], edx
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi], ebx
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x20]
add ecx, ebx
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
add ecx, esi
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [edi + 0x24], eax
mov dword [edi + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c2a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x1c2a07f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x1c2a061
pop esi
pop edi
pop ebp
ret 8