joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c00
Capabilities:
Delete directory
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x42ab08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436b90]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax + 0x1c]
cmp dword [eax + 0xc], ecx
jle 0x404c49
test ecx, ecx
jl 0x404c44
cmp ecx, dword [eax + 0xc]
jge 0x404c44
mov edx, dword [eax + 8]
mov ebp, dword [edx + ecx*4]
jmp 0x404c4b
call fcn.00411116
xor ebp, ebp
call fcn.004111f0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404c65
push 0x80004005
call fcn.00401160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
push 0
push str.Directories
mov ecx, ebp
call eax
test eax, eax
je 0x404d33
mov dword [esp + 0x14], 0
mov edx, dword [ebp]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call edx
mov ebx, dword [esp + 0x28]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ab0b
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call ebx
push edi
mov esi, eax
call ebx
push edi
call fcn.0040ab06
add esp, 4
test esi, esi
je 0x404d17
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x404d17
mov dword [esp + 0x14], 1
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
test eax, eax
jne 0x404c9e
cmp dword [esp + 0x14], eax
jne 0x404c7d
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x409cd0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
mov ecx, ebp
mov ebx, 1
call fcn.0040a1b0
mov esi, eax
test esi, esi
jne 0x409d62
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
jbe 0x409d62
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, ebx
or ecx, edx
jge 0x409d18
push ebx
mov ecx, edi
call fcn.00402060
mov eax, dword [edi]
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [edi]
test edx, edx
jne 0x409d2d
xor ecx, ecx
jmp 0x409d43
mov ecx, edx
lea ebx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x409d32
sub ecx, ebx
sar ecx, 1
js 0x409d6a
cmp ecx, dword [edx - 8]
jg 0x409d6a
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
add edx, 1
cmp edx, eax
sbb esi, esi
add esi, 1
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4
push 0x80070057
call fcn.00401160
int3

Function at 0x40ed77
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40edb0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040ed3a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404680
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41089b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4108de
call fcn.004126a2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4108de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4108f9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00410455
test ebx, ebx
mov esi, eax
je 0x4108f7
test edi, edi
je 0x4108f7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x412fea
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x436b90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x413027
push 0x42dae8
push 4
push eax
call fcn.0041a3ca
push eax
call fcn.00402650
add esp, 0x10
jmp 0x413039
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4130a4
push edi
call fcn.00418d06
mov edi, dword [eax]
call fcn.00418d06
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00418cac
add esp, 0x18
mov ebx, eax
call fcn.00418d06
cmp dword [eax], 0
je 0x413084
call fcn.00418d06
push dword [eax]
call fcn.0040b757
pop ecx
jmp 0x41308b
call fcn.00418d06
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4130a4
cmp ebx, esi
jae 0x4130a4
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4130a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00417643
leave
ret
Function at 0x415955
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x415983
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4159a1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004158bf
jmp 0x4159a1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4159a1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004158bf
test edi, edi
mov eax, edi
jne 0x41598b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x439de0]
test ecx, ecx
je 0x415a64
jmp 0x415954
ret 8

Function at 0x417643
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436b90]
jne 0x41764d
repz ret
jmp fcn.0041c1e1

Function at 0x41b006
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x436d20]
je 0x41b021
inc edi
cmp edi, 0x17
jb 0x41b012
cmp edi, 0x17
jae 0x41b1a1
push ebp
push 3
call fcn.00423320
cmp eax, 1
pop ecx
je 0x41b16d
push 3
call fcn.00423320
test eax, eax
pop ecx
jne 0x41b055
cmp dword [0x436b64], 1
je 0x41b16d
cmp ebx, 0xfc
je 0x41b1a0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43a090
push ebp
call fcn.004232bb
add esp, 0xc
test eax, eax
je 0x41b08b
push esi
push esi
push esi
push esi
push esi
call fcn.0041c552
add esp, 0x14
push 0x104
mov esi, 0x43a0a9
push esi
push 0
mov byte [0x43a1ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b0cf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004232bb
add esp, 0xc
test eax, eax
je 0x41b0cf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041c552
add esp, 0x14
push esi
call fcn.00423230
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41b114
push esi
call fcn.00423230
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43a3a4
push 0x42e584
sub ecx, eax
push ecx
push eax
call fcn.00423170
add esp, 0x14
test eax, eax
je 0x41b114
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041c552
add esp, 0x14
jmp 0x41b116
xor esi, esi
push 0x42e580
push ebx
push ebp
call fcn.004230ff
add esp, 0xc
test eax, eax
je 0x41b136
push esi
push esi
push esi
push esi
push esi
call fcn.0041c552
add esp, 0x14
push dword [edi*8 + 0x436d24]
push ebx
push ebp
call fcn.004230ff
add esp, 0xc
test eax, eax
je 0x41b158
push esi
push esi
push esi
push esi
push esi
call fcn.0041c552
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00422f42
add esp, 0xc
jmp 0x41b1a0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41b1a0
cmp ebp, 0xffffffff
je 0x41b1a0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x436d24]
push dword [esi]
call fcn.00423230
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x422f42
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041bbb6
xor ebx, ebx
cmp dword [0x43ab88], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x423018
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4230f8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4230f8
push eax
call fcn.0041bb48
mov dword [esp], 0x42e7d0
push edi
mov dword [0x43ab88], eax
call esi
push eax
call fcn.0041bb48
mov dword [esp], 0x42e7bc
push edi
mov dword [0x43ab8c], eax
call esi
push eax
call fcn.0041bb48
mov dword [0x43ab90], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041a773
test eax, eax
pop ecx
pop ecx
je 0x422fe6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c552
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x423018
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041bb48
cmp eax, ebx
pop ecx
mov dword [0x43ab98], eax
je 0x423018
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041bb48
pop ecx
mov dword [0x43ab94], eax
mov eax, dword [0x43ab94]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42309d
cmp dword [0x43ab98], ecx
je 0x42309d
push eax
call fcn.0041bbbf
push dword [0x43ab98]
mov esi, eax
call fcn.0041bbbf
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42309d
cmp edi, ebx
je 0x42309d
call esi
cmp eax, ebx
je 0x42306a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42306a
test byte [ebp - 0x18], 1
jne 0x42309d
lea eax, [ebp - 0x10]
push eax
call fcn.0041a7aa
test eax, eax
pop ecx
je 0x423085
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c552
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x423094
or dword [ebp + 0x10], 0x200000
jmp 0x4230d8
or dword [ebp + 0x10], 0x40000
jmp 0x4230d8
mov eax, dword [0x43ab8c]
cmp eax, dword [ebp - 8]
je 0x4230d8
push eax
call fcn.0041bbbf
cmp eax, ebx
pop ecx
je 0x4230d8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4230d8
mov eax, dword [0x43ab90]
cmp eax, dword [ebp - 8]
je 0x4230d8
push eax
call fcn.0041bbbf
cmp eax, ebx
pop ecx
je 0x4230d8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ab88]
call fcn.0041bbbf
cmp eax, ebx
pop ecx
je 0x4230f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4230fa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425f91
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx - 0x7fcc388], cl
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00425d96
xor al, 0xbf
leave
sub cl, byte [edi]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00425d96
dec ecx
das
push 0x15
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x425ff0
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x425fea
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x425fdb
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
invalid
pop esp

Function at 0x426240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00425d96
sub eax, 0x8da9dea7
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x429e6e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x436b90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00429e03
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004189c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x429ebd
cmp dword [ebp - 0x1c], 5
jb 0x429ed5
jmp 0x429ed1
cmp dword [ebp - 0x10], 1
jne 0x429ed5
cmp dword [ebp - 0x1c], 4
ja 0x429ed1
jne 0x429ed5
cmp dword [ebp - 0x18], 0
jbe 0x429ed5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42f994
call fcn.00429cd7
test eax, eax
jge 0x429ef6
mov byte [0x43ad88], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00417643
add ebp, 0x78
leave
ret
Function at 0x4020f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00401021
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push esi
push str.C:WindowsSystem32does_not_exist.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
jne 0x4021d5
call fcn.004023cb
call fcn.004023aa
call fcn.00402650
call fcn.00404bec
test eax, eax
je 0x4021d0
call fcn.004027c0
call fcn.0040349e
call fcn.00402c24
call fcn.00403e2d
call fcn.00402e41
mov esi, edi
jmp 0x4021c4
push edi
push edi
push edi
call dword [0x4091f8]
push esi
call fcn.00401dfc
pop ecx
test eax, eax
jne 0x4021aa
cmp esi, 2
jge 0x4021af
inc esi
jmp 0x4021af
test esi, esi
jle 0x4021af
dec esi
push edi
push edi
push 1
call dword [0x4091f8]
push 0x2c21d
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404802
cmp eax, 0x41
jl 0x40218e
jmp 0x4021d5
call fcn.00403835
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x402650
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xfffffffffffffffa
push str.Ivy_vxm_ztxx
call fcn.00404f5b
mov esi, eax
push str.dyvM2vOKyvb2jyhC
mov dword [ebp - 0x14], esi
call fcn.00404d3b
push str.Uv2JKxv_22yKTa2vrC
mov ebx, eax
call fcn.00404d3b
push str.djLhJKxvC
mov dword [ebp - 4], eax
call fcn.00404d3b
push str._v2Uhr2vSKSv
mov dword [ebp - 8], eax
call fcn.00404d3b
push str._v2JKxv_22yKTa2vrC
mov dword [ebp - 0xc], eax
call fcn.00404d3b
add esp, 0x1c
mov dword [ebp - 0x10], eax
push esi
call dword [0x409204]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4026f9
test ebx, ebx
je 0x4026f9
push ebx
push esi
call edi
push dword [ebp - 4]
mov dword [0x409274], eax
push esi
call edi
push dword [ebp - 8]
mov dword [0x409270], eax
push esi
call edi
push dword [ebp - 0xc]
mov dword [0x40926c], eax
push esi
call edi
push dword [ebp - 0x10]
mov dword [0x409264], eax
push esi
call edi
mov dword [0x40927c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
push 0xfffffffffffffffa
push str._tlMLKm_ztxx
call fcn.00404f5b
push str.EvZW_aSgvhWpC
mov dword [ebp - 0x10], eax
call fcn.00404d3b
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x10]
call dword [0x409204]
test eax, eax
je 0x402753
test ebx, ebx
je 0x402753
push ebx
push eax
call edi
mov dword [0x409260], eax
push ebx
call esi
push dword [ebp - 0x10]
call esi
push 0xfffffffffffffffa
push str.UGvxxm_ztxx
call fcn.00404f5b
mov ebx, eax
push str.UGvxxWpvba2vC
mov dword [ebp - 0x14], ebx
call fcn.00404d3b
push str.FrXrvy___tSK_
mov dword [ebp - 0x10], eax
call fcn.00404d3b
add esp, 0x10
mov dword [ebp - 0xc], eax
push ebx
call dword [0x409204]
mov ebx, eax
test ebx, ebx
je 0x4027ac
push dword [ebp - 0x10]
push ebx
call edi
push dword [ebp - 0xc]
mov dword [0x409250], eax
push ebx
call edi
mov dword [0x409244], eax
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x14]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40349e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push edi
call fcn.004047e1
mov ebx, eax
push 0x102
push ebx
call dword [0x409270]
push str.EhStorAuthn
push ebx
call fcn.00404d99
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
pop ecx
test eax, eax
jne 0x4035fc
push esi
push 0xfffffffffffffffa
push str.UsJC_EWcKbyjrj92CK_tj_rdayyv_27vyrKj_ujxKbKvrUhr2vS
call fcn.00404f5b
mov esi, eax
push 0xfffffffffffffffa
push str.dj_rv_2uyjSL2QvGMlKjy_tSK_
mov dword [ebp - 0x10], esi
call fcn.00404f5b
add esp, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call dword [0x4092a0]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [0x40929c]
push dword [ebp - 4]
call dword [0x409268]
push 0x100
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x130], 0x11c
push esi
push eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
call fcn.00401021
add esp, 0xc
mov dword [ebp - 0x18], esi
xor eax, eax
mov word [ebp - 0x1a], ax
push 3
push 0x20
push 3
push 1
push 3
push 2
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x130]
mov dword [ebp - 0x12c], 6
xor ecx, ecx
mov dword [ebp - 0x128], 2
push eax
mov word [ebp - 0x1c], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
pop esi
test eax, eax
je 0x4035db
cmp dword [ebp - 8], 5
je 0x4035c1
cmp dword [ebp - 8], 0
jne 0x4035db
call fcn.0040483d
cmp eax, 0x2000
jb 0x4035db
call fcn.00404c0e
test eax, eax
je 0x4035db
call fcn.004031a1
push entry0
call fcn.00403603
pop ecx
test eax, eax
je 0x4035f2
push 0
call dword [0x409288]
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call edi
push ebx
call edi
pop edi
pop ebx
leave
ret
Function at 0x4046d1
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
test edx, edx
je 0x4047dc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4047dc
push edi
push esi
call fcn.00404566
mov edi, eax
pop ecx
lea ecx, [edi + 1]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4047d9
test edi, edi
je 0x40471a
mov byte [eax + edi], 0
test esi, esi
je 0x4047d9
push ebx
lea ebx, [eax + 2]
mov dword [ebp + 8], 2
mov eax, dword [ebp - 4]
xor edx, edx
push 3
pop ecx
lea edi, [eax + 2]
not eax
mov dword [ebp - 4], eax
lea eax, [esi - 1]
div ecx
mov edx, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
movzx ecx, byte [edi - 2]
lea eax, [edx + edi]
shl ecx, 8
cmp eax, esi
jae 0x40475f
movzx eax, byte [edi - 1]
or eax, ecx
jmp 0x404761
mov eax, ecx
shl eax, 8
cmp dword [ebp + 8], esi
jae 0x404770
movzx ecx, byte [edi]
or ecx, eax
jmp 0x404772
mov ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx - 2], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx - 1], al
lea eax, [edx + edi]
cmp eax, esi
jae 0x4047a8
mov eax, ecx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x4047aa
mov al, 0x3d
mov byte [ebx], al
cmp dword [ebp + 8], esi
jae 0x4047bc
and ecx, 0x3f
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x4047be
mov al, 0x3d
add dword [ebp + 8], 3
add edi, 3
mov byte [ebx + 1], al
add ebx, 4
sub dword [ebp - 8], 1
jne 0x404749
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
jmp 0x4047de
xor eax, eax
pop esi
leave
ret
Function at 0x401200
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x43a014]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
jne 0x401232
xor edi, edi
jmp 0x40124a
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [esp + 0x14]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4012e2
push 0x124
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x128
push 0
push eax
call fcn.0040c640
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4012db
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x43bdf8]
lea ecx, [esp + 0x3c]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4012c0
test dl, dl
je 0x4012bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4012c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4012a0
xor eax, eax
jmp 0x4012c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4012cf
cmp dword [esp + 0x20], edi
je 0x4012fb
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x401291
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0040abcc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
push esi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040abcc
mov esp, ebp
pop ebp
ret 4