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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060c86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100279b3
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002799a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0x240f
mov dword [ebp - 0x38], 0x10009638
cmp dword [ebp - 0x1c], 0x25d7
jle 0x1002793f
and dword [ebp - 0x14], 0
jmp 0x100278e5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2137
jge 0x1002793f
and dword [ebp - 0x18], 0
jmp 0x100278fb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x495b
jge 0x1002793d
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1000cda0
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.1002bc3e
push eax
call fcn.1004b066
pop ecx
lea ecx, [ebp - 0x70]
call fcn.1002bc34
jmp 0x100278f4
jmp 0x100278de
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1002795c
push 0
push 0x125
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x22a0
jge 0x10027972
push dword [ebp - 0x38]
call fcn.1004b066
pop ecx
jmp 0x1002798e
or dword [ebp - 4], 0xffffffff
jmp 0x10027998
jmp 0x100279b1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x100279f8
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100279d8
push 0x135
push 0
call dword [sym.imp.USER32.dll_CharLowerBuffW]
jmp 0x100279f8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x100279f8
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005c7f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10066750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1004e998
mov dword [ebp - 0x14], eax
cmp dword [0x106099fc], esi
jne 0x1005c8e8
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005c875
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005c9c8
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005c9c8
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005c9c8
push eax
call ebx
push 0x10007534
push edi
mov dword [0x106099fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x10609a00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x10609a04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10609a0c], eax
test eax, eax
je 0x1005c8e5
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10609a08], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005c90d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005c900
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005c922
push 4
pop eax
jmp 0x1005c9ca
cmp dword [ebp - 0x14], esi
je 0x1005c922
push dword [0x106099fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005c907
mov eax, dword [0x10609a08]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005c980
cmp dword [0x10609a0c], edi
je 0x1005c980
push eax
call ebx
push dword [0x10609a0c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005c980
test eax, eax
je 0x1005c980
call ecx
test eax, eax
je 0x1005c975
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005c975
test byte [ebp - 8], 1
jne 0x1005c980
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005c9b0
mov eax, dword [0x10609a00]
cmp eax, edi
je 0x1005c9ad
push eax
call ebx
test eax, eax
je 0x1005c9ad
call eax
mov esi, eax
test esi, esi
je 0x1005c9ad
mov eax, dword [0x10609a04]
cmp eax, edi
je 0x1005c9ad
push eax
call ebx
test eax, eax
je 0x1005c9ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106099fc]
call ebx
test eax, eax
je 0x1005c9c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005c9ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004beac
mov esp, ebp
pop ebp
ret
Function at 0x805d90
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805d96
pop ebp
sub ebp, 6
sub ebp, 0x405d90
jmp 0x805df4
push ecx
mov esi, 0x22de486e
outsb dx, byte [esi]
dec eax
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
imul esi, dword [bx], 0x5d90b806
inc eax
add byte [ebx], al
lds eax, [ecx + 0x93c0]
jmp 0x805dfd
mov eax, 0x405d90
add eax, ebp
add eax, 0x93
mov ecx, 0x621
add byte [ecx + 0x621], bh
mov edx, 0x1f20f2d
xor byte [eax], dl
inc eax
dec ecx
jne 0x805e14
jmp 0x805e27
inc edi
insd dword es:[edi], dx
inc ebp
sub eax, 0x452d2d3d
sub eax, 0x1e2d01e1
in eax, dx
jge 0x805e09
mov eax, 0x2d1bfc2d
jge 0x805de4
loopne 0x805de6
movsb byte es:[edi], byte [esi]
adc dword [0xecac2d2d], ebp
aad 0x2d
sub eax, 0x95e02e2d
sub ebp, dword [0x5972d2d]
sub eax, 0xcfda2d2d
in eax, 0xa6
lodsb al, byte [esi]
and dword [0xe82e2d2d], ebp
jge 0x805eaa
sbb byte [ebp + 0x1a0a8245], ah
sub eax, 0x4509012c
sub eax, 0xc52d2d2d
sub byte [0x5c42d2d], ch
sub eax, 0x79782d2d
jo 0x805e2a
test al, 0x25
sub eax, 0xb8a62d2d
and dword [0xa0a62d2d], ebp
cmp eax, 0xec2d2d2d
les ebp, [edi]
sbb al, 0x2f
scasb al, byte es:[edi]
out dx, eax
sub dword [edx - 0x58], esp
invalid
or dword [ecx], ebp
sub eax, 0xf2452d2d
sbb byte [ebp + 0x1a0a8245], ah
sub eax, 0x7c09012c
lds ebp, [eax]
sub eax, 0x18c42d2d
das
sub eax, 0x41a0782d
or dword [0xd22158d2], ebp
pop eax
and eax, 0x2d2d4bc5
sub eax, 0x2d2590a6
sub eax, 0x1ee41e2d
jmp [esi + 0x226528c5]

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 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 0x401150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ecx, ecx
push edi
lea esi, [ecx + 0x61]
jmp 0x401160
inc ecx
mov eax, ecx
and eax, 0x80000007
jns 0x40116f
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401172
inc ecx
cmp ecx, 0x135a
jl 0x401160
mov ebx, 0x4753
nop
mov eax, 0x2e8ba2e9
imul ebx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401180
mov ebx, 0x166e
mov edi, 0x4cdf
lea ecx, [ecx]
mov eax, 0x1948b0fd
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4011a0
mov edx, dword [ebp + 8]
mov edi, 0x6921
test edx, edx
je 0x401233
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401233
cmp edx, eax
jae 0x401233
mov ecx, 0
sub eax, edx
je 0x4011f0
mov esi, eax
mov al, byte [ecx + edx + 1]
add al, 0x7b
xor byte [ecx + edx], al
inc ecx
cmp ecx, esi
jb 0x4011d5
mov esi, 0x61
jmp 0x4011f0
mov eax, 0x38e38e39
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4011f0
mov eax, 0x181c
mov ecx, 0x10
lea ecx, [ecx]
cmp esi, ecx
cmovl esi, ecx
dec eax
jne 0x401210
jmp 0x401220
mov eax, 0x94f2095
imul edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401220
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4033a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4033fd
mov eax, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [ebp + 0xc]
inc edi
mov bh, byte [edi + ecx - 1]
inc byte [eax]
movzx esi, byte [eax]
movzx edx, byte [esi + eax + 2]
movzx ecx, byte [eax + 1]
add esi, eax
add ecx, edx
movzx edx, cl
mov byte [eax + 1], cl
movzx ecx, byte [edx + eax + 2]
mov bl, byte [esi + 2]
mov byte [esi + 2], cl
mov byte [edx + eax + 2], bl
movzx ecx, byte [esi + 2]
mov edx, dword [ebp + 0xc]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
xor cl, bh
mov byte [edi + edx - 1], cl
cmp edi, dword [ebp + 0x10]
jb 0x4033b0
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Create service
Get common file path
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4010ff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4010ff
push 0x402128
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x4010ff
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov esi, eax
add esp, 4
test esi, esi
je 0x4010ff
push ebx
push 0
push 0
push 0
push 0
push 0
push esi
push 1
push 2
push 0x10
push 0xf01ff
push str.SvcHost
push str.SvcHost
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
push esi
mov ebx, eax
call fcn.00401120
add esp, 4
test ebx, ebx
jne 0x4010d5
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401112
mov esp, ebp
pop ebp
ret
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401112
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.00401112
mov esp, ebp
pop ebp
ret

Function at 0x401927
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401966
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401966
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401966
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401966
cmp dword [ecx + 0x74], 0xe
jbe 0x401966
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44cae9
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword [0x400820]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
push esi
xor ecx, ecx
xor edx, edx
mov esi, 0xff
cmp byte [eax], 0xcc
jne 0x44cb17
cmp byte [eax + 1], cl
jne 0x44cb17
cmp byte [eax + 2], cl
jne 0x44cb17
cmp byte [eax + 3], cl
jne 0x44cb17
cmp byte [eax - 6], 0xe4
je 0x44cb21
inc eax
inc edx
cmp edx, esi
jl 0x44cafd
xor eax, eax
pop esi
ret
xor edx, edx
cmp byte [eax], 0xff
jne 0x44cb34
cmp byte [eax + 1], 0x75
jne 0x44cb34
cmp byte [eax + 2], 0xf4
je 0x44cb3d
inc eax
inc edx
cmp edx, 0x30
jl 0x44cb23
jmp 0x44cb1d
add eax, 5
mov edx, dword [eax]
lea edx, [edx + eax + 4]
mov dword [0x400908], edx
cmp byte [eax], 0xff
jne 0x44cb5d
cmp byte [eax + 1], 0x75
jne 0x44cb5d
cmp byte [eax + 2], 0xfc
je 0x44cb65
inc eax
inc ecx
cmp ecx, esi
jl 0x44cb4c
jmp 0x44cb1d
add eax, 4
mov ecx, dword [eax]
lea eax, [ecx + eax + 4]
mov dword [0x400914], eax
xor eax, eax
inc eax
pop esi
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 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019a4
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x4046d1]
lea edx, [fcn.00401a14]
sub eax, edx
push eax
push fcn.00401a14
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132e
push edi
call fcn.00401894
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.004018e3
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov esi, dword [ebp - 0x88]
mov ecx, esi
mov ebx, edi
sar ebx, cl
sub esi, ebx
push esi
lea esi, [0x4060e4]
xor esi, edi
push esi
call fcn.00401a14
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019a4
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
mov dword [ebp - 0x11c], 0x14
invalid
Function at 0x4353bf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042716b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4353f7
xor eax, eax
jmp 0x435423
cmp esi, dword [ebp - 4]
je 0x435420
cmp dword [ebp + 0xc], 0
je 0x435420
push dword [edi + 0x9c]
call fcn.00434fcd
push dword [edi + 0x9c]
mov esi, eax
call fcn.004250ad
pop ecx
pop ecx
cmp esi, eax
je 0x4353f3
xor eax, eax
inc eax
pop edi
pop esi
leave
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 0x1000a5f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x1000d0f8
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0xe8], 0
push 0x32
push 0
mov eax, dword [ebp - 4]
add eax, 0x52
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1000d058
mov ecx, dword [ebp - 4]
add ecx, 0x52
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x1000d060
mov edx, dword [ebp - 4]
add edx, 0x52
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x32
push 0
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1000d068
mov ecx, dword [ebp - 4]
add ecx, 0x20
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x1000d070
mov edx, dword [ebp - 4]
add edx, 0x20
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x32
push 0
mov eax, dword [ebp - 4]
add eax, 0xb6
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1000d078
mov ecx, dword [ebp - 4]
add ecx, 0xb6
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push str..ready
mov edx, dword [ebp - 4]
add edx, 0xb6
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x32
push 0
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1000d088
mov ecx, dword [ebp - 4]
add ecx, 0x84
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push str..done
mov edx, dword [ebp - 4]
add edx, 0x84
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x1000d098
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
push 0x1000d0a0
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x52
push eax
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov ecx, dword [ebp - 4]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov edx, dword [ebp - 4]
add edx, 0xb6
push edx
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
call fcn.1000a7a0
movzx ecx, al
test ecx, ecx
jne 0x1000a783
jmp 0x1000a775
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a7a0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1000d0e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x14
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push section..data
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x1000d014
push 0x1000d018
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push 0x14
push 1
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push 0x14
push 0
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1000d020
push 0x1000d024
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x14
push 1
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push 0x1000d02c
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
push str.Debugger_Connected
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x1000a87f
mov al, 1
jmp 0x1000a881
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000b398
mov esp, ebp
pop ebp
ret

Function at 0x1000b398
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d0e0]
jne 0x1000b3a2
repz ret
jmp fcn.1000b755

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4cf67d9f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x109562aa
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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