joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7d20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], ecx
mov dword [esp], eax
test edx, edx
jle 0x4a7dfa
mov ebx, dword [esp + 4]
mov bl, byte [ebx + 0x100]
mov eax, dword [esp + 4]
mov al, byte [eax + 0x101]
mov byte [esp + 8], al
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov edi, edx
dec edi
test edi, edi
jb 0x4a7de2
inc edi
mov dword [esp + 0x10], 0
xor eax, eax
mov al, bl
inc eax
and eax, 0xff
mov ebx, eax
mov esi, ebx
and esi, 0xff
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + esi]
xor edx, edx
mov dl, byte [esp + 8]
add eax, edx
and eax, 0xff
mov byte [esp + 8], al
movzx ebp, byte [esp + 8]
mov eax, dword [esp + 0xc]
lea edx, [eax + ebp]
mov eax, dword [esp + 0xc]
add eax, esi
call fcn.004a7c88
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + esi]
mov edx, dword [esp + 0xc]
movzx edx, byte [edx + ebp]
add eax, edx
and eax, 0xff
and eax, 0xff
mov edx, dword [esp + 0xc]
mov al, byte [edx + eax]
mov edx, dword [esp]
mov ecx, dword [esp + 0x10]
xor byte [edx + ecx], al
inc dword [esp + 0x10]
dec edi
jne 0x4a7d6a
mov eax, dword [esp + 4]
mov byte [eax + 0x100], bl
mov eax, dword [esp + 4]
mov dl, byte [esp + 8]
mov byte [eax + 0x101], dl
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4aaf14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
or ecx, 0xffffffff
dec edx
test edx, edx
jl 0x4aaf45
inc edx
xor ebx, ebx
movzx esi, byte [eax + ebx]
xor esi, ecx
and esi, 0xff
mov esi, dword [esi*4 + 0x544e64]
shr ecx, 8
and ecx, 0xffffff
xor esi, ecx
mov ecx, esi
inc ebx
dec edx
jne 0x4aaf21
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x4c9b78
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c9ba6
mov eax, ebx
call fcn.004ca62c
cmp dword [ebx + 0x40], 0
je 0x4c9b9f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c9c17
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c9c09
cmp dword [ebx + 8], 0
je 0x4c9bc8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c9bda
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c9c09
cmp dword [ebx + 8], 0
je 0x4c9bbb
cmp eax, 3
je 0x4c9bed
dec eax
jne 0x4c9bbb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c9bbb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c9bbb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c9c35
cmp dword [ebx + 0x14], 0xcc
je 0x4c9c35
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c9c40
pop ebx
ret
Function at 0x4fe5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x4fe766
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov cl, byte [edx + 0x34]
mov edx, dword [edx + 0x30]
call fcn.004a8bfc
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004fe790
mov eax, dword [ebp - 4]
call fcn.004ff22c
mov eax, dword [ebp - 4]
call fcn.004ff490
mov eax, dword [ebp - 4]
call fcn.004ff48c
mov eax, dword [ebp - 4]
call fcn.004ff954
add byte [eax], al

Function at 0x50f4b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x50f4c4
add esp, 0xfffffff0
call fcn.0040425c
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00420444
mov edx, dword [0x543368]
mov eax, dword [0x5430ac]
mov ecx, 0x104
call fcn.00402cfc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x90], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 9
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x100a
call sub.kernel32.dll_GetUserDefaultLCID
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov ebx, eax
mov eax, ebx
call fcn.00402ad0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50f5a6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0x100a
push 0x800
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x50f590
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
sub al, 0x31
je 0x50f562
sub al, 4
je 0x50f56e
sub al, 3
je 0x50f57a
dec al
je 0x50f586
jmp 0x50f590
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 5
jmp 0x50f590
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 1
jmp 0x50f590
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 8
jmp 0x50f590
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50f5ad
mov eax, dword [ebp - 0xc]
call fcn.00402b00
ret
Function at 0x51ca20
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
push ebp
push 0x51cb51
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x546cd0]
call fcn.00405220
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x51cae3
mov dl, 1
mov eax, dword [0x417a70]
call fcn.00403ef4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51cad3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x51cb5c
mov edx, 0x51cb60
mov eax, dword [0x544668]
call fcn.0048f36c
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cada
mov eax, dword [ebp - 8]
call fcn.00403f24
ret
push 1
push dword [0x546cd0]
push 0x51cb74
lea edx, [ebp - 0x18]
mov eax, dword [0x543408]
mov eax, dword [eax]
call fcn.004785d8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov dl, 0x22
call fcn.004097d0
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004050e0
mov eax, dword [ebp - 0x10]
call fcn.00405220
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x543408]
mov eax, dword [eax]
call fcn.00478004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cb58
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404d74
ret

Function at 0x51f741
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ecx
xor ebx, ebx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x51f73f
mov bl, 1
jmp 0x51f769
push 0
push 1
push 0x51f770
call sub.wininet.dll_InternetCheckConnectionA
test eax, eax
je 0x51f755
mov bl, 1
jmp 0x51f769
push 0
push 1
push 0x51f788
call sub.wininet.dll_InternetCheckConnectionA
test eax, eax
je 0x51f769
mov bl, 1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x401000
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x20c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 8]
not ecx
dec ecx
je 0x401062
cmp byte [esp + edx + 0xc], 0x5c
jne 0x40104f
mov esi, edx
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x401046
lea edi, [esp + esi + 0xd]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + esi + 0xc], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010d8
mov edx, dword [esp + 8]
lea ecx, [esp + 0x110]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
test esi, esi
je 0x4010d6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x402140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov al, 0x7f
push ebx
mov byte [esp + 7], al
mov byte [esp + 0xc], al
mov al, 0x4a
push esi
mov byte [esp + 0x1a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
lea eax, [esp + 8]
push edi
mov bl, 0x5e
mov dl, 0x47
mov cl, 0x4b
push eax
push str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
mov byte [esp + 0x14], 0x63
mov byte [esp + 0x15], 0x88
mov byte [esp + 0x16], 0x8e
mov byte [esp + 0x18], 0x8c
mov byte [esp + 0x19], 0x80
mov byte [esp + 0x1a], 0x7b
mov byte [esp + 0x1b], 0x7d
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x95
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], 0x51
mov byte [esp + 0x21], 0x5c
mov byte [esp + 0x22], 0x4d
mov byte [esp + 0x23], 0x5b
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x5f
mov byte [esp + 0x2b], 0x5c
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], 0x7e
mov byte [esp + 0x30], 0x4f
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x53
mov byte [esp + 0x33], 0x4d
mov byte [esp + 0x34], 0x5f
mov byte [esp + 0x35], 0x60
mov byte [esp + 0x36], dl
mov byte [esp + 0x39], cl
mov byte [esp + 0x3b], 0x4f
mov byte [esp + 0x3c], 0x5b
mov byte [esp + 0x3d], 0x5b
mov byte [esp + 0x3f], 0x60
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x4c
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x97
mov byte [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
xor esi, esi
call edi
test eax, eax
jle 0x402271
mov bl, 0xe6
mov cl, byte [esi + str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D]
push str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add cl, bl
mov byte [esi + str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D], cl
inc esi
call edi
cmp esi, eax
jl 0x402257
mov eax, dword [0x40e344]
pop edi
pop esi
cmp eax, 3
pop ebx
jne 0x40228e
mov byte [0x40e672], 0x30
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 2
jne 0x4022a3
mov byte [0x40e672], 0x31
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 4
jne 0x4022b8
mov byte [0x40e672], 0x32
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 6
jne 0x4022cd
mov byte [0x40e672], 0x33
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 7
jne 0x4022e2
mov byte [0x40e672], 0x35
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 8
mov eax, str.Interface87B3ADD4_21EB_11d5_93EF_00105AA0FD2D
setne cl
dec ecx
and ecx, 2
add ecx, 0x34
mov byte [0x40e672], cl
add esp, 0x34
ret
Function at 0x402300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov al, 0x7f
push ebx
mov byte [esp + 7], al
mov byte [esp + 0xc], al
mov al, 0x50
mov cl, 0x4b
mov byte [esp + 0xf], al
mov byte [esp + 0x13], al
mov al, 0x4a
push esi
mov byte [esp + 0x1a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
lea eax, [esp + 8]
push edi
mov byte [esp + 0x1d], cl
mov byte [esp + 0x21], cl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x31], cl
mov dl, 0x47
mov bl, 0x5e
mov cl, 0x5b
push eax
push str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
mov byte [esp + 0x14], 0x63
mov byte [esp + 0x15], 0x88
mov byte [esp + 0x16], 0x8e
mov byte [esp + 0x18], 0x8c
mov byte [esp + 0x19], 0x80
mov byte [esp + 0x1a], 0x7b
mov byte [esp + 0x1b], 0x7d
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x95
mov byte [esp + 0x20], 0x4d
mov byte [esp + 0x21], 0x4e
mov byte [esp + 0x22], 0x51
mov byte [esp + 0x24], 0x5d
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x4d
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2f], 0x7e
mov byte [esp + 0x30], 0x4f
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x53
mov byte [esp + 0x33], 0x4d
mov byte [esp + 0x34], 0x5f
mov byte [esp + 0x35], 0x60
mov byte [esp + 0x36], dl
mov byte [esp + 0x3b], 0x4f
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3f], 0x60
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x4c
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x97
mov byte [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
xor esi, esi
call edi
test eax, eax
jle 0x402431
mov bl, 0xe6
mov cl, byte [esi + str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D]
push str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add cl, bl
mov byte [esi + str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D], cl
inc esi
call edi
cmp esi, eax
jl 0x402417
mov eax, dword [0x40e344]
pop edi
pop esi
cmp eax, 3
pop ebx
jne 0x40244e
mov byte [0x40e552], 0x30
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 2
jne 0x402463
mov byte [0x40e552], 0x31
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 4
jne 0x402478
mov byte [0x40e552], 0x32
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 6
jne 0x40248d
mov byte [0x40e552], 0x33
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 7
jne 0x4024a2
mov byte [0x40e552], 0x35
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
add esp, 0x34
ret
cmp eax, 8
mov eax, str.Interface63476C14_21D3_11d5_93EF_00105AA0FD2D
setne cl
dec ecx
and ecx, 2
add ecx, 0x34
mov byte [0x40e552], cl
add esp, 0x34
ret
Function at 0x419e50
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x419e71
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x419e68
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x419e60
mov eax, ebx
leave
ret

Function at 0x419e97
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x419ef6
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x419f23
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x419f12
xor ecx, eax
xor edx, ebx
dec edi
jne 0x419f03
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x419f49
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x419eea
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x41a789
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.00419e16
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41a968
push dword [ebp - 4]
call fcn.00419dfa
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a859
jmp 0x41a968
push dword [ebp - 4]
call fcn.00419dfa
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x41a8ad
lea eax, [ebp - 4]
push eax
call fcn.0041a76f
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0041a021
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41a8ad
mov eax, 1
jmp 0x41a8af
xor eax, eax
test eax, eax
je 0x41a95d
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41a955
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0041a58c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41a944
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0041a748
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41a8f7
add esp, 0xc
jmp 0x41a968
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x41a832
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x41a989
mov esp, ebp
pop ebp
ret 8
Function at 0x4bf540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53b63b
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.0052f434
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4bf5c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0052cfed
mov eax, dword [eax]
push 0x59b264
push eax
call fcn.0051ef04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0052f6bf
test bl, bl
je 0x4bf5c2
push 0x59b264
lea ecx, [esp + 0xc]
call fcn.0052fa4f
push 0x59ee00
lea ecx, [esp + 0xc]
call fcn.0052fa4f
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 0x4bf5fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0052f6bf
jmp 0x4bf6c9
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 0x4bf682
lea edx, [esp + 0x7c]
push 0x59edfc
push edx
call fcn.0051ef04
add esp, 8
test eax, eax
je 0x4bf682
lea eax, [esp + 0x7c]
push 0x59edf8
push eax
call fcn.0051ef04
add esp, 8
test eax, eax
je 0x4bf682
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 0x4bf612
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.0052f6bf
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 0x4bfee0
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 0x4bff42
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