joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410e32
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
movzx ecx, byte [0x441e69]
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x441e70
je 0x410e7c
or dword [ebp - 0x18], 0xffffffff
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 7
call fcn.00406496
push dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.00403139
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004089e4
push 0x43b068
lea ecx, [ebp - 8]
call fcn.00404248
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.00404248
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040db85
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00401622
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00401622
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 8], eax
test eax, eax
je 0x410f66
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dbb5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
je 0x410f66
push 0x40
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x44
push ebx
push eax
call fcn.00416a60
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x410f33
push dword [eax - 0xc]
mov ecx, esi
call fcn.00401962
mov eax, dword [esi]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push ebx
push edi
push 0x400
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410f66
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x410f6d
call fcn.00408ac6
mov ebx, eax
test edi, edi
je 0x410f82
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffffe
push ecx
push edi
call fcn.004049b4
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00408a0a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4125a2
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00416a60
add esp, 0xc
mov dword [ebp - 0x20c], pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x41260b
push ecx
mov edx, str..brave.com
lea ecx, [ebp - 0x204]
call fcn.0040515f
pop ecx
test al, al
je 0x41260b
mov al, 1
jmp 0x412650
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x412646
cmp dword [esi + 8], ebx
je 0x412646
push str.brave
push dword [esi + 8]
call fcn.004251a4
pop ecx
pop ecx
test eax, eax
jne 0x412646
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00415d04
leave
ret

Function at 0x412ea9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [ebp - 4]
call fcn.00401692
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.004085fd
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x412f04
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.004085fd
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.0040440f
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x412ede
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x412f2a
call fcn.00408ac6
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00401622
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4133cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00412f39
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
test eax, eax
js 0x413518
cmp esi, ebx
je 0x413518
call fcn.00411c4a
mov bl, byte [ebp - 1]
mov eax, str.HKLMSoftwareBraveSoftwareUpdate_
test bl, bl
jne 0x41341a
mov eax, str.HKCUSoftwareBraveSoftwareUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00404248
push 0x43c120
lea ecx, [ebp - 0xc]
call fcn.00404248
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.00403bb7
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0040163a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401622
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401622
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00407f97
test al, al
jne 0x41347d
mov dl, 1
mov cl, bl
call fcn.0041354f
mov edi, eax
jmp 0x413504
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x438d8c
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.00407ad7
mov edi, eax
test edi, edi
js 0x4134e3
mov eax, dword [ebp - 0x18]
xor edi, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4134d8
push 0
push 0
push 0
push 0
push dword [ecx + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x413514
mov eax, dword [ebp - 0x18]
inc edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4134b0
xor dl, dl
mov cl, bl
call fcn.0041354f
mov edi, eax
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x438d8c
je 0x413504
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x200
lea ecx, [esi - 0x10]
call fcn.00401622
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
jmp 0x41351b
xor edi, edi
jmp 0x4134e3
xor edi, edi
inc edi
test esi, esi
je 0x413548
cmp esi, ebx
je 0x413537
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00401622
add esi, 4
cmp esi, ebx
jne 0x413523
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
call fcn.004049b4
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41354f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov bh, dl
mov dword [ebp - 0x14], 0x439b84
xor edi, edi
lea edx, [ebp - 0x14]
mov bl, cl
mov dword [ebp - 0x10], edi
call fcn.00413211
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov edx, dword [eax + 4]
cmp edx, 0x407827
jne 0x413588
push 0xffffffffffffffff
call dword [eax + 0xc]
jmp 0x41358a
call edx
mov dword [ebp - 0x20], 0x438d8c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x200
call fcn.00411c4a
mov eax, str.HKLMSoftwareBraveSoftwareUpdate_
test bl, bl
jne 0x4135ae
mov eax, str.HKCUSoftwareBraveSoftwareUpdate_
push 0xf003f
push eax
lea ecx, [ebp - 0x20]
call fcn.00407ad7
push edi
push edi
push edi
push edi
push str.old_uid
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x4135e4
push 0x43c120
call fcn.0040794a
jmp 0x41368f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
push eax
push 0x43c120
call fcn.00407c9c
test eax, eax
jns 0x41360e
cmp dword [ebp - 4], edi
je 0x413641
push dword [ebp - 4]
jmp 0x41363b
push dword [ebp - 8]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0xc]
push esi
push str.old_uid
call fcn.00407f6d
test eax, eax
js 0x413636
push 0x43c120
lea ecx, [ebp - 0x20]
call fcn.0040794a
test esi, esi
je 0x413641
push esi
call fcn.004164c6
pop ecx
test bh, bh
je 0x41368f
lea ecx, [ebp - 4]
call fcn.00401692
lea eax, [ebp - 4]
push eax
push str.old_uid
lea ecx, [ebp - 0x20]
call fcn.00407de3
mov esi, str.__legacy
push esi
call fcn.00421e6c
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.00404323
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x20]
push 1
push esi
push str.old_uid
call fcn.00407f31
lea ecx, [esi - 0x10]
call fcn.00401622
mov cl, bl
call fcn.00413747
mov esi, eax
mov dword [ebp - 0x20], 0x438d8c
cmp dword [ebp - 0x1c], edi
je 0x4136b7
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x200
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
cmp eax, 0x407855
jne 0x4136cf
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4136d4
lea ecx, [ebp - 0x14]
call eax
mov dword [ebp - 0x14], 0x439b84
cmp dword [ebp - 0x10], edi
je 0x4136e9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x413b45
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413b55
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x413b5b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x413b83
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x4378a0]
test ax, ax
jne 0x413b6a
mov esi, ecx
jmp 0x413b86
movzx esi, si
pop edi
cmp cx, si
je 0x413ba3
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x4378a0]
test cx, cx
jne 0x413b87
mov eax, 0x436318
jmp 0x413bab
imul eax, edx, 0x1a
add eax, 0x4378a2
push eax
mov ecx, ebx
call fcn.00404248
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x414a6b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414aa0
cmp dword [ebp - 8], 3
jne 0x414aa0
cmp dword [ebp - 4], esi
jne 0x414aa0
mov al, 1
jmp 0x414ab0
push esi
push 0
push dword [ebp + 8]
call fcn.00416a60
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x414ab3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414ae8
cmp dword [ebp - 8], 3
jne 0x414ae8
cmp dword [ebp - 4], esi
jne 0x414ae8
mov al, 1
jmp 0x414af8
push esi
push 0
push dword [ebp + 8]
call fcn.00416a60
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x415a83
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00415912
lea ecx, [ebp - 0x30]
call fcn.0040e4f4
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x415b46
cmp dword [ebp - 0x30], 2
jne 0x415b46
cmp dword [ebp - 0x2c], esi
je 0x415b46
cmp dword [ebp - 0x10], esi
je 0x415b46
cmp dword [ebp - 0xc], esi
je 0x415b46
cmp dword [ebp - 8], esi
je 0x415b46
lea ecx, [ebp - 0x5c]
call fcn.0040e4f4
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x415b46
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x415b48
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4184ec
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x418527
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41850e
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x41851f
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x418529
inc edi
add eax, 0x28
cmp edi, esi
jb 0x418504
xor eax, eax
pop edi
pop esi
ret

Function at 0x41874a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push edi
push dword [ebp + 8]
call fcn.00418471
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
div ecx
test edx, edx
je 0x418784
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
mov dword [ebp + 0xc], ecx
push eax
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], 0x6a
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], 0xc3
mov byte [ebp - 0x2b], 0xfc
cld
mov byte [ebp - 0x2a], 0xe7
mov byte [ebp - 0x29], 0xe1
mov byte [ebp - 0x28], 0xe0
mov byte [ebp - 0x27], 0xf4
mov byte [ebp - 0x26], 0xf9
mov byte [ebp - 0x25], 0xd4
mov byte [ebp - 0x24], 0xf9
mov byte [ebp - 0x23], 0xf9
mov byte [ebp - 0x22], 0xfa
mov byte [ebp - 0x21], 0xf6
mov byte [ebp - 0x20], 0x95
Function at 0x418bba
Capabilities:
Inspect section memory permissions

Disassembly:
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x418b8f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x418bb7
call fcn.004184ac
fld qword [eax + 0x13]
mov esp, 0xf845b70f
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x418c0d
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
add byte [eax], al
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x418bf6
or byte [eax + ecx], 1
cmp edi, ebx
je 0x418bfe
or byte [eax + ecx], 2
cmp esi, ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x418b70
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x418c5a
dec eax
je 0x418c51
sub eax, 3
je 0x418c48
mov dword [ebp - 4], 0x40
jmp 0x418c5d
mov dword [ebp - 4], 4
jmp 0x418c5d
mov dword [ebp - 4], 0x20
jmp 0x418c5d
mov dword [ebp - 4], ecx
call fcn.004184ac
fldcw word [ecx - 0x52]
rol byte [ebx + 0x7440fc7d], 1
inc eax
je 0x418c84
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x418cb7
invalid
invalid

Function at 0x418bca
Capabilities:
Inspect section memory permissions

Disassembly:
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x418b8f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x418bb7
call fcn.004184ac
fld qword [eax + 0x13]
mov esp, 0xf845b70f
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x418c0d
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
add byte [eax], al
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x418bf6
or byte [eax + ecx], 1
cmp edi, ebx
je 0x418bfe
or byte [eax + ecx], 2
cmp esi, ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x418b70
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x418c5a
dec eax
je 0x418c51
sub eax, 3
je 0x418c48
mov dword [ebp - 4], 0x40
jmp 0x418c5d
mov dword [ebp - 4], 4
jmp 0x418c5d
mov dword [ebp - 4], 0x20
jmp 0x418c5d
mov dword [ebp - 4], ecx
call fcn.004184ac
fldcw word [ecx - 0x52]
rol byte [ebx + 0x7440fc7d], 1
inc eax
je 0x418c84
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x418cb7
invalid
invalid
Function at 0x418c00
Capabilities:
Inspect section memory permissions

Disassembly:
je 0x418c07
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x418beb

Function at 0x41a399
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x7d8], 0x77
mov byte [ebp - 0x7d7], 0x4e
mov byte [ebp - 0x7d6], 0x59
mov byte [ebp - 0x7d5], 0x59
mov byte [ebp - 0x7d4], 0x44
mov byte [ebp - 0x7d3], 0x59
mov byte [ebp - 0x7d2], 5
mov byte [ebp - 0x7d1], 0x47
mov byte [ebp - 0x7d0], 0x44
mov byte [ebp - 0x7cf], 0x4c
mov byte [ebp - 0x7ce], 0x2b
call fcn.004184ac
inc eax
push ebp
out dx, al
fisubr word [edx + 0xb]
lea eax, [ebp - 0x7dc]
call dword [eax - 0x18]
mov ebp, 0x59ffffe0

Function at 0x41a447
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x3a37b]
inc dword [ebx - 0x3a343]
cld
invalid
inc dword [eax]

Function at 0x41fa13
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41fa5e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041fc34
test al, al
jne 0x41fa58
sub edx, 2
cmp edx, edi
jne 0x41fa3e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41fa80
lea eax, [edi + 2]
cmp edx, eax
je 0x41fa80
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041f95f
add esp, 0x10
jmp 0x41fb7a
push esi
lea ecx, [ebp - 0x255]
call fcn.0041fc34
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41fac3
push dword [ebp - 0x25c]
jmp 0x41fa70
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41fb00
cmp word [ebp - 0x226], 0
je 0x41fb21
cmp word [ebp - 0x226], ax
jne 0x41fb00
cmp word [ebp - 0x224], 0
je 0x41fb21
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041f95f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41fb6d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41fada
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41fb55
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41fb7a
push 0x41f78f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00423a90
add esp, 0x10
jmp 0x41fb4a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d04
leave
ret
Function at 0x420948
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eefc
push 0x42eef4
push str.FlsAlloc
push 0x1e
call fcn.00420885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42097c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d3f4]
call esi
jmp 0x420982
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4209c6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42ef0c
push 0x42ef04
push str.FlsGetValue
push 0x20
call fcn.00420885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4209fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d3f4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x408612
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004087c2
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x408710
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4086b3
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4086f6
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4086ca
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4086e5
test al, 0x40
je 0x4086dc
mov ecx, dword [edi + 0x20]
jmp 0x4086e3
test al, 0x80
je 0x4086f6
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4086f6
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x408682
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret