joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013aa14
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 0x1013aab1
push ebx
push esi
call fcn.1013a9dd
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.101399ef
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1013aa5e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1013aab0
push edi
push eax
call fcn.1013241a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1013aa7e
call fcn.10132036
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1013aaaf
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101399ef
add esp, 0x20
test eax, eax
jne 0x1013aa9d
push edi
call fcn.10132036
jmp 0x1013aaa5
push ebx
call fcn.10132036
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 0x1013aab4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1013aac5
pop esi
ret
push ebx
push edi
push esi
call fcn.1013a9dd
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1013241a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1013aaed
push ebx
push esi
push edi
call fcn.1011d990
add esp, 0xc
push 0
call fcn.10132036
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1013aebd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013ab02

Function at 0x1013d0f4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1012f08d
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 0x1013d163
cmp esi, dword [ebp - 4]
je 0x1013d15e
cmp dword [ebp + 0xc], 0
je 0x1013d15e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1013d13b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1013cc46
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1013d165
xor eax, eax
inc eax
jmp 0x1013d165
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1013d1ca
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10182098]
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.1012f08d
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.1012f08d
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 0x1013d241
cmp word [ecx], dx
je 0x1013d241
mov eax, dword [0x1014e14c]
push edi
dec eax
push eax
push 0x1014e038
call fcn.1013d169
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1013d2b4
cmp word [eax], dx
je 0x1013d2b4
mov eax, dword [edi]
test eax, eax
je 0x1013d265
cmp word [eax], dx
je 0x1013d265
lea eax, [ebp - 0x10]
push eax
call fcn.1013cb4c
jmp 0x1013d26e
lea eax, [ebp - 0x10]
push eax
call fcn.1013cbe7
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1013d2de
mov eax, dword [0x1014e034]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1014dd28
call fcn.1013d169
add esp, 0xc
test al, al
je 0x1013d2de
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1013d2a9
cmp word [eax], di
je 0x1013d2a9
lea eax, [ebp - 0x10]
push eax
call fcn.1013cb4c
pop ecx
jmp 0x1013d2e0
lea eax, [ebp - 0x10]
push eax
call fcn.1013cbe7
jmp 0x1013d2a6
mov eax, dword [edi]
test eax, eax
je 0x1013d2cb
cmp word [eax], dx
je 0x1013d2cb
lea eax, [ebp - 0x10]
push eax
call fcn.1013cb01
pop ecx
jmp 0x1013d2de
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 0x1013d3a9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1013cfee
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1013d3a9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1013d3a9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1013d3a9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1013d336
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10133ba3
test ebx, ebx
je 0x1013d3a4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10133ba3
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1013d3a9
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 0x1013d3a9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10140f84
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1013d3ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011c60c
leave
ret
Function at 0x1013fa83
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10182098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1013fac6
call fcn.10127fa7
mov dword [eax], 0xf
call fcn.10127fba
mov dword [eax], 0xd
call fcn.10120cde
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011c60c
leave
ret
test eax, eax
jne 0x1013facd
inc eax
jmp 0x1013faba
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 0x1013fab8
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1013faba
Function at 0x10141764
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.101416e0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101418d3
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101418d3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10141888
jg 0x101417c0
test eax, eax
je 0x1014187e
push 1
push 0x1000
call fcn.101311b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101417e3
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10141875
push 0x8000
push ebx
call fcn.10141611
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1014180c
jg 0x10141807
cmp ecx, 0x1000
jb 0x1014180c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10131e1a
add esp, 0x10
cmp eax, 0xffffffff
je 0x10141851
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 0x10141807
jl 0x10141838
test ecx, ecx
jne 0x101417f9
push dword [ebp - 0xc]
push ebx
call fcn.10141611
push esi
call fcn.10132036
add esp, 0xc
xor ebx, ebx
jmp 0x101418e1
cmp byte [edi + 0x24], 0
je 0x10141868
cmp dword [edi + 0x20], 5
jne 0x10141868
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10141873
mov ebx, dword [edi + 0x18]
jmp 0x10141875
xor ebx, ebx
push esi
call fcn.10132036
pop ecx
jmp 0x101418e1
test ecx, ecx
jg 0x1014184a
jl 0x10141888
test eax, eax
jae 0x1014184a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1013553a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101418a8
cmp byte [edi + 0x1c], 0
je 0x1014184a
jmp 0x101418d9
push ebx
call fcn.1013632b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1014184a
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 0x101418e1
cmp byte [edi + 0x1c], 0
je 0x101418de
mov ebx, dword [edi + 0x18]
jmp 0x101418e1
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1013553a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406e], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.timecraft
push str.named
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401188
xor eax, eax
jmp 0x4011a3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xdc969e0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xecb1ba2
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x440f1d
Capabilities:
Encode data using xor

Disassembly:
test byte [edx + 0x64], bl
jno 0x440f2a
or eax, 0x2d0ab3fe
dec ebx
xchg ebx, eax
inc ecx
fistp word [esi - 0x69]
sbb eax, 0xe91b547
inc edi
mov ch, 0x91
push cs
sub ch, 0x6d
imul esi, dword [esi + esi], 0xffffff90
mov al, byte [ebx + 0x20]
stc
xchg ebp, eax
movsd dword es:[edi], dword [esi]
cld
mov esp, 0x3609b898
pop edx
lds ebx, [esi - 0x2115f5ad]
movsb byte es:[edi], byte [esi]
scasd eax, dword es:[edi]
wait
scasd eax, dword es:[edi]
mov al, byte [0xb39f930b]
mov edx, 0x9f279087
xchg ecx, eax
std
pushfd
mov dh, byte [ebp - 0x6d]
in al, 0x9a
cmp dword [edi + 0x5ae57fca], 0xffffffeb
popal
sar eax, 0xf1
jg 0x440eab
nop
std
jp 0x440f15
lea edx, [edi]
sahf
ja 0x440f64
mov ch, 0xcf
push edi
add dh, byte [eax + 0x78]
and cl, dl
sub esi, ecx
pop esi
sbb al, 0x12
in eax, dx
nop
js 0x440ebd
or bl, byte [eax]
test dh, bl
jle 0x440f7d
and dh, byte [ebp + 0x61cdc8ef]
mov ebx, 0xf2270881
dec eax
add byte [ecx - 9], bl
cwde
xor eax, 0x7a52328b
sbb al, 0xc4
mov ecx, 0x3ba87292
jbe 0x440ebc
pop esp
inc edx
inc ecx
xor eax, 0x3baa29d5
sub dword [edi - 0x49], edi
cld
mov dword [0x3a3e61eb], eax
retf
invalid
popal
mov ah, 0x5d
pop ebp
cmp dword [edi - 0x2a], 0x70
mov byte [ecx - 0x31], 0x73
loop 0x440fb2
stosd dword es:[edi], eax
salc
jns 0x440f44
invalid
sbb dh, cl
push 0xdfd3cda2
rcr edi, cl
sub al, 0x21
out dx, al
jg 0x440f5f
pop edi
je 0x440fed
arpl word [ebp - 0x2ad7de84], bx
cld
stosb byte es:[edi], al
mov esp, 0x6cbb49c5
adc al, 0xa
or ah, byte [esi]
aam 0xb8
adc dl, bl
jo 0x440f3a
je 0x440f62
in eax, dx
mov ebx, 0xb385f5a
inc edx
xchg ebp, eax
jl 0x441016
mov ebp, 0xb65fd77e
invalid
xlatb
pop edi
mov dh, 0x62
lds eax, [edi]
xchg byte [ecx - 0x359bc161], dh
in al, 0x1d
dec ecx
daa
pop ecx
ret 0x457
mov al, byte [0x62c5e3b5]
fldcw word [esi + 0x29]
inc edx
xor byte [ebx + 1], dl
mov byte [0x2a57ee1], al
hlt
lds edi, [ebx + eax*4 - 0x5a814b01]
invalid

Function at 0x57b562
Capabilities:
Encode data using xor

Disassembly:
pop eax
mov esp, 0x4b93ce4b
mov edx, 0xfbbcb88d
invalid
Function at 0x64ec06
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f2f0
push 0x64eb60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0xa51f8c], 0xffffffff
or dword [0xa51f90], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0xa51f88]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0xa51f84]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0xa51f94], eax
call fcn.0064ecef
cmp dword [0x651280], ebx
jne 0x64ebf3
push 0x64ecec
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0064ecda
push 0x65100c
push 0x651008
call sub.MSVCRT.dll__initterm
add byte [ecx + 0xa51f80], ah
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0xa51f7c]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x651004
push section..data
call sub.MSVCRT.dll__initterm
add byte [eax], al
add byte [ebx + 0x64a124c4], al
add byte fs:[ebx - 0x738a76d0], cl
cmp byte [esi], 0x22
jne 0x64ec86
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64ec5a
cmp al, 0x22
jne 0x64ec4c
cmp byte [esi], 0x22
jne 0x64ec63
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64ec6d
cmp al, 0x20
jbe 0x64ec5f
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x64ec91
movzx eax, word [ebp - 0x2c]
jmp 0x64ec94
cmp byte [esi], 0x20
jbe 0x64ec63
inc esi
mov dword [ebp - 0x74], esi
jmp 0x64ec86
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2266
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52610c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a04a5
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0049d1bd
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40912e
cmp byte [ebx + 0x3d], 0
je 0x40912e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x409059
xor al, al
jmp 0x409130
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408e10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4090bf
sub eax, 1
je 0x4090c3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x409116
xor bl, bl
jmp 0x409118
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4090f8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004c275d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4090bb
cmp byte [ebx + 0x3d], 0
je 0x409116
test esi, esi
jne 0x409081
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00408f50
jmp 0x40907e
mov bl, 1
cmp ecx, 0x10
jb 0x40912a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004099a0
mov al, bl
jmp 0x409130
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0475
mov esp, ebp
pop ebp
ret

Function at 0x40b450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2d7c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52610c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x30]
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
add ecx, 8
add ecx, edx
mov edx, dword [edx + 0xc]
mov edi, edx
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call fcn.004a04a0
add esp, 4
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40b4b8
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x40b4c9
push 0x40
push esi
call fcn.004a0486
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f240
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x60], eax
cmp dword [0x52e1c4], 0
push esi
mov esi, dword [ebp + 8]
jne 0x40f275
mov dword [0x52e1c8], 0
mov dword [0x52e1c4], 1
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0040f070
add esp, 4
lea edx, [esp + 8]
mov ecx, esi
call fcn.0040f190
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004a0475
mov esp, ebp
pop ebp
ret

Function at 0x40f3f0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a4
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x4a0], eax
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
cmp dword [edx + 0x14], 0x10
mov dword [esp + 8], 0
jb 0x40f429
mov edx, dword [edx]
push 0x507a80
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004c6494
add esp, 0xc
test eax, eax
je 0x40f45d
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push 0x507250
jmp 0x40f5a2
cmp dword [0x52e1c4], 0
xorps xmm0, xmm0
mov byte [esp + 0x6c], 0
movq qword [esp + 0x6d], xmm0
mov dword [esp + 0x75], 0
mov word [esp + 0x79], 0
mov byte [esp + 0x7b], 0
movups xmmword [esp + 0x7c], xmm0
mov byte [esp + 0x9c], 0
movups xmmword [esp + 0x8c], xmm0
jne 0x40f4b1
mov dword [0x52e1c8], 0
mov dword [0x52e1c4], 1
push 0x400
lea eax, [esp + 0xa4]
mov dword [esp + 0x14], 0x67452301
push 0
push eax
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.004b9880
push dword [esp + 0x14]
lea eax, [esp + 0xb0]
push 0x400
push 1
push eax
call fcn.004c66a7
add esp, 0x1c
test eax, eax
je 0x40f544
push eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x14]
call fcn.0040f070
push dword [esp + 0xc]
lea eax, [esp + 0xa8]
push 0x400
push 1
push eax
call fcn.004c66a7
add esp, 0x14
test eax, eax
jne 0x40f514
push dword [esp + 8]
call fcn.004c24a5
lea edx, [esp + 0x14]
lea ecx, [esp + 0x70]
call fcn.0040f190
lea edx, [esp + 0x80]
lea ecx, [esp + 0x70]
call fcn.0040f2d0
mov dword [esi + 0x14], 0xf
add esp, 4
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [esp + 0x7c], 0
jne 0x40f589
xor ecx, ecx
jmp 0x40f599
lea ecx, [esp + 0x7c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f590
sub ecx, edx
push ecx
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.00409af0
mov ecx, dword [esp + 0x4a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a0475
mov esp, ebp
pop ebp
ret