joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
mov word [ebp - 2], 0x63
push eax
mov esi, edx
mov dword [ebp - 7], 0x6c6c416c
mov dword [ebp - 0xb], 0x61626f6c
mov byte [ebp - 3], 0x6f
mov byte [ebp - 0xc], 0x47
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002343
push esi
push 0x40
call eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
mov word [ebp - 3], 0x65
push eax
mov esi, ecx
mov word [ebp - 9], 0x6162
mov word [ebp - 6], 0x7246
mov byte [ebp - 4], 0x65
mov word [ebp - 0xc], 0x6c47
mov byte [ebp - 7], 0x6c
mov byte [ebp - 0xa], 0x6f
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002399
push esi
call eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100023e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov word [ebp - 6], 0x746e
push eax
mov dword [ebp - 0xf], 0x69547465
mov dword [ebp - 0xb], 0x6f436b63
mov byte [ebp - 7], 0x75
mov byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x47
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002420
call eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10002430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xf], 0x4c64616f
push eax
mov esi, ecx
mov dword [ebp - 7], 0x417972
mov dword [ebp - 0xb], 0x61726269
mov byte [ebp - 0x10], 0x4c
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000246e
push esi
call eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.10001d60
mov edi, eax
test edi, edi
je 0x100024ce
lea eax, [ebp - 0xc]
mov dword [ebp - 9], 0x6e496f54
push eax
push edi
mov word [ebp - 5], 0x4174
mov word [ebp - 0xb], 0x7274
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 3], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100024c7
push ebx
call eax
mov esi, eax
mov ecx, edi
call fcn.100024e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100024e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], 0x7246
push eax
mov esi, ecx
mov dword [ebp - 5], 0x79726172
mov byte [ebp - 1], 0
mov dword [ebp - 9], 0x62694c65
mov byte [ebp - 0xa], 0x65
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002521
push esi
call eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, 1
call fcn.10001da0
mov edi, eax
test edi, edi
je 0x100025e6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x13], 0x65536765
push eax
push edi
mov dword [ebp - 0xf], 0x6c615674
mov dword [ebp - 9], 0x417845
mov word [ebp - 0xb], 0x6575
mov byte [ebp - 0x14], 0x52
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100025df
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push ebx
push dword [ebp - 4]
call eax
mov esi, eax
mov ecx, edi
call fcn.100024e0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100025f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0x10]
mov word [ebp - 4], 0x4165
push eax
mov esi, edx
mov dword [ebp - 0xe], 0x6946646e
mov edi, ecx
mov dword [ebp - 9], 0x69467473
mov word [ebp - 0x10], 0x6946
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 2], 0
mov byte [ebp - 5], 0x6c
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002640
push esi
push edi
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x7478654e
push eax
mov esi, edx
mov dword [ebp - 0x10], 0x646e6946
mov edi, ecx
mov dword [ebp - 7], 0x41656c69
mov byte [ebp - 8], 0x46
mov byte [ebp - 3], 0
call fcn.10001cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100026d7
push esi
push edi
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
push ecx
push 0
push 3
push ecx
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.10005cf0
mov edx, 0x80000000
mov ecx, eax
call fcn.10001f40
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10002955
mov ecx, esi
mov dword [ebp - 0x14], 0
call fcn.10001fa0
mov edi, eax
test edi, edi
je 0x10002955
push edi
call fcn.10006ebd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ecx
push edi
mov edx, eax
mov ecx, esi
call fcn.10002040
mov ecx, esi
call fcn.100020a0
push edi
call fcn.10006ebd
add esp, 0x10
xor esi, esi
mov ebx, eax
test edi, edi
je 0x100028f4
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0x18], 0x28
mov dword [ebp - 0x20], eax
mov eax, esi
lea ecx, [esi + ebx]
cdq
inc esi
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x20]
xor al, byte [edx + ecx]
mov byte [ecx], al
cmp esi, edi
jb 0x100028d8
push ecx
push 0
push 2
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.10005cf0
mov edx, 0x40000000
mov ecx, eax
call fcn.10001f40
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x1000294c
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.10002260
mov ecx, esi
call fcn.100020a0
push dword [ebp - 0x10]
call fcn.10008394
push ebx
call fcn.10008394
add esp, 0x14
mov bl, 1
jmp 0x10002957
push ebx
call fcn.10008394
add esp, 4
xor bl, bl
lea ecx, [ebp + 8]
call fcn.10004ca0
lea ecx, [ebp + 0xc]
call fcn.10004ca0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100029a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [ebp + 0x14]
mov dword [0x10038418], eax
mov eax, dword [ebp + 0x10]
mov dword [0x10038420], eax
mov eax, dword [ebp + 0xc]
push 0x3ff
mov dword [0x1003841c], eax
lea eax, [ebp - 0x82b]
push 0
push eax
mov byte [ebp - 0x82c], 0
call fcn.100098a0
lea ecx, [ebp - 0x82c]
call fcn.10002770
push 0x3ff
lea eax, [ebp - 0x42b]
mov byte [ebp - 0x42c], 0
push 0
push eax
call fcn.100098a0
lea ecx, [ebp - 0x42c]
call fcn.10002770
add esp, 0x14
mov word [ebp - 0x2b], 0x7469
lea eax, [ebp - 0x42c]
mov word [ebp - 0x28], 0x7669
mov ecx, esp
mov dword [ebp - 0x1e], 0x67617a65
mov word [ebp - 0x19], 0x6271
push eax
mov dword [ebp - 0xc], 0x6c717261
mov byte [ebp - 0x2c], 0x79
mov dword [ebp - 0x25], 0x79787577
mov dword [ebp - 0x11], 0x71616975
mov word [ebp - 0x21], 0x6a6f
mov dword [ebp - 7], 0x656265
mov word [ebp - 0x16], 0x7167
mov byte [ebp - 0x29], 0x77
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1f], 0x69
mov word [ebp - 0x13], 0x6474
mov byte [ebp - 0x17], 0x7a
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x26], 0x66
call fcn.10004c40
push ecx
lea eax, [ebp - 0x82c]
mov ecx, esp
push eax
call fcn.10004c40
lea ecx, [ebp - 0x2c]
call fcn.10002830
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10003840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x970
mov eax, dword [ebp + 0x14]
push esi
mov dword [0x10038418], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [0x10038420], eax
mov eax, dword [ebp + 0xc]
push 0x3ff
mov dword [0x1003841c], eax
lea eax, [esp + 0x17d]
push 0
push eax
mov byte [esp + 0x184], 0
call fcn.100098a0
add esp, 0xc
lea ecx, [esp + 0x178]
call fcn.10002770
push 0x3ff
lea eax, [esp + 0x57d]
mov byte [esp + 0x57c], 0
push 0
push eax
call fcn.100098a0
add esp, 0xc
lea ecx, [esp + 0x578]
call fcn.10002770
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x5c]
call fcn.10004d30
sub esp, 0x18
lea eax, [esp + 0x70]
mov ecx, esp
push eax
call fcn.10005d00
push 0
push 0
call fcn.10003690
mov edi, eax
mov word [esp + 0x69], 0x736e
lea eax, [esp + 0x3c]
mov dword [esp + 0x4d], 0x69575c74
push eax
lea eax, [esp + 0x94]
mov word [esp + 0x63], 0x7265
push 0x104
push eax
mov esi, edx
mov dword [esp + 0x5d], 0x776f646e
mov dword [esp + 0x62], 0x7275435c
mov dword [esp + 0x51], 0x7263694d
mov dword [esp + 0x4a], 0x61777466
mov dword [esp + 0x66], 0x746e6572
mov word [esp + 0x78], 0x6c61
mov dword [esp + 0x70], 0x6e555c6e
mov word [esp + 0x6e], 0x6f69
mov byte [esp + 0x77], 0x74
mov word [esp + 0x4f], 0x5c65
mov word [esp + 0x48], 0x6f53
mov byte [esp + 0x6d], 0x73
mov dword [esp + 0x55], 0x666f736f
mov byte [esp + 0x61], 0x73
mov byte [esp + 0x4e], 0x72
mov word [esp + 0x7b], 0x5c
mov byte [esp + 0x74], 0x69
mov byte [esp + 0x6a], 0x56
mov byte [esp + 0x7a], 0x6c
mov word [esp + 0x3c], 0x616d
mov dword [esp + 0x42], 0x657a69
mov word [esp + 0x39], 0x7473
mov dword [esp + 0x3e], 0x53646574
mov byte [esp + 0x38], 0x45
mov byte [esp + 0x3b], 0x69
call fcn.10008399
add esp, 0x2c
lea eax, [esp + 0x578]
push eax
lea eax, [esp + 0x74]
push 0x104
push eax
call fcn.100083ee
add esp, 0xc
lea eax, [esp + 0xc]
shrd edi, esi, 0xa
lea edx, [esp + 0x70]
shr esi, 0xa
push edi
push ecx
push eax
call fcn.10003590
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.10004d70
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10004029
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 0x10004064
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10004060
lea ebx, [ebx]
cmp esi, edx
jae 0x10004064
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10004050
cmp esi, edx
jb 0x1000406b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x10038484], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x10038484], edx
inc eax
cmp eax, 0x270
jl 0x10006071
mov dword [0x10038480], 0x270
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
dec ecx
jne 0x100064f0
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi]
lea esi, [esi + 4]
xor ecx, dword [esi]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
dec edi
jne 0x10006530
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
lea esp, [esp]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
dec esi
jne 0x100065b0
pop esi
ret
Function at 0x405c59
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c624], 0
push esi
jne 0x405c90
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 0x405c6a
mov dword [ecx*4 + 0x42c620], eax
inc ecx
cmp ecx, 0x100
jl 0x405c65
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cc1
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 + 0x42c620]
xor eax, esi
inc ecx
dec edx
jne 0x405ca3
pop edi
not eax
pop esi
ret 0xc

Function at 0x40381c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x408008], 0x8088405
inc edx
mov dword [ebx + 0x408008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x4010b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
lea ecx, [ebp - 0x20]
push ebx
sub esp, 0x3c
mov dword [ebp - 0x20], 0x1fe
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x4010f7
cmp dword [ebp - 0x1c], 1
je 0x401108
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [edi], 0
je 0x401158
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x401110
sub eax, edi
add eax, 2
xor ecx, ecx
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov word [edi + eax], cx
jmp 0x401138
lea edi, [eax + 2]
xor edx, edx
mov word [eax], dx
mov dword [esp + 4], 0x2c
mov dword [esp], edi
call esi
test eax, eax
jne 0x401130
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
jmp 0x40111e
Function at 0x401cf0
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x218]
sub esp, 0x23c
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
mov dword [esp + 4], str.SoftwareWineWineBrowser
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyW
sub esp, 0xc
test eax, eax
je 0x401d60
mov esi, str._usr_bin_open
mov ecx, 0x21
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov word [edi], ax
mov edx, dword [ebp - 0x22c]
mov eax, ebx
call fcn.00401a00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x21c]
mov ecx, ebx
mov edx, str.Mailers
call fcn.004010b0
mov esi, eax
mov eax, dword [ebp - 0x21c]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
test esi, esi
jne 0x401d2d
jmp 0x401d41

Function at 0x401d90
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x218]
sub esp, 0x23c
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
mov dword [esp + 4], str.SoftwareWineWineBrowser
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegOpenKeyW
sub esp, 0xc
test eax, eax
je 0x401df0
mov esi, str.launchurl
mov ecx, 0x24
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x22c]
mov eax, ebx
call fcn.00401a00
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x21c]
mov ecx, ebx
mov edx, str.Browsers
call fcn.004010b0
mov esi, eax
mov eax, dword [ebp - 0x21c]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
sub esp, 4
test esi, esi
jne 0x401dcd
jmp 0x401ddb

Function at 0x403520
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401e20
mov dword [esp], eax
call 0x403590
jmp dword [sym.imp.ucrtbase.dll_exit]
Function at 0x406780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x464ebb
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.00459ce3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406802
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00457a9a
mov eax, dword [eax]
push 0x4991f0
push eax
call fcn.0044a774
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459f6e
test bl, bl
je 0x406802
push 0x4991f0
lea ecx, [esp + 0xc]
call fcn.0045a2fe
push 0x49cd38
lea ecx, [esp + 0xc]
call fcn.0045a2fe
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 0x40683e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459f6e
jmp 0x406909
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 0x4068c2
lea edx, [esp + 0x7c]
push 0x49cd34
push edx
call fcn.0044a774
add esp, 8
test eax, eax
je 0x4068c2
lea eax, [esp + 0x7c]
push 0x49cd30
push eax
call fcn.0044a774
add esp, 8
test eax, eax
je 0x4068c2
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 0x406852
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.00459f6e
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 0x407100
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 0x407162
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 0x407170
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x464f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a3300]
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 0x4072a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4071d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459f6e
xor eax, eax
jmp 0x40731f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045a0ab
push esi
lea ecx, [esp + 0xc]
call fcn.0045a33a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x49cd70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4072fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00407100
test eax, eax
jne 0x4072fd
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 closesocket
mov ecx, edi
call fcn.00407100
test eax, eax
jne 0x4072fd
lea eax, [esp + 0x14]
push 0x49cd4c
push eax
call fcn.0044b7b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4072dc
lea ecx, [esp + 0x14]
push 0x49cd48
push ecx
call fcn.0044b730
mov esi, eax
add esp, 8
test esi, esi
jne 0x4072dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4072df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045a05b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4071ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459f6e
xor eax, eax
jmp 0x40731f
mov byte [esi], 0
push 0x49cd44
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.00459f6e
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