joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c2a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x44c2c7
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x44c2ca
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0044c27c
pop esi
leave
ret 8

Function at 0x44fb84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x455da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x455dae
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x45be84
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b610
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4af100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov ebx, str.advapi32.dll
push 0x800
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x45bef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45bf7e
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45bf7e
push str.RegisterTraceGuidsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
mov dword [esp], str.UnregisterTraceGuids
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
mov dword [esp], str.TraceEvent
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
mov dword [esp], str.GetTraceLoggerHandle
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
mov dword [esp], str.GetTraceEnableLevel
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
mov dword [esp], str.GetTraceEnableFlags
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0044fef4
pop ecx
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4654ce
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46550d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46550d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46550d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46550d
cmp dword [ecx + 0x74], 0xe
jbe 0x46550d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x46ed95
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004645a0
mov eax, dword [0x4af100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0047a941
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46edd7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46ef33
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004647e0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4b5210]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0047ba6f
mov ecx, dword [esi*4 + 0x4b5210]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46ef2c
cmp eax, dword [edi + ecx + 0x24]
jne 0x46ef2c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46ef2c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047ba6f
add esp, 0x14
test edx, edx
jl 0x46ef2c
jg 0x46eea2
test eax, eax
jb 0x46ef2c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46ef2c
jl 0x46eebc
cmp dword [ebp - 0x1008], eax
ja 0x46ef2c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46eeda
test ebx, ebx
je 0x46ef13
cmp ecx, edi
jae 0x46ef13
mov al, byte [ecx]
cmp al, 0xd
jne 0x46eef4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46ef00
cmp byte [ecx + 1], 0xa
jne 0x46ef00
inc ecx
jmp 0x46ef00
movzx eax, al
movsx eax, byte [eax + 0x4af3b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46eeda
cmp edx, ebx
jne 0x46eeda
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46ef31
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046417e
leave
ret
Function at 0x47abac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4b5210]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47abec
cmp byte [ebx], 0xa
jne 0x47abec
or byte [eax + edi + 0x28], 4
jmp 0x47abf1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x47acef
mov al, byte [edx]
cmp al, 0x1a
je 0x47acd1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x47ac20
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x47ac45
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x47ac4f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x47ac02
jmp 0x47acef
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47accc
cmp dword [ebp - 0xc], 0
je 0x47accc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4b5210]
test byte [eax + edi + 0x28], 0x48
je 0x47aca6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47ac91
mov byte [esi], dl
jmp 0x47aca2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4b5210]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x47acef
cmp byte [ebp - 1], 0xa
jne 0x47acb5
cmp esi, ebx
jne 0x47acb5
mov byte [esi], 0xa
jmp 0x47acee
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0047ba8d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x47acef
mov byte [esi], 0xd
jmp 0x47acee
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4b5210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47aceb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47acef
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47acf8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4b5210]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47ad3b
cmp word [esi], dx
jne 0x47ad3b
or byte [edi + eax + 0x28], 4
jmp 0x47ad40
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x47ae79
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x47ae59
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x47ad82
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x47adb8
cmp eax, edx
jae 0x47adc4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x47ad5a
jmp 0x47ae79
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ae55
cmp dword [ebp - 0x14], 0
je 0x47ae55
mov eax, dword [ebx*4 + 0x4b5210]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x47ae2d
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x47ae73
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4b5210]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x4b5210]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4b5210]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x47ae76
pop ebx
cmp word [ebp - 4], bx
jne 0x47ae3e
cmp esi, dword [ebp + 0xc]
jne 0x47ae3e
mov word [esi], bx
jmp 0x47ae76
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0047ba8d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x47ae79
push 0xd
jmp 0x47ae72
mov ecx, dword [ebx*4 + 0x4b5210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x47ae70
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47ae79
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x47b870
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b50b

Function at 0x47b87b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b69a

Function at 0x47d68a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49bb54
push 0x49bb4c
push str.FlsAlloc
push 0x1e
call fcn.0047d514
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47d6be
push dword [ebp + 8]
mov ecx, esi
call dword [0x49237c]
call esi
jmp 0x47d6c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x47d708
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49bb64
push 0x49bb5c
push str.FlsGetValue
push 0x20
call fcn.0047d514
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47d73f
push dword [ebp + 8]
mov ecx, esi
call dword [0x49237c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4819e3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x481a80
push ebx
push esi
call fcn.004819ac
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0047fd29
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x481a2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x481a7f
push edi
push eax
call fcn.0047bcdd
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x481a4d
call fcn.0047a907
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x481a7e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0047fd29
add esp, 0x20
test eax, eax
jne 0x481a6c
push edi
call fcn.0047a907
jmp 0x481a74
push ebx
call fcn.0047a907
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4881d5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00488151
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x48834d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x48834d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4882fc
jg 0x48822e
test eax, eax
je 0x4882f2
push 1
push 0x1000
call fcn.0047d216
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x488254
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4882e9
push 0x8000
push ebx
call fcn.00477e71
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x488280
jg 0x48827b
cmp ecx, 0x1000
jb 0x488280
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047e500
add esp, 0x10
cmp eax, 0xffffffff
je 0x4882c5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x48827b
jl 0x4882ac
test ecx, ecx
jne 0x48826d
push dword [ebp - 0xc]
push ebx
call fcn.00477e71
push esi
call fcn.0047a907
add esp, 0xc
xor edi, edi
jmp 0x48835e
cmp byte [edi + 0x24], 0
je 0x4882dc
cmp dword [edi + 0x20], 5
jne 0x4882dc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4882e7
mov edi, dword [edi + 0x18]
jmp 0x4882e9
xor edi, edi
push esi
call fcn.0047a907
pop ecx
jmp 0x48835e
test ecx, ecx
jg 0x4882be
jl 0x4882fc
test eax, eax
jae 0x4882be
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047ba8d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48831f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4882be
jmp 0x488356
push ebx
call fcn.00481ff1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4882be
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x48835e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x48835b
mov edi, dword [edi + 0x18]
jmp 0x48835e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0047ba8d
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x489560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48958d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48958d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4252d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e31f
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425386
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425437
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425437
push eax
call fcn.0041e2ad
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e2ad
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e2ad
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e2ad
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425386
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e2ad
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4253de
cmp dword [0x44f200], ebx
je 0x4253de
push eax
call fcn.0041e328
push dword [0x44f200]
mov esi, eax
call fcn.0041e328
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4253de
test edi, edi
je 0x4253de
call esi
test eax, eax
je 0x4253d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4253d5
test byte [ebp - 0xc], 1
jne 0x4253de
or dword [ebp + 0x10], 0x200000
jmp 0x425417
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x425417
push eax
call fcn.0041e328
pop ecx
test eax, eax
je 0x425417
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425417
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x425417
push eax
call fcn.0041e328
pop ecx
test eax, eax
je 0x425417
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e328
pop ecx
test eax, eax
je 0x425437
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425439
xor eax, eax
pop edi
pop esi
pop ebx
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 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 0x40da40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48362b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004780e4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40dac2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00475f2a
mov eax, dword [eax]
push 0x96ccc8
push eax
call fcn.00468104
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047836f
test bl, bl
je 0x40dac2
push 0x96ccc8
lea ecx, [esp + 0xc]
call fcn.004786ff
push 0x96ccd4
lea ecx, [esp + 0xc]
call fcn.004786ff
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40dafe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047836f
jmp 0x40dbc9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40db82
lea edx, [esp + 0x7c]
push 0x96ccd0
push edx
call fcn.00468104
add esp, 8
test eax, eax
je 0x40db82
lea eax, [esp + 0x7c]
push 0x96cccc
push eax
call fcn.00468104
add esp, 8
test eax, eax
je 0x40db82
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40db12
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047836f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40e3c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e422
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40e430
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4836ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x976894]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40e568
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e496
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047836f
xor eax, eax
jmp 0x40e5df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004784ac
push esi
lea ecx, [esp + 0xc]
call fcn.0047873b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e5bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e3c0
test eax, eax
jne 0x40e5bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040e3c0
test eax, eax
jne 0x40e5bd
lea eax, [esp + 0x14]
push 0x96cce4
push eax
call fcn.00469180
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e59c
lea ecx, [esp + 0x14]
push 0x96cce0
push ecx
call fcn.00469100
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e59c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e59f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047845c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e4ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047836f
xor eax, eax
jmp 0x40e5df
mov byte [esi], 0
push 0x96ccdc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047836f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4