joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a3fb
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0x170
mov eax, dword [0x472d88]
push ebx
push esi
push edi
mov dword [ebp + 0xec], eax
call dword [0x4713c0]
xor ebx, ebx
cmp dword [ebp + 0xf8], ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x100]
mov dword [ebp - 0x78], ebx
mov byte [eax], bl
je 0x43a547
mov edi, dword [ebp + 0xfc]
push 0x800
push 0x160
lea eax, [ebp - 0x74]
push eax
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x43a547
test byte [ebp - 0x6a], 1
je 0x43a547
lea eax, [ebp - 0x78]
push eax
push 0x462788
push ebx
push 0x462798
lea ecx, [ebp - 0x80]
call fcn.0043a39f
test eax, eax
jl 0x43a547
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x43a547
lea edx, [ebp - 0x7c]
push edx
push 0x4627d8
mov dword [ebp - 0x7c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x43a53a
cmp dword [ebp - 0x7c], ebx
je 0x43a53a
cmp edi, ebx
jne 0x43a4bb
xor eax, eax
jmp 0x43a4e0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.004182d0
mov eax, esp
push dword [ebp - 0x80]
push esi
push edi
push eax
call fcn.0040c030
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x43a52d
mov eax, dword [ebp + 0xf8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push 2
push eax
push ecx
call dword [edx + 0x4c]
test eax, eax
jl 0x43a52d
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push ebx
push ebx
push dword [ebp + 0x104]
push dword [ebp + 0x100]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc ebx
jmp 0x43a53a
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x43a53a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x43a549
xor eax, eax
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0xec]
call fcn.00416c7b
pop edi
pop esi
pop ebx
add ebp, 0xf0
leave
ret 0x10
Function at 0x44f0ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x472d88]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44f15c
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x44f25e
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x44f20c
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f25f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44f201
cmp dword [ebp - 0x24], 1
jne 0x44f201
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x45ee8c
push eax
call fcn.00419016
add esp, 0xc
cmp eax, 1
jne 0x44f201
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f25f
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x44f25f
lea ecx, [ebp - 0x18]
push ecx
push 0x44f0a4
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x44f25f
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x44f285
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0044f025
cmp eax, ebx
pop ecx
pop ecx
jne 0x44f287
inc edi
cmp edi, esi
jl 0x44f26e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00416c7b
leave
ret 4
Function at 0x44f296
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x4722e0
je 0x44f352
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f33a
mov esi, dword [ebx + 4]
jmp 0x44f334
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44f324
cmp dword [ebp - 0xc], 4
jne 0x44f324
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x44f31c
or dword [eax + 0x9c], ecx
jmp 0x44f324
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x44f2e8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x44f2cb
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x44fb05
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4548a1
call fcn.00418840
sub esp, 0x11c
mov eax, dword [0x472d88]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x44fbfe
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x44fbd2
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401ab0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0044fb05
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004011f0
test bl, bl
jne 0x44fbd2
or dword [ebp - 4], 0xffffffff
jmp 0x44fb43
cmp esi, 0x103
je 0x44fbe2
cmp esi, 0x3f2
jne 0x44fbf2
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00416c7b
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405d4b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce34], 0
push esi
jne 0x405d82
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d5c
mov dword [ecx*4 + 0x42ce30], eax
inc ecx
cmp ecx, 0x100
jl 0x405d57
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405db3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce30]
xor eax, esi
inc ecx
dec edx
jne 0x405d95
pop edi
not eax
pop esi
ret 0xc

Function at 0x4022c0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push 8
xor eax, eax
shl ecx, 1
pop esi
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x4022e0
shr eax, 1
xor eax, 0xedb88320
jmp 0x4022e2
shr eax, 1
dec esi
jne 0x4022cc
pop esi
ret 4

Function at 0x402309
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x4082a0]
mov edx, ecx
dec ecx
test edx, edx
je 0x40233c
push edi
lea edx, [ecx + 1]
mov ecx, dword [esp + 8]
push esi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x407ea0]
xor eax, esi
inc ecx
dec edx
jne 0x402322
pop esi
pop edi
mov dword [0x4082a0], eax
ret

Function at 0x404779
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x40840e]
test eax, eax
jg 0x40478c
and dword [0x4083d4], 0
xor eax, eax
ret
push edi
push esi
mov esi, 0x800
cmp eax, esi
ja 0x404799
mov esi, eax
mov edi, dword [0x4060ac]
push esi
push dword [0x4083d0]
push dword [0x407e04]
call edi
cmp dword [0x407e14], 0
mov ecx, eax
mov dword [0x4083d4], ecx
je 0x404808
cmp ecx, 0xffffffff
je 0x404808
cmp ecx, esi
je 0x404819
test ecx, ecx
jl 0x404808
mov ax, word [0x4078d0]
push dword [0x407e18]
inc ax
push eax
call fcn.00401f2a
mov ecx, dword [0x4083d4]
test ecx, ecx
jne 0x404801
push esi
push dword [0x4083d0]
push dword [0x407e04]
call edi
mov ecx, eax
mov dword [0x4083d4], ecx
cmp ecx, 0xffffffff
je 0x404808
mov esi, ecx
cmp ecx, esi
je 0x404819
push 2
call fcn.00402971
mov ecx, dword [0x4083d4]
sub dword [0x40840e], ecx
mov esi, dword [0x4083d0]
cmp dword [0x407e08], 0
mov dword [0x40841c], esi
je 0x40485b
mov eax, ecx
mov edx, eax
dec eax
test edx, edx
je 0x40485b
lea edi, [eax + 1]
call 0x4060cc
xor byte [esi], al
movzx eax, byte [esi]
push eax
call 0x4060e2
inc esi
dec edi
pop ecx
jne 0x404840
mov ecx, dword [0x4083d4]
mov eax, ecx
dec ecx
pop esi
mov dword [0x4083d4], ecx
pop edi
ret
Function at 0x46ab6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, eax
push ebx
push edi
mov edi, dword [ecx]
add eax, 4
mov dword [esi], eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4b7267
mov ecx, dword [esi]
add ecx, dword [ebp + 8]
lea ebx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 4], eax
call 0x4b6af0
mov eax, dword [ebp - 4]
add dword [esi], ebx
xor ecx, ecx
add esp, 0x10
mov word [ebx + eax], cx
test edi, edi
jle 0x46abc6
xor word [eax + ecx*2], di
inc ecx
cmp ecx, edi
jl 0x46abbd
pop edi
pop ebx
leave
ret 4

Function at 0x4767ba
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x490420], eax
push edi
mov edx, esi
mov eax, 0x490420
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x490ddc
jl 0x4767cb
pop edi
mov dword [0x47b05c], esi
mov dword [0x490df0], esi
pop esi
ret

Function at 0x4767f9
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x490df0], 0
push ebx
push esi
push edi
mov esi, 0x490420
jne 0x47681b
push 0
call 0x4ba543
pop ecx
call fcn.004767ba
mov dword [0x47b05c], 0x270
mov dword [0x49041c], esi
mov dword [ebp - 4], 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov edx, dword [esi + 4]
mov ebx, dword [esi]
xor ebx, edx
and ebx, ecx
xor ebx, dword [esi]
and dl, 1
movzx edx, dl
shr ebx, 1
neg edx
sbb edx, edx
and edx, eax
xor ebx, edx
xor ebx, dword [esi + 0x634]
mov dword [esi], ebx
add esi, 4
dec dword [ebp - 4]
jne 0x47683c
mov dword [ebp - 4], 0x18c
mov edx, dword [esi + 4]
mov ebx, dword [esi]
xor ebx, edx
and ebx, ecx
xor ebx, dword [esi]
and dl, 1
movzx edx, dl
shr ebx, 1
neg edx
sbb edx, edx
and edx, eax
xor ebx, edx
xor ebx, dword [esi - 0x38c]
mov dword [esi], ebx
add esi, 4
dec dword [ebp - 4]
jne 0x47686e
mov edi, dword [esi]
mov edx, dword [0x490420]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, eax
xor edi, ecx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4768c4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x47b05c]
jne 0x4768d1
call fcn.004767f9
mov eax, dword [0x49041c]
mov ecx, dword [eax]
add dword [0x49041c], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret
Function at 0x476908
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x47b05c]
jne 0x476919
call fcn.004767f9
mov eax, dword [0x49041c]
mov eax, dword [eax]
add dword [0x49041c], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
jns 0x47695d
fadd qword [0x475bc0]
fmul qword [0x475bd0]
leave
ret

Function at 0x476f4c
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call 0x4b8bd0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x477b29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00477795
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.004778d0
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x477b6e
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.004778a0
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x477b54
pop edi
pop esi
leave
ret 0xc
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x40129b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00416a71
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00416a71
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.00416a71
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], esp
mov eax, 0
call fcn.00416a89
cmp dword [ebp - 0x1c], esp
je 0x401351
push 6
call fcn.00416a83
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.00416a89
cmp dword [ebp - 0x1c], esp
je 0x40137f
push 6
call fcn.00416a83
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
push 0x4841bc
push 0x4840b4
mov eax, 2
call fcn.00416a89
cmp dword [ebp - 0x1c], esp
je 0x4013ab
push 6
call fcn.00416a83
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 3
call fcn.00416a89
cmp dword [ebp - 0x1c], esp
je 0x40143f
push 6
call fcn.00416a83
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 4
call fcn.00416a89
cmp dword [ebp - 0x1c], esp
je 0x401464
push 6
call fcn.00416a83
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40146c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00416a77
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00416a77
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00416a77
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x41e470
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c0fb
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.00470e90
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e4f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046ec47
mov eax, dword [eax]
push 0x6b320c
push eax
call fcn.00461b64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047111b
test bl, bl
je 0x41e4f2
push 0x6b320c
lea ecx, [esp + 0xc]
call fcn.004714ab
push 0x6b6d70
lea ecx, [esp + 0xc]
call fcn.004714ab
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 0x41e52e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047111b
jmp 0x41e5f9
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 0x41e5b2
lea edx, [esp + 0x7c]
push 0x6b6d6c
push edx
call fcn.00461b64
add esp, 8
test eax, eax
je 0x41e5b2
lea eax, [esp + 0x7c]
push 0x6b6d68
push eax
call fcn.00461b64
add esp, 8
test eax, eax
je 0x41e5b2
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 0x41e542
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.0047111b
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 0x41edf0
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 0x41ee52
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 0x41ee60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c17b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6bd2b0]
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 0x41ef98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41eec6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047111b
xor eax, eax
jmp 0x41f00f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00471258
push esi
lea ecx, [esp + 0xc]
call fcn.004714e7
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 0x41efed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0041edf0
test eax, eax
jne 0x41efed
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 0x80000000
mov ecx, edi
call fcn.0041edf0
test eax, eax
jne 0x41efed
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00462ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efcc
lea ecx, [esp + 0x14]
push 0x6b6d80
push ecx
call fcn.00462b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41efcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00471208
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41eede
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047111b
xor eax, eax
jmp 0x41f00f
mov byte [esi], 0
push 0x6b6d7c
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.0047111b
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