joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad08ca3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x4ad33b78]
push esi
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
xor esi, esi
push eax
mov dword [0x4ad2ba04], esi
call fcn.4ad08d61
test al, al
je 0x4ad08d44
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x210]
push 0x4ad0136c
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
push 0x106
lea eax, [ebp - 0x628]
push eax
push esi
lea eax, [ebp - 0x62c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4ad0d684
lea eax, [ebp - 0x628]
push 0x4ad08d54
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4ad182d8
xor al, al
mov ecx, dword [ebp - 4]
pop esi
call fcn.4ad01305
leave
ret 4
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x4ad0b380
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x4ad33b78]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x15c], edi
jne 0x4ad12c0e
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp dword [ebp + 0xc], 1
je 0x4ad12c20
cmp byte [0x4ad2fa64], 0
push esi
je 0x4ad12cb2
and dword [ebp - 0x148], 0
push 0x80
lea eax, [ebp - 0x144]
push eax
push 0x1003
call fcn.4ad056e5
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad12c7a
cmp word [ebp - 0x144], 0
push ebx
push 2
lea esi, [ebp - 0x144]
pop ebx
je 0x4ad0b483
mov di, word [esi]
cmp di, 0x27
je 0x4ad12c93
cmp dword [ebp - 0x148], 0
jne 0x4ad0b4ff
cmp di, 0x68
je 0x4ad0b4cc
cmp di, 0x48
je 0x4ad0b4cc
cmp di, 0x6d
je 0x4ad0b4cc
add esi, ebx
cmp word [esi], 0
jne 0x4ad0b449
mov edi, dword [ebp - 0x15c]
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x158]
push eax
push ebx
call fcn.4ad056e5
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
pop ebx
je 0x4ad12ca9
test edi, edi
lea eax, [ebp - 0x44]
jne 0x4ad12d0e
push eax
call fcn.4ad05e38
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.4ad01305
leave
ret 0x10
xor eax, eax
add esi, ebx
inc eax
cmp word [esi], di
je 0x4ad0b4ce
mov ecx, eax
neg ecx
cmp eax, 1
lea esi, [esi + ecx*2]
jne 0x4ad0b4ff
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0x10
mov word [esi], di
add esi, ebx
jmp 0x4ad0b475
Function at 0x4ad0b5cc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4ad33b78]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x148], 1
jne 0x4ad12a3c
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp byte [0x4ad2fa64], 0
je 0x4ad12ad8
push 0x80
lea eax, [ebp - 0x144]
push eax
push 0x1f
mov dword [ebp - 0x14c], ebx
call fcn.4ad056e5
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ad12a5f
cmp word [ebp - 0x144], bx
lea esi, [ebp - 0x144]
je 0x4ad0b6c9
mov ebx, dword [sym.imp.msvcrt.dll_memmove]
mov dx, word [esi]
cmp dx, 0x27
je 0x4ad12a79
cmp dword [ebp - 0x14c], 0
jne 0x4ad0b6bf
cmp dx, 0x64
je 0x4ad0b7d1
cmp dx, 0x4d
je 0x4ad0b7d1
inc esi
inc esi
cmp word [esi], 0
jne 0x4ad0b695
xor ebx, ebx
push dword [0x4ad3cc54]
lea eax, [ebp - 0x144]
push dword [0x4ad3cc50]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
call fcn.4ad056e5
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push eax
call edi
test eax, eax
je 0x4ad0b6fe
cmp dword [0x4ad3cc50], ebx
jne 0x4ad0b768
push ebx
push ebx
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
call fcn.4ad056e5
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4ad12ac6
inc esi
lea eax, [esi + esi]
push eax
push dword [0x4ad3cc50]
call dword [sym.imp.msvcrt.dll_realloc]
cmp eax, ebx
pop ecx
pop ecx
je 0x4ad12ad5
push esi
push eax
mov dword [0x4ad3cc50], eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
mov dword [0x4ad3cc54], esi
call fcn.4ad056e5
push eax
call edi
test eax, eax
je 0x4ad12ac6
movzx eax, word [ebp - 0x158]
push eax
call fcn.4ad0b50b
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov edi, dword [ebp - 0x160]
cmp edi, ebx
pop ecx
pop ecx
jne 0x4ad12b9f
cmp dword [ebp - 0x148], ebx
je 0x4ad12b80
call fcn.4ad071bc
test al, al
lea eax, [ebp - 0x44]
jne 0x4ad12b93
push dword [0x4ad3cc50]
push eax
push str._s__s
call fcn.4ad05e00
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 0x10
xor ecx, ecx
inc ecx
inc esi
inc esi
cmp word [esi], dx
je 0x4ad0b7d3
lea eax, [ecx + ecx]
sub esi, eax
cmp ecx, 1
jne 0x4ad12a8f
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call ebx
add esp, 0x10
add esi, 4
jmp 0x4ad0b6c1
Function at 0x4ad0cd64
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4ad33b78]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
call fcn.4ad01349
lea ecx, [ebp - 0x668]
push ecx
lea ecx, [ebp - 0x414]
push ecx
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov esi, eax
test esi, esi
je 0x4ad0ce0b
push 4
lea eax, [ebp - 0x414]
push 0x4ad0ce1c
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x4ad175ce
mov eax, dword [ebp - 0x668]
test eax, eax
je 0x4ad1762c
cmp word [eax], 0
je 0x4ad1762c
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x664]
push eax
push 0x37
lea eax, [ebp - 0x414]
push eax
call fcn.4ad02a34
push dword [ebp - 0x66c]
movzx esi, al
call fcn.4ad01c24
test esi, esi
je 0x4ad0cf5c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.4ad01305
leave
ret 4
cmp word [ebp - 0x412], 0x5c
je 0x4ad0cf8f
cmp word [ebp - 0x412], 0x3a
jne 0x4ad0ce0b
cmp word [ebp - 0x410], 0x5c
jne 0x4ad0ce0b
cmp word [ebp - 0x40e], si
jne 0x4ad0ce0b
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4ad0ce0b
jmp 0x4ad17624

Function at 0x4ad0e551
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
push edi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
mov dword [0x4ad33b18], edi
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x4ad15f4a
mov edx, dword [esi]
cmp edx, edi
je 0x4ad15efd
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x18]
test ah, 0xc0
jne 0x4ad0e5bf
cmp edx, 2
jb 0x4ad0e5b7
mov edx, dword [ebp + 0xc]
cmp word [edx], 0xfeff
je 0x4ad15f1d
or eax, 0x8000
mov dword [ecx + 0x18], eax
mov ecx, dword [ecx + 0x18]
mov eax, 0x8002
xor ebx, ebx
and ecx, eax
inc ebx
cmp ecx, eax
je 0x4ad15f27
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x4ad104fa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x4ad33b78]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x478], ebx
mov word [ebp - 0x474], bx
mov word [ebp - 0x472], bx
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x470]
stosd dword es:[edi], eax
mov word [ebp - 0x46c], bx
mov word [ebp - 0x46a], bx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x468]
stosd dword es:[edi], eax
mov word [ebp - 0x464], bx
mov word [ebp - 0x462], bx
lea edi, [ebp - 0x460]
stosd dword es:[edi], eax
mov word [ebp - 0x45c], bx
mov word [ebp - 0x45a], bx
lea edi, [ebp - 0x458]
stosd dword es:[edi], eax
mov word [ebp - 0x454], bx
mov word [ebp - 0x452], bx
lea edi, [ebp - 0x450]
stosd dword es:[edi], eax
mov word [ebp - 0x44c], bx
mov word [ebp - 0x44a], bx
lea edi, [ebp - 0x448]
stosd dword es:[edi], eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 0x438], bl
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x42c], ebx
lea edi, [ebp - 0x428]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [0x4ad2b9f0]
push 0x106
lea eax, [ebp - 0x41c]
push eax
push 0x4ad10694
mov dword [ebp - 0x480], 6
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x484], 0x8000
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x430], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4ad182f7
lea eax, [ebp - 0x484]
push eax
push esi
call fcn.4ad0f69e
cmp eax, 1
je 0x4ad10684
test byte [ebp - 0x484], 0x40
je 0x4ad10632
and dword [ebp - 0x484], 0xfffb79fb
test byte [ebp - 0x483], 4
jne 0x4ad18325
push ebx
lea eax, [ebp - 0x210]
push eax
call fcn.4ad01550
cmp dword [ebp - 0x444], ebx
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
je 0x4ad18333
lea eax, [ebp - 0x484]
push eax
call fcn.4ad106a7
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
push str.C:Documents_and_SettingsPat
call esi
pop ecx
pop ecx
push edi
call fcn.4ad014f8
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 4
Function at 0x40efce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x40fda2
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040db80
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x40f01c
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40f065
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x40f00f
call fcn.0040dc0f
push ss
loope 0x40f0a9
adc al, byte [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040dc0f
mov eax, 0x8d04eaf6
test esp, edx
clc
invalid
clc
invalid
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f79d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x78a5b], al
inc dword [eax]
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
Function at 0x40ab70
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e6a5
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x493120]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x518], esi
mov dword [ebp - 0x524], 0
mov edi, 1
mov dword [ebp - 4], edi
call fcn.0042c696
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40abd3
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [ebp + 0xc]
push 0
push 0
lea ecx, [ebp - 0x520]
push ecx
push edx
push 0
mov dword [ebp - 0x524], edi
call sub.urlmon.dll_URLOpenBlockingStreamW
mov ebx, 0x500
mov eax, dword [ebp - 0x520]
mov ecx, dword [eax]
lea edx, [ebp - 0x528]
push edx
push ebx
lea edx, [ebp - 0x510]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x51c], eax
call fcn.0042c696
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40abc9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x514], eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
mov byte [ebp - 4], 2
jge 0x40ac6e
push ebx
lea ecx, [ebp - 0x514]
call fcn.004096d0
mov eax, dword [ebp - 0x514]
cmp dword [eax - 8], ebx
jl 0x40ad58
mov dword [eax - 0xc], ebx
mov byte [eax + 0x500], 0
mov ecx, 0x140
lea esi, [ebp - 0x510]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [eax - 8], ebx
jl 0x40ad58
mov dword [eax - 0xc], ebx
push 0x20
lea ecx, [ebp - 0x514]
mov byte [eax + 0x500], 0
call fcn.0040a3c0
push 8
lea ecx, [ebp - 0x514]
call fcn.0040a3c0
push 0xa
lea ecx, [ebp - 0x514]
call fcn.0040a3c0
mov esi, dword [ebp - 0x514]
mov eax, dword [esi - 0xc]
mov edi, dword [ebp - 0x518]
push eax
push esi
mov ecx, edi
call fcn.0040a4f0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x51c]
test eax, eax
jl 0x40ad15
cmp eax, 1
jne 0x40ac02
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0044fc9c
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401090
int3
Function at 0x40d230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ee28
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x493120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044fc9c
mov esp, ebp
pop ebp
ret 4
Function at 0x41c050
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470ec9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x493120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], esi
mov dword [ebp - 0x18], eax
mov byte [eax + 4], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0x10], esi
je 0x41c206
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
dec dword [ebp + 0x10]
mov byte [ebp + esi - 0x14], cl
mov bl, byte [ebp - 0x13]
inc esi
inc eax
mov dword [ebp + 0xc], eax
cmp esi, 3
jne 0x41c135
mov al, byte [ebp - 0x14]
mov dl, al
shr dl, 2
and al, 3
shl al, 4
mov byte [ebp - 0x10], dl
mov cl, bl
shr cl, 4
add al, cl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x12]
mov dl, bl
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], al
xor esi, esi
movzx edi, byte [ebp + esi - 0x10]
cmp edi, dword [0x4917c0]
jbe 0x41c106
call fcn.0044fe08
cmp dword [0x4917c4], 0x10
mov eax, dword [0x4917b0]
jae 0x41c119
mov eax, 0x4917b0
mov dl, byte [eax + edi]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], dl
mov eax, dword [ebp - 0x1c]
push eax
push 1
call fcn.004034c0
inc esi
cmp esi, 4
jl 0x41c0f4
xor esi, esi
cmp dword [ebp + 0x10], 0
jne 0x41c0a4
test esi, esi
je 0x41c203
cmp esi, 3
jge 0x41c166
mov ecx, 3
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x14]
push 0
push eax
call fcn.0044f7f0
mov bl, byte [ebp - 0x13]
add esp, 0xc
mov al, byte [ebp - 0x14]
mov dl, al
mov cl, bl
and al, 3
shl al, 4
shr cl, 4
add al, cl
shr dl, 2
and bl, 0xf
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x12]
add bl, bl
mov byte [ebp - 0x10], dl
mov dl, al
add bl, bl
shr dl, 6
add bl, dl
mov byte [ebp - 0xe], bl
and al, 0x3f
lea edi, [esi + 1]
xor ebx, ebx
mov byte [ebp - 0xd], al
test edi, edi
jle 0x41c1e6
movzx eax, byte [ebp + ebx - 0x10]
cmp eax, dword [0x4917c0]
jbe 0x41c1b4
call fcn.0044fe08
cmp dword [0x4917c4], 0x10
mov ecx, dword [0x4917b0]
jae 0x41c1c8
mov ecx, 0x4917b0
movzx eax, byte [ebp + ebx - 0x10]
mov al, byte [ecx + eax]
mov byte [ebp - 0x1c], al
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
push 1
call fcn.004034c0
inc ebx
cmp ebx, edi
jl 0x41c1a2
cmp esi, 3
jge 0x41c203
mov edi, 3
sub edi, esi
mov ecx, dword [ebp - 0x18]
push 0x3d
push 1
call fcn.004034c0
sub edi, 1
jne 0x41c1f2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ee10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4713c7
mov eax, dword fs:[0]
push eax
sub esp, 0x6c8
mov eax, dword [0x493120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
xor ebx, ebx
push eax
mov dword [ebp - 0x628], ebx
push 0x104
mov dword [ebp - 0x640], esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp byte [ebp + 0xc], bl
je 0x41ee7f
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.004047a0
jmp 0x41efa0
lea edx, [ebp - 0x624]
push edx
push ebx
push 0x476bbc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x624]
push ecx
mov ecx, esi
call fcn.004047a0
jmp 0x41efa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044fc9c
mov esp, ebp
pop ebp
ret
Function at 0x424ea0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471ff0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x493120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x8c], 0
mov dword [ebp - 4], 0
je 0x424f0f
call fcn.00424b00
test eax, eax
je 0x424f23
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push 0x424db0
push 0
push 0
call fcn.00452e04
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x424f0f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x424f0f
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [ebp - 0x18]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
jne 0x424f0f
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472110
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x493120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
call fcn.00443d55
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x425dcd
call fcn.00443d55
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x425dcd
call fcn.00443d55
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x425dc6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x425dbf
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x425dbf
push edi
push eax
push ecx
call fcn.00450090
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x14]
push edi
push esi
call fcn.00425950
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8