joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013bb
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c0a0
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c2cf
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x3d
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x34
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x2e
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xb3
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xa2
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc6
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xde
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x69
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc5
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xce
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xa4
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x3d
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xba
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xe1
inc ebx
cmp esi, ebx
jne 0x40c0c0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sub.KERNEL32.dll_GetLastError
test eax, eax
mov edx, eax
jne 0x401cc0
mov ecx, dword [0x410ba8]
test ecx, ecx
jne 0x401c91
mov dword [esp], 0
xor edx, edx
mov eax, str.Launch4j
mov dword [esp + 0xc], edx
mov ecx, 0x410620
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
cmp byte [0x410a20], 0
je 0x401c86
mov eax, dword [0x410c20]
test eax, eax
jne 0x401dc0
mov dword [esp], 0
mov ecx, 1
xor eax, eax
mov dword [esp + 0x14], ecx
xor edx, edx
mov ecx, 0x410a20
mov dword [esp + 0x10], eax
mov eax, str.open
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov eax, dword [0x410c20]
test eax, eax
jne 0x401cb1
leave
ret
mov dword [esp], str._s:__s_n
mov edx, 0x410620
mov eax, str.Launch4j
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
jmp 0x401c3a
mov dword [esp], eax
call sub.msvcrt.dll_fclose
leave
ret
mov dword [esp + 8], edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
lea eax, [ebp - 4]
mov dword [esp + 0x14], ecx
mov ecx, 0x400
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 0x1300
call sub.KERNEL32.dll_FormatMessageA
mov edx, dword [0x410c20]
sub esp, 0x1c
test edx, edx
jne 0x401da3
mov ecx, 0x410620
nop
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x401d10
and edx, 0x8080
jne 0x401d36
shr eax, 0x10
add ecx, 2
add al, al
mov eax, ecx
mov edx, 0xa0a
sbb eax, 3
sub eax, 0x410620
mov word [eax + 0x410620], dx
mov byte [eax + 0x410622], 0
mov ecx, dword [ebp - 4]
mov dword [esp], 0x410620
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strcat
mov edx, dword [0x410ba8]
test edx, edx
je 0x401ddf
mov dword [esp], str._s:__s_n
mov eax, 0x410620
mov ecx, str.Launch4j
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_printf
mov edx, dword [ebp - 4]
mov dword [esp], edx
call sub.KERNEL32.dll_LocalFree
sub esp, 4
jmp 0x401c3a
mov eax, dword [ebp - 4]
mov ecx, str.Error:_t_t_s_n
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
jmp 0x401d03
mov dword [esp], eax
mov edx, 0x410a20
mov ecx, str.Open_URL:_t_s_n
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fprintf
jmp 0x401c50
mov dword [esp], 0
xor eax, eax
mov ecx, str.Launch4j
mov dword [esp + 0xc], eax
mov edx, 0x410620
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x401d90
Function at 0x401e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov eax, 0x400
mov ebp, esp
push ebx
mov edx, 0xa
sub esp, 0x14
movzx ecx, word [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [0x410c70]
mov dword [esp], eax
call sub.KERNEL32.dll_FindResourceExA
sub esp, 0x10
test eax, eax
je 0x401e96
mov dword [esp + 4], eax
mov edx, dword [0x410c70]
mov dword [esp], edx
call sub.KERNEL32.dll_LoadResource
sub esp, 8
test eax, eax
je 0x401eb0
mov dword [esp], eax
call sub.KERNEL32.dll_LockResource
sub esp, 4
test eax, eax
mov ecx, eax
je 0x401eb0
xor edx, edx
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [edx + ecx]
mov byte [edx + ebx], al
inc edx
test al, al
jne 0x401e80
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret
mov dword [esp], 0
call sub.KERNEL32.dll_SetLastError
sub esp, 4
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret

Function at 0x401ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
cld
mov ecx, 5
push esi
lea edi, [ebp - 0x38]
push ebx
sub esp, 0x4c
rep stosd dword es:[edi], eax
movzx ecx, word [ebp + 8]
mov edx, 0xa
mov esi, 0x400
mov dword [esp + 0xc], esi
lea ebx, [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [0x410c70]
mov dword [esp], eax
call sub.KERNEL32.dll_FindResourceExA
sub esp, 0x10
test eax, eax
je 0x401f69
mov dword [esp + 4], eax
mov edx, dword [0x410c70]
mov dword [esp], edx
call sub.KERNEL32.dll_LoadResource
sub esp, 8
test eax, eax
je 0x401f4c
mov dword [esp], eax
call sub.KERNEL32.dll_LockResource
sub esp, 4
test eax, eax
mov ecx, eax
je 0x401f4c
xor edx, edx
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [edx + ecx]
mov byte [edx + ebx], al
inc edx
test al, al
jne 0x401f40
cld
mov esi, ebx
mov edi, 0x4070b4
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
sete bl
lea esp, [ebp - 0xc]
movzx eax, bl
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
mov esi, ebx
mov edi, 0x4070b4
call sub.KERNEL32.dll_SetLastError
cld
mov ecx, 5
sub esp, 4
repe cmpsb byte [esi], byte es:[edi]
sete bl
lea esp, [ebp - 0xc]
movzx eax, bl
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov edx, str.HKEY_CLASSES_ROOT
mov ebp, esp
push edi
push esi
mov esi, 0x80000000
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x4020f8
mov dword [esp], ebx
mov eax, str.HKEY_CURRENT_USER
mov esi, 0x80000001
mov dword [esp + 4], eax
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x4020f8
mov dword [esp], ebx
mov ecx, str.HKEY_LOCAL_MACHINE
mov esi, 0x80000002
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x4020f8
mov dword [esp], ebx
mov esi, str.HKEY_USERS
mov dword [esp + 4], esi
mov esi, 0x80000003
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x4020f8
mov dword [esp], ebx
mov edi, str.HKEY_CURRENT_CONFIG
mov esi, 0x80000005
mov dword [esp + 4], edi
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x4020f8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
mov ecx, 0x5c
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strchr
mov dword [esp], ebx
lea edi, [eax + 1]
mov eax, 0x5c
mov dword [esp + 4], eax
call sub.msvcrt.dll_strrchr
lea ebx, [eax + 1]
mov byte [ebx - 1], 0
mov edx, dword [0x410ba4]
mov dword [ebp - 0x18], 0
test edx, edx
jne 0x4021b3
mov dword [esp + 4], edi
xor edx, edx
lea ecx, [ebp - 0x10]
mov dword [esp + 0x10], ecx
mov eax, 0x20019
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x4021a4
lea edx, [ebp + 0x10]
xor ecx, ecx
lea esi, [ebp - 0x14]
mov dword [esp + 0x14], edx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
mov esi, dword [ebp - 0x10]
test eax, eax
sete dl
movzx edi, dl
mov dword [ebp - 0x18], edi
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov byte [ebx - 1], 0x5c
mov eax, dword [ebp - 0x18]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edi
xor edx, edx
lea ecx, [ebp - 0x10]
mov dword [esp + 0x10], ecx
mov eax, 0x20119
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x40215e
jmp 0x402135
Function at 0x402280
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ecx, 0x400
mov ebp, esp
push edi
mov edx, 0x400
xor eax, eax
push esi
push ebx
sub esp, 0x44c
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x424], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x42c], ebx
lea ebx, [ebp - 0x418]
mov dword [ebp - 0x428], esi
xor esi, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memset
jmp 0x402301
mov dword [esp], ebx
mov edx, 0x410520
mov dword [esp + 4], edx
call sub.msvcrt.dll_strcmp
test eax, eax
jle 0x40236b
mov eax, dword [0x410c20]
test eax, eax
jne 0x402410
mov eax, 0x400
mov dword [ebp - 0x424], eax
mov dword [esp + 4], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x420]
mov dword [esp + 0x1c], eax
xor eax, eax
inc esi
mov dword [esp + 0x18], edx
lea edx, [ebp - 0x424]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
test eax, eax
jne 0x402423
mov dword [esp], ebx
mov eax, 0x4105a0
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcmp
test eax, eax
js 0x4022e9
cmp byte [0x410520], 0
jne 0x4022d0
mov dword [esp], ebx
mov ecx, 0x4104a0
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strcmp
test eax, eax
jle 0x4022e9
mov dword [esp + 4], ebx
mov dword [esp], 0x4104a0
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], edi
mov dword [esp], 0x410380
call sub.msvcrt.dll_strcpy
mov dword [esp], 0x410380
call sub.msvcrt.dll_strlen
cmp byte [eax + 0x41037f], 0x5c
je 0x4023c5
mov edx, 0x5c
mov word [eax + 0x410380], dx
mov dword [esp + 4], ebx
mov dword [esp], 0x410380
call sub.msvcrt.dll_strcat
mov eax, dword [ebp - 0x42c]
mov dword [0x410ba0], eax
mov eax, dword [0x410c20]
test eax, eax
je 0x4022f6
mov dword [esp + 0xc], ebx
mov ecx, str.Match:_t_t_s_s_n
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov esi, esi
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4022f6
mov dword [esp + 0xc], ebx
mov edx, str.Ignore:_t_t_s_s_n
mov dword [esp + 8], edi
mov dword [esp + 4], edx
jmp 0x402400
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov eax, dword [0x410c20]
test eax, eax
jne 0x4024a2
mov eax, dword [0x410ba4]
lea esi, [ebp - 0x10]
test eax, eax
jne 0x4024d0
mov eax, dword [0x410c20]
test eax, eax
jne 0x402596
mov dword [esp + 0x10], esi
xor eax, eax
mov edx, 0x20019
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x402568
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 8], ebx
mov edx, str.64_bit_search:_t_s..._n
lea esi, [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x410ba4]
test eax, eax
je 0x40245a
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0x10], esi
xor ecx, ecx
mov edx, 0x20119
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x40245a
mov dword [esp + 4], ebx
mov edx, edi
or edx, 0x100
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [esp], ecx
call fcn.00402280
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
test byte [0x410ba1], 1
je 0x40245a
mov eax, dword [0x410c20]
test eax, eax
je 0x402495
mov dword [esp + 0xc], eax
mov esi, 0x16
mov ebx, 1
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.Using_64_bit_runtime._n
call sub.msvcrt.dll_fwrite
jmp 0x402495
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esp], ebx
call fcn.00402280
mov edi, dword [ebp - 0x10]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 8], ebx
mov ecx, str.32_bit_search:_t_s..._n
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x402467
Function at 0x402640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x43c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea ebx, [esi - 2]
cmp ebx, 1
ja 0x402700
mov dword [esp], str.SOFTWAREJavaSoftJava_Development_Kit
mov edx, 2
mov dword [esp + 4], edx
call fcn.00402430
cmp esi, 3
je 0x402690
mov dword [esp], str.SOFTWAREJavaSoftJava_Runtime_Environment
mov eax, 1
mov dword [esp + 4], eax
call fcn.00402430
lea esi, [esi]
mov edx, dword [0x410ba0]
test edx, edx
jne 0x402760
cmp ebx, 1
ja 0x402737
mov dword [esp], str.SOFTWAREIBMJava_Development_Kit
mov ebx, 2
mov dword [esp + 4], ebx
call fcn.00402430
cmp esi, 3
je 0x402754
mov dword [esp], str.SOFTWAREIBMJava2_Runtime_Environment
mov esi, 1
mov dword [esp + 4], esi
call fcn.00402430
mov edx, dword [0x410ba0]
test edx, edx
jne 0x402760
lea esi, [esi]
lea edi, [edi]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.SOFTWAREJavaSoftJava_Runtime_Environment
mov ecx, 1
mov dword [esp + 4], ecx
call fcn.00402430
test esi, esi
je 0x402690
mov dword [esp], str.SOFTWAREJavaSoftJava_Development_Kit
mov edx, 2
mov dword [esp + 4], edx
call fcn.00402430
jmp 0x402690
mov dword [esp], str.SOFTWAREIBMJava2_Runtime_Environment
mov eax, 1
mov dword [esp + 4], eax
call fcn.00402430
test esi, esi
jne 0x40286d
mov edx, dword [0x410ba0]
test edx, edx
je 0x4026f0
mov esi, esi
mov dword [esp], 0x80000002
and edx, 0x100
xor ebx, ebx
mov dword [esp + 8], ebx
or edx, 0x20019
lea esi, [ebp - 0x41c]
mov dword [esp + 0xc], edx
mov edx, 0x410380
mov dword [esp + 0x10], esi
mov dword [esp + 4], edx
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x4026f0
xor edx, edx
lea esi, [ebp - 0x418]
mov ebx, 0x400
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x424]
mov dword [esp + 4], edx
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov ecx, 0x400
xor edx, edx
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ecx
mov ecx, str.JavaHome
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x402887
xor edx, edx
lea esi, [esi]
movzx eax, byte [edx + ebp - 0x418]
mov byte [edx + edi], al
inc edx
test al, al
jne 0x402810
test byte [0x410ba0], 2
je 0x40284f
mov dword [esp], edi
call sub.msvcrt.dll_strlen
cmp byte [eax + edi - 1], 0x5c
je 0x40283e
mov word [eax + edi], 0x5c
mov dword [esp], edi
mov esi, 0x40721c
mov dword [esp + 4], esi
call sub.msvcrt.dll_strcat
mov edi, dword [ebp - 0x41c]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.SOFTWAREIBMJava_Development_Kit
mov ecx, 2
mov dword [esp + 4], ecx
call fcn.00402430
jmp 0x4026da
mov ecx, dword [ebp - 0x41c]
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x4026f0
Function at 0x404ca0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov eax, 0x809c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004050a0
cld
xor eax, eax
mov edi, 0x410c80
mov ecx, 4
mov edx, 0x44
lea esi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
xor eax, eax
mov ebx, 0x410020
mov dword [esp], esi
mov edi, 0xffffffff
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov dword [esp + 4], ebx
mov ecx, 0x22
lea ebx, [ebp - 0x8068]
mov word [ebp - 0x8068], cx
mov dword [ebp - 0x806c], edi
xor edi, edi
mov dword [esp], ebx
mov dword [ebp - 0x68], 0x44
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov word [eax + ebx], 0x2022
mov edx, 0x408020
mov byte [eax + ebx + 2], 0
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp + 0x20], esi
mov ecx, dword [0x410c60]
mov eax, 0x410c80
mov dword [esp + 0x24], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x1c], edi
mov edx, 1
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x404d90
mov esi, dword [ebp + 8]
test esi, esi
jne 0x404da0
xor ecx, ecx
mov dword [ebp - 0x806c], ecx
mov eax, dword [ebp - 0x806c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x410c80]
mov edi, 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], ecx
call sub.KERNEL32.dll_WaitForSingleObject
mov ebx, dword [0x410c80]
sub esp, 8
lea edx, [ebp - 0x806c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.KERNEL32.dll_GetExitCodeProcess
mov edx, dword [0x410c20]
sub esp, 8
test edx, edx
jne 0x404e17
mov edx, dword [0x410c84]
mov dword [esp], edx
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [0x410c80]
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [0x410c20]
sub esp, 4
test eax, eax
je 0x404d90
mov dword [esp], eax
call sub.msvcrt.dll_fclose
jmp 0x404d90
mov dword [esp], edx
mov esi, dword [ebp - 0x806c]
mov eax, str.Exit_code:_t_d_n
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sub.msvcrt.dll_fprintf
jmp 0x404ddf
Function at 0x404e40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004050a0
call fcn.00405030
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x404e78
jmp 0x404f16
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x404e77
cmp cl, 0x22
je 0x404ed0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x404ef0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x404ef0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x404eb0
jmp 0x404ef0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x404ed0
cmp cl, 0x22
je 0x404f52
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x404f10
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x404f00
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x404f34
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004013b0
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x404ef0
Function at 0x403189
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x4032ce
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, str.Aristknc
mov ebp, 0x4342f8
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
sub byte [esi + edi], 0x2e
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0x2e
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0xeb
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0xbe
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0xcf
push ebx
push ebp
call fcn.00401220
add esp, 0x44
push eax
call fcn.004018aa
add byte [esi + edi], 0x59
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0xcd
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0x53
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0xf8
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0x21
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0xc2
add esp, 0x40
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0x56
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 9
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0x51
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
add byte [esi + edi], 0x62
push ebx
push ebp
call fcn.00401220
push eax
call fcn.004018aa
xor byte [esi + edi], 0xd7
add esp, 0x3c
inc esi
cmp esi, dword [esp + 0x18]
jb 0x4031a7
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x403df3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x433014]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403e5c
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b37
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403f4a
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403e74
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402ffe
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403e24
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407e99
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402ffe
jmp 0x403e5e