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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
call fcn.00536d62
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
xorps xmm1, xmm1
movsd qword [ebp - 0x20], xmm1
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov al, byte [eax]
mov dword [esi], ecx
mov byte [ebp - 1], al
movzx eax, byte [ecx]
test byte [eax + 0x5b67d9], 8
je 0x56c7cb
inc ecx
movzx eax, byte [ecx]
test byte [eax + 0x5b67d9], 8
jne 0x56c7bb
mov dword [ebp + 8], ecx
lea eax, [ebp + 8]
push eax
call fcn.0056be10
mov esi, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x18], eax
cmp byte [esi], 0x30
jne 0x56c908
mov cl, byte [esi + 1]
cmp cl, 0x78
je 0x56c7f5
cmp cl, 0x58
jne 0x56c908
mov al, byte [ebp - 1]
add esi, 2
mov cl, byte [esi]
cmp cl, al
jne 0x56c810
cmp dword [ebp - 0xc], 0
jne 0x56c86e
mov dword [ebp - 0xc], 1
jmp 0x56c86b
movzx eax, cl
test byte [eax + 0x5b67d9], 0x10
je 0x56c86e
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x56c82d
cmp cl, 0x30
jne 0x56c82d
inc dword [ebp - 0x14]
jmp 0x56c861
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1e
jg 0x56c860
movsx eax, cl
push eax
call fcn.0056c37b
movsd xmm1, qword [ebp - 0x20]
mulsd xmm1, qword [0x5b49b0]
pop ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebp - 0x20], xmm1
jmp 0x56c861
inc edi
cmp dword [ebp - 0xc], 0
mov al, byte [ebp - 1]
je 0x56c86b
dec edi
inc esi
jmp 0x56c7fb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], edi
push 0
pop edi
add eax, ecx
je 0x56c908
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov cl, byte [esi]
shl eax, 2
cmp cl, 0x70
je 0x56c899
cmp cl, 0x50
jne 0x56c8e9
lea eax, [ebp + 8]
inc esi
push eax
mov dword [ebp + 8], esi
call fcn.0056be10
mov edx, dword [ebp + 8]
mov esi, eax
pop ecx
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x5b67d9], 2
je 0x56c908
imul ecx, edi, 0xa
movsx edi, al
add edi, 0xffffffd0
add edi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x5b67d9], 2
mov al, byte [edx]
jne 0x56c8ba
test esi, esi
je 0x56c8da
neg edi
mov ecx, dword [ebp - 8]
mov eax, ecx
mov esi, dword [ebp + 0xc]
shl eax, 2
add eax, edi
mov dword [esi], edx
cmp dword [ebp - 0x18], 0
je 0x56c8f6
xorps xmm1, xmmword [0x5c4a30]
push eax
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.0053aabc
add esp, 0xc
jmp 0x56c90a
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5726f8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004a0ea0
mov eax, dword [0x5d406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x1018], ebx
call fcn.00564d13
push ebx
lea esi, [eax - 1]
mov dword [ebp - 0x1020], esi
call fcn.0057e543
pop ecx
pop ecx
test esi, esi
jne 0x57276e
push 1
push ebx
push edi
call fcn.00572d82
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov ebx, eax
inc esi
push dword [ebp - 0x1018]
call fcn.0053768f
pop ecx
test eax, eax
je 0x5728ca
push 0
push 0
push edi
call fcn.00566373
jmp 0x5728c5
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.005661e5
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp - 0x1020]
add esp, 0xc
inc ebx
mov dword [ebp - 0x101c], esi
dec eax
mov dword [ebp - 0x1020], eax
test ebx, ebx
je 0x57274b
push esi
push edi
call fcn.00565ac9
pop ecx
pop ecx
cmp eax, 3
jne 0x57283b
push esi
push edi
call fcn.00566072
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5727eb
mov ebx, dword [ebp - 0x1018]
push ebx
call fcn.00537ae0
mov esi, eax
push ebx
push esi
call fcn.00538239
push 0x5bd6e4
push edi
call fcn.005651d9
xor ebx, ebx
add esp, 0x14
cmp esi, 0xffffffff
setne bl
jmp 0x572833
lea eax, [ebp - 0x1014]
push eax
push edi
call fcn.00565fc6
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.005668fc
push dword [ebp - 0x1018]
push esi
push 1
push eax
call fcn.00538641
mov esi, eax
lea eax, [ebp - 0x1014]
add dword [ebp - 0x100c], esi
push eax
call fcn.0056697b
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb ebx, ebx
neg ebx
mov esi, dword [ebp - 0x101c]
jmp 0x57289f
push 0
push esi
push edi
call fcn.005660d2
add esp, 0xc
cmp byte [eax], 0x2a
jne 0x57284d
inc eax
movsx eax, byte [eax]
sub eax, 0x4c
je 0x57288c
sub eax, 0x15
je 0x572879
sub eax, 0xb
je 0x572875
dec eax
sub eax, 1
jne 0x5728b9
push dword [ebp - 0x1018]
push edi
call fcn.00572e97
pop ecx
pop ecx
jmp 0x57289d
push 1
jmp 0x57288e
push dword [ebp - 0x1018]
push edi
call fcn.00572d0e
pop ecx
xor ebx, ebx
pop ecx
inc ebx
jmp 0x57289f
push 0
push dword [ebp - 0x1018]
push edi
call fcn.00572d82
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x1020]
inc esi
mov dword [ebp - 0x101c], esi
test eax, eax
jne 0x572792
jmp 0x57274b
push str.invalid_format
push esi
push edi
call fcn.00565ee9
add esp, 0xc
jmp 0x5728e4
test ebx, ebx
jne 0x5728df
push 0xfffffffffffffffe
push edi
call fcn.00565794
push edi
call fcn.005651a7
add esp, 0xc
sub esi, dword [ebp + 0x10]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0111
mov esp, ebp
pop ebp
ret
Function at 0x5728f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.00564d13
mov edi, dword [ebp + 0x10]
pop ecx
push 1
pop esi
sub eax, edi
je 0x5729bb
dec eax
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.00565ac9
pop ecx
pop ecx
cmp eax, 3
jne 0x57298e
push edi
push ebx
call fcn.00564dce
pop ecx
pop ecx
push 0
push edi
push ebx
test eax, eax
je 0x572950
call fcn.00565920
push edx
push eax
push str._lld
push dword [ebp + 0xc]
call fcn.00563ec5
add esp, 0x1c
jmp 0x57296b
call fcn.005659e9
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.00563ec5
add esp, 0x10
test esi, esi
je 0x572973
test eax, eax
jg 0x5729b6
xor esi, esi
mov eax, dword [ebp - 4]
inc edi
test eax, eax
jne 0x572914
test esi, esi
jne 0x5729bb
push esi
push esi
push ebx
call fcn.00566373
add esp, 0xc
jmp 0x5729be
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
call fcn.005660d2
add esp, 0xc
test esi, esi
je 0x572973
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.00537edb
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jne 0x572973
xor esi, esi
inc esi
jmp 0x572975
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x572d0e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004a0ea0
mov eax, dword [0x5d406c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1014]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ecx
push eax
call fcn.00565fc6
pop ecx
pop ecx
mov edi, 0x1000
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.005668fc
push esi
push edi
push 1
push eax
call fcn.00538641
add dword [ebp - 0x100c], eax
add esp, 0x18
cmp eax, edi
je 0x572d41
lea eax, [ebp - 0x1014]
push eax
call fcn.0056697b
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a0111
mov esp, ebp
pop ebp
ret
Function at 0x57cb0e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x5d406c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5fa1d8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x5fa1c8
jne 0x57cb98
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00530990
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004053a0
push eax
mov ecx, edi
call fcn.00405350
push 0
push 1
lea ecx, [ebp - 0x444]
call fcn.00405c70
push ebx
lea ecx, [ebp - 0x42c]
call fcn.00405420
cmp dword [0x5fa1dc], 8
lea ecx, [ebp - 0x444]
cmovae edi, dword [0x5fa1c8]
push edi
call fcn.004053a0
push str._install_path_
lea ecx, [ebp - 0x45c]
call fcn.004053a0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0057ca59
add esp, 0xc
lea ecx, [ebp - 0x45c]
xor ebx, ebx
push ebx
push 1
call fcn.00405c70
push ebx
push 1
lea ecx, [ebp - 0x444]
call fcn.00405c70
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00530990
add esp, 0xc
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.004053a0
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x45d], 0x5c
mov byte [ebp - 0x45e], 0x2f
jb 0x57cc6b
mov ecx, dword [esi]
jmp 0x57cc6d
mov ecx, esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x57cc7d
mov ecx, dword [esi]
jmp 0x57cc7f
mov ecx, esi
lea edx, [ebp - 0x45d]
push edx
lea edx, [ebp - 0x45e]
push edx
push eax
push ecx
call fcn.0051f5ef
add esp, 0x10
lea ecx, [ebp - 0x42c]
push ebx
push 1
call fcn.00405c70
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0111
mov esp, ebp
pop ebp
ret
Function at 0x57ccb8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5d406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x230]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x22c
push 0
push eax
call fcn.00530990
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x57cd57
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x57cd4c
cmp dword [edi + 0x14], 8
jb 0x57cd1d
mov eax, dword [edi]
jmp 0x57cd1f
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x57cd3f
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.0057d6f1
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x57cd13
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0111
mov esp, ebp
pop ebp
ret

Function at 0x57cd68
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5d406c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0x22c
xor ebx, ebx
push ebx
push eax
call fcn.00530990
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x57cdab
xor al, al
jmp 0x57ce1a
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x57ce0d
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004053a0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041a8b0
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00424f30
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00406120
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405c70
lea eax, [ebp - 0x260]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x57cdc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0111
mov esp, ebp
pop ebp
ret
Function at 0x57df35
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
push ecx
push str.kernel32.dll
mov dword [ebx], ecx
mov dword [eax], ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x57dfaa
push esi
push edi
call fcn.004a0398
pop ecx
mov esi, eax
xor eax, eax
push esi
push edi
push eax
push str.kernel32.dll
mov dword [ebp + 8], eax
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x57dfa2
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x5bf188
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x57dfa2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call fcn.004a0163
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x57dfb0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
je 0x57dfd2
cmp word [ebp - 0x24], 6
je 0x57dfd2
xor al, al
jmp 0x57dfd4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push edi
mov ebx, ecx
push 0x400
call fcn.00402200
mov ebp, dword [esp + 0x14]
mov dword [ebx], eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00402200
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebx + 4], edx
je 0x401097
cmp dword [ebx], 0
je 0x401097
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push str._s:_Entering_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x20202020
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx]
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov ecx, dword [0x40ce68]
add eax, ecx
inc ecx
push eax
mov dword [0x40ce68], ecx
call fcn.0040220e
mov ecx, dword [ebx]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
ret 4
pop edi
mov eax, ebx
pop ebp
pop ebx
ret 4

Function at 0x4010a0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x401105
mov edi, dword [esi]
test edi, edi
je 0x401105
mov ecx, 0x100
mov eax, 0x20202020
rep stosd dword es:[edi], eax
mov eax, dword [0x40ce68]
test eax, eax
jle 0x4010dc
dec eax
mov dword [0x40ce68], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
add edx, eax
push str._s:_Leaving_n
push edx
jmp 0x4010e8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push str._s:_Leaving_n
push ecx
call fcn.0040220e
mov edx, dword [esi]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 4]
push eax
call fcn.00402260
add esp, 4
mov esi, dword [esi]
test esi, esi
je 0x401114
push esi
call fcn.00402260
add esp, 4
pop edi
pop esi
ret

Function at 0x401120
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, 0x100
mov edi, dword [esi]
mov eax, 0x20202020
rep stosd dword es:[edi], eax
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x40ce68]
add edx, eax
push ecx
push edx
call fcn.0040226b
mov eax, dword [esi]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
ret
Function at 0x401ea0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4081d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
push str.StringFromKey
lea ecx, [esp + 0x14]
call fcn.00401000
xor edi, edi
push 0x104
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
mov dword [esp + 8], esi
jne 0x401ef2
push str.LocalAlloc_returned_NULL
jmp 0x401fe0
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push ecx
push 0x104
push esi
push 0x40ce6c
push str.StringFromKey
push 0x40a4c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x401fc9
push 0x40a438
push esi
mov ebp, esi
call fcn.004022bc
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x401f58
mov edi, 0x40ce70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x1c]
push str.Variable:__s
push eax
call fcn.00401120
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
call fcn.00402cee
add esp, 0x14
test eax, eax
je 0x401fc1
test ebx, ebx
je 0x401fc9
lea ebp, [ebx + 1]
push 0x40a438
push ebp
call fcn.004022bc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x401fbb
mov edi, 0x40ce70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
test ebp, ebp
jne 0x401f58
jmp 0x401fc9
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x14]
pop ebp
cmp edi, 1
pop ebx
jne 0x401fed
push str.Read_string_from_key
lea eax, [esp + 0x14]
push eax
call fcn.00401120
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004010a0
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x436cb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x436cdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x436cdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x4f8912aa
Capabilities:
Encode data using xor

Disassembly:
call 0x4f891223
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4f891253
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4f89126f
xor edx, 0
jmp 0x4f89127a
xor edx, edx
jmp 0x4f891291
jmp 0x4f89129d
xor eax, eax
push 0x8427d7c0
call 0x4f8912aa
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f8912e6
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4f8912bf
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4f8912fd
add eax, 0
jno 0x4f891302
add esi, 0
ret 0x10

Function at 0x4f89206b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4f89208d
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4f89222f
cmp edi, dword [ebp + 0x10]
jb 0x4f89222f
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.4f891b57
inc edi
jmp 0x4f892116
jmp 0x4f892123
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891b57
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891b57
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4f892177
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4f89215b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f8921a5
add dword [eax], 0x39
jle 0x4f892181
sub al, 0xf5
mov ch, al
call fcn.4f8921ba
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10