joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x405401
mov eax, method.CGdiObject.virtual_8
test eax, eax
je 0x405401
lea ecx, [ebp + 8]
push ecx
mov eax, ebx
call fcn.00405180
add esp, 4
test eax, eax
je 0x405401
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0x1000
lea edx, [edi + 0xe]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esi], edi
push edi
add esi, 4
lea eax, [esi + 5]
push ebx
push eax
mov dword [ebp + 8], eax
call fcn.0054d0a0
mov edx, dword [ebp + 8]
mov eax, method.CGdiObject.virtual_8
sub eax, esi
mov ecx, ebx
sub ecx, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
sub ecx, 0xa
mov byte [esi + edi + 5], 0xe9
mov dword [esi + edi + 6], ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [0x64d8c4], edx
call fcn.00404ff0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x405540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405556
test al, 0x10
je 0x405556
mov eax, 1
ret
xor eax, eax
ret

Function at 0x405560
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x405573
xor eax, eax
mov word [ebx], ax
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40558b
test al, 0x10
jne 0x40563e
mov eax, esi
push edi
xor edi, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405593
sub eax, edx
sar eax, 1
je 0x405617
movzx eax, word [esi + edi*2]
cmp eax, 0x5c
je 0x4055b2
cmp eax, 0x2f
jne 0x4055fe
xor ecx, ecx
push esi
mov ebx, eax
mov word [esi + edi*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4055ca
test al, 0x10
jne 0x4055f7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4055f7
mov eax, dword [ebp + 8]
test eax, eax
je 0x4055f7
cmp byte [ebp - 1], 0
jne 0x4055f7
push esi
push 0x104
push eax
call fcn.00545549
add esp, 0xc
mov byte [ebp - 1], 1
mov word [esi + edi*2], bx
mov ebx, dword [ebp + 8]
mov eax, esi
inc edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405604
sub eax, edx
sar eax, 1
cmp edi, eax
jb 0x4055a4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
test eax, eax
je 0x40563e
test ebx, ebx
je 0x40563e
cmp byte [ebp - 1], 0
jne 0x40563e
push esi
push 0x104
push ebx
call fcn.00545549
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x405b10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8dd6
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov eax, ecx
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0x2a7325
mov bl, 0x5c
mov dword [ebp - 0x1c], 0x2a5c7325
mov byte [ebp - 0x18], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405b70
sub eax, esi
push ecx
cmp byte [eax + ecx - 1], bl
jne 0x405b95
lea ecx, [ebp - 0x268]
push ecx
push 0x103
lea edx, [ebp - 0x124]
push edx
jmp 0x405ba5
lea eax, [ebp - 0x1c]
push eax
push 0x103
lea ecx, [ebp - 0x124]
push ecx
call fcn.00545fed
xor esi, esi
add esp, 0x10
cmp eax, esi
jl 0x405bba
cmp eax, 0x103
jne 0x405bbe
mov byte [ebp - 0x21], 0
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x405ce5
mov bl, 1
test byte [ebp - 0x264], 0x10
jne 0x405cbc
test bl, bl
je 0x405c1d
lea eax, [ebp - 0x238]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405c00
lea ecx, [ebp - 0x238]
push ecx
sub eax, edx
push edi
call fcn.00406180
xor bl, bl
jmp 0x405ca2
lea edx, [ebp - 0x274]
push edx
call fcn.00405e50
lea ecx, [ebp - 0x238]
push ecx
push eax
lea edx, [ebp - 0x27c]
push edx
mov dword [ebp - 4], esi
call fcn.00405f00
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
push ecx
push edi
call fcn.00406180
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ca2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x278]
inc eax
mov dword [ebp - 0x270], eax
mov dword [ecx], eax
cmp eax, 0xa
jge 0x405cd8
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405be3
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
Function at 0x4065c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4065db
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406612
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40660e
jmp 0x406600
cmp esi, eax
jae 0x406612
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406600
cmp esi, eax
jb 0x406619
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x40703e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call fcn.0054d0a0
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407060
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x407138
cmp dword [ebp + 0xc], 0
je 0x407138
lea ecx, [ebp - 4]
push ecx
call fcn.00405180
add esp, 4
test eax, eax
je 0x407138
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push edi
mov edi, dword [ebp - 4]
push 0x40
push 0x1000
lea edx, [edi + 0xe]
push edx
push 0
call ebx
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [esi], edi
push edi
add esi, 4
lea eax, [esi + 5]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0054d0a0
add esp, 0xc
push 0x40
push 0x1000
push edi
push 0
call ebx
push edi
mov ebx, eax
push 0x90
push ebx
call fcn.0054b8b0
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, dword [ebp + 8]
mov byte [esi], 0xe9
mov byte [esi + edi + 5], 0xe9
mov edx, eax
sub edx, esi
sub edx, 0xa
mov dword [esi + edi + 6], edx
sub esi, eax
sub esi, 5
mov dword [ebx + 1], esi
mov esi, edi
push ebx
mov edi, eax
mov byte [ebx], 0xe9
call fcn.00407020
add esp, 0x10
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [0x64d8b0], eax
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407140
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x64d938]
push esi
push edi
call fcn.0043efa0
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ecx
jle 0x40719f
push ebx
lea esp, [esp]
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0xff
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
mov edx, dword [ebp + 8]
and ebx, 0xff
movzx ebx, byte [ebx + eax]
xor byte [edi + edx], bl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x407160
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x407350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x64d940]
push ebx
mov ebx, dword [ebp + 8]
push edi
call fcn.0043efa0
mov edi, eax
movzx eax, byte [esi + 4]
mov byte [edi], al
movzx ecx, byte [esi + 5]
mov byte [edi + 1], cl
mov dl, byte [esi + 6]
mov ecx, dword [0x64d93c]
mov byte [edi + 2], dl
movzx eax, byte [esi + 7]
mov byte [edi + 3], al
call fcn.0043efa0
movzx ecx, byte [eax]
xor byte [esi], cl
mov ecx, 1
cmp ebx, ecx
jle 0x4073ad
mov edx, ecx
and edx, 7
mov dl, byte [edx + eax]
xor dl, byte [ecx + esi - 1]
inc ecx
xor byte [ecx + esi - 1], dl
cmp ecx, ebx
jl 0x407398
movzx ecx, byte [eax + 2]
xor byte [esi + 3], cl
movzx edx, byte [eax + 3]
xor dl, byte [esi + 3]
xor byte [esi + 2], dl
movzx edx, byte [eax + 4]
xor dl, byte [esi + 2]
xor byte [esi + 1], dl
movzx edx, byte [eax + 5]
xor dl, byte [esi + 1]
xor byte [esi], dl
movzx ecx, byte [edi]
xor byte [eax], cl
movzx edx, byte [edi + 1]
xor byte [eax + 1], dl
movzx ecx, byte [edi + 2]
xor byte [eax + 2], cl
movzx edx, byte [edi + 3]
xor byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [eax + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
add ecx, 0x45c8740f
mov edx, ecx
sar edx, 8
mov byte [eax + 5], dl
mov edx, ecx
sar edx, 0x10
mov byte [eax + 4], cl
sar ecx, 0x18
pop edi
mov byte [eax + 6], dl
mov byte [eax + 7], cl
pop ebx
pop ebp
ret
Function at 0x408e20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [0x64d914]
test edi, edi
je 0x408f30
cmp dword [edi], 0xffffffff
je 0x408f30
cmp byte [edi + 0x1400c], 0
je 0x408f30
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx - 2]
push eax
add esi, 2
call fcn.00407350
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x408f2f
jmp 0x408e76
mov edi, dword [0x64d914]
mov edx, dword [ebp + 8]
push 0
mov ecx, ebx
sub ecx, esi
push ecx
mov ecx, dword [edi]
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x408e95
add esi, eax
jmp 0x408eb2
cmp eax, 0xffffffff
jne 0x408eb2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x408ebb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jl 0x408e70
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10
call fcn.00445142
mov esi, eax
add esp, 4
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], edi
call fcn.00409000
mov ecx, dword [0x64d934]
test ecx, ecx
je 0x408f16
mov byte [esi + 0xc], 1
call fcn.0043efa0
mov ecx, dword [eax + 4]
xor ecx, dword [eax]
mov eax, dword [0x64d920]
rol ecx, 3
mov edx, ecx
xor edx, esi
push edx
xor ecx, 0x11
push ecx
push 0x720
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
push 2
mov byte [esi + 0xc], 0
mov ecx, dword [0x64d920]
push 0x4cb
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409220
Capabilities:
Connect socket
Contain obfuscated stackstrings
Create thread
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x14]
mov eax, 2
push ecx
mov word [ebp - 0x24], ax
mov dword [ebp - 0x14], 0x2e333232
mov dword [ebp - 0x10], 0x2e363531
mov dword [ebp - 0xc], 0x2e393831
mov word [ebp - 8], 0x3039
mov byte [ebp - 6], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x77d6
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
mov eax, dword [0x64d914]
lea edx, [ebp - 0x134]
push edx
mov dword [ebp - 0x134], 1
mov ecx, dword [eax]
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x4092b9
call fcn.00409000
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
mov eax, dword [0x64d914]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x24]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [0x64d914]
lea ecx, [ebp - 0x13c]
push ecx
mov dword [ebp - 0x130], 0
mov eax, dword [edx]
push 0
lea edx, [ebp - 0x130]
push edx
push 0
push 0x40
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x138], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x40933a
call fcn.00409000
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
mov eax, dword [0x64d914]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x408470
push 0
push 0
mov byte [eax + 0x1400c], 1
call esi
push 0
push 0
push 0
push 0x408f40
push 0
push 0
mov dword [0x64d918], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [0x64d91c], eax
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00544a28
mov esp, ebp
pop ebp
ret
Function at 0x4184e0
Capabilities:
Create thread
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x336]
push ecx
mov word [ebp - 0x338], ax
call fcn.0054b8b0
push 0x103
lea edx, [ebp - 0x12f]
push 0
push edx
mov byte [ebp - 0x130], 0
call fcn.0054b8b0
add esp, 0x18
push 0x104
lea eax, [ebp - 0x338]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x338]
push ecx
push 0
push 0
call esi
push 0
push 0
push eax
lea edx, [ebp - 0x130]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x338]
push eax
push 0
push 0
call esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetACP]
xor edi, edi
cmp eax, 0xfde9
jne 0x4185dc
xor eax, eax
lea esi, [edi + 1]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov byte [ebp - 0x13], al
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4185de
lea edx, [ebp - 0x1c]
push edx
call fcn.005450f2
add esp, 4
mov edi, eax
lea eax, [ebp - 0x130]
push 0x61c070
push eax
call fcn.00545340
add esp, 8
test eax, eax
je 0x4186eb
call fcn.0045590c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418614
push 0x80004005
call fcn.00406d40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x33c], eax
push edi
push esi
lea ecx, [ebp - 0x338]
push ecx
push 0x61c098
lea edi, [ebp - 0x33c]
mov dword [ebp - 4], 0
call fcn.00406950
push 0x600
mov dword [ebp - 0x2c], 0x610057
mov dword [ebp - 0x28], 0x6e0072
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x67
call fcn.00445142
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4186b0
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, esi
call fcn.004049f0
lea edx, [ebp - 0x2c]
push edx
lea edx, [esi + 0x400]
call fcn.00404a10
add esp, 8
push 0
push 0
push esi
push 0x401040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x33c]
call fcn.00406970
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4186e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4186ed
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
Function at 0x4187e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8c58
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x63fbf0]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
push edi
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, edi
jne 0x418845
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
push 0x619914
xor esi, esi
mov eax, ebx
mov byte [ebx], 0
call fcn.004375a0
jmp 0x4188be
push esi
call fcn.0044517c
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x30]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418873
sub eax, edx
mov esi, eax
push edi
lea eax, [ebp - 0x2c]
call fcn.004375a0
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.00445171
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 0xf
add esp, 4
lea edi, [ebp - 0x2c]
mov esi, ebx
mov byte [ebx], 0
call fcn.00436fe0
cmp dword [ebp - 0x18], 0x10
jb 0x4188be
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00445171
add esp, 4
mov eax, ebx
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.00544a28
mov esp, ebp
pop ebp
ret
Function at 0x4188e0
Capabilities:
Contain obfuscated stackstrings
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x20], 0x4f435f5f
mov dword [ebp - 0x1c], 0x5441504d
mov dword [ebp - 0x18], 0x59414c5f
mov word [ebp - 0x14], 0x5245
mov byte [ebp - 0x12], 0
call fcn.004187e0
add esp, 8
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418946
sub eax, edx
push eax
push esi
lea edx, [ebp - 0x3c]
push edx
xor eax, eax
call fcn.004370f0
cmp eax, 0xffffffff
jne 0x4189d2
cmp dword [ebp - 0x2c], 0
je 0x418976
push 1
push 0x61c14c
lea eax, [ebp - 0x3c]
call fcn.004374d0
mov eax, esi
lea edx, [eax + 1]
jmp 0x418980
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418980
sub eax, edx
push eax
push esi
lea eax, [ebp - 0x3c]
call fcn.004374d0
mov eax, dword [ebp - 0x3c]
mov esi, 0x10
cmp dword [ebp - 0x28], esi
jae 0x4189a3
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x4189bd
cmp dword [ebp - 0x28], esi
jb 0x4189e4
mov ecx, dword [ebp - 0x3c]
push ecx
jmp 0x4189dc
cmp dword [ebp - 0x28], esi
jb 0x4189ce
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00445171
add esp, 4
xor al, al
jmp 0x4189e6
cmp dword [ebp - 0x28], 0x10
jb 0x4189e4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00445171
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret

Function at 0x418a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x69423631
mov dword [ebp - 0xc], 0x6c6f4374
mov word [ebp - 8], 0x726f
mov byte [ebp - 6], 0
call fcn.004188e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00544a28
mov esp, ebp
pop ebp
ret
Function at 0x426000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x63fbf0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov edi, edx
push eax
push esi
mov dword [esp + 0x20], edi
mov dword [edi], 0
call fcn.00425f90
mov ebx, eax
test ebx, ebx
jne 0x426047
mov dword [edi], 6
jmp 0x4261a0
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x98]
push 0
push ecx
push edx
call fcn.0054764f
mov eax, dword [esi + 0x98]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x64d98c]
push eax
push 1
push ecx
push edx
call fcn.00547b0e
mov ecx, dword [0x64db98]
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x64d98c]
mov dword [esp + 0x34], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.005bcaa0
add esp, 0x30
test eax, eax
jne 0x42619a
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx + 0x24]
jne 0x42619a
mov eax, dword [0x64db98]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.0054b8b0
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x34]
lea edi, [esp + 0x5c]
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x180001
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [esp + 0x14]
mov esi, eax
test edi, edi
jne 0x42615a
mov ecx, dword [esp + 0x18]
mov dword [ecx], 8
jmp 0x4261a0
mov ecx, dword [ebx + 0x24]
mov edx, dword [0x64db98]
sub ecx, 4
add edx, 4
call fcn.0043afb0
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0045c792
push esi
mov ecx, edi
call fcn.0045c764
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00544a28
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00544a28
mov esp, ebp
pop ebp
ret 8
Function at 0x428020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x63fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], 0x72657375
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
mov dword [ebp - 0x30], 0x54746553
mov dword [ebp - 0x2c], 0x61657268
mov dword [ebp - 0x28], 0x69704464
mov dword [ebp - 0x24], 0x72617741
mov dword [ebp - 0x20], 0x73656e65
mov dword [ebp - 0x1c], 0x6e6f4373
mov dword [ebp - 0x18], 0x74786574
mov byte [ebp - 0x14], 0
call fcn.00560f90
test eax, eax
je 0x42809f
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544a28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00544a28
mov esp, ebp
pop ebp
ret