joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100170fc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10017199
push ebx
push esi
call fcn.100170c5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100139c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10017146
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10017198
push edi
push eax
call fcn.100106fc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10017166
call fcn.100106c2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10017197
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100139c1
add esp, 0x20
test eax, eax
jne 0x10017185
push edi
call fcn.100106c2
jmp 0x1001718d
push ebx
call fcn.100106c2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001719c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100171ad
pop esi
ret
push ebx
push edi
push esi
call fcn.100170c5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100106fc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100171d5
push ebx
push esi
push edi
call fcn.100064c0
add esp, 0xc
push 0
call fcn.100106c2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100175a5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100171ea

Function at 0x1001c660
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001c68d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001c68d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5bbfd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14e000]
push edi
jmp 0x5bbfea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bbff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bbfe0
mov eax, 1
add ebx, ebx
jne 0x5bc003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bc014
jne 0x5bc033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc033
dec eax
add ebx, ebx
jne 0x5bc020
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bbff8
add ebx, ebx
jne 0x5bc02f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bc085
xor ecx, ecx
sub eax, 3
jb 0x5bc04b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bc0ba
sar eax, 1
mov ebp, eax
jmp 0x5bc056
add ebx, ebx
jne 0x5bc056
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc024
inc ecx
add ebx, ebx
jne 0x5bc064
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc024
add ebx, ebx
jne 0x5bc071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bc066
jne 0x5bc082
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bc066
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bc0a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bc096
jmp 0x5bbfe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bc0a4
add edi, ecx
jmp 0x5bbfe6
pop esi
mov edi, esi
mov ecx, 0x4caf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bc0c2
cmp byte [edi], 0x1e
jne 0x5bc0c2
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 0x5bc0c7
lea edi, [esi + 0x1b8000]
mov eax, dword [edi]
or eax, eax
je 0x5bc13f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cd914]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cda18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bc0f4
mov ecx, edi
jns 0x5bc123
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cda1c]
or eax, eax
je 0x5bc139
mov dword [ebx], eax
add ebx, 4
jmp 0x5bc111
call dword [esi + 0x1cda2c]
mov ebp, dword [esi + 0x1cda20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5bc173
sub esp, 0xffffff80
jmp 0x4aad92
Function at 0x4031c0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404be8
test esi, esi
jne 0x4031f6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404cd8
jmp 0x403214
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403064
mov edi, eax
test esi, esi
je 0x403214
cmp dword [ebx], 0
je 0x403214
dec esi
jmp 0x4031fd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403220
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x592008], 0x8088405
inc edx
mov dword [ebx + 0x592008], edx
fld qword [ebx + 0x592760]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403a84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x592024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403afc
xor eax, eax
push ebp
push 0x403af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403b38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403afc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x592024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x592024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404994
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5bf04c], 0
je 0x4049f5
cmp word [0x5bf220], 0xd7b2
jne 0x4049bd
cmp dword [0x5bf228], 0
jbe 0x4049bd
mov eax, 0x5bf21c
call dword [0x5bf238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404a1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x592034], 0
jne 0x404a11
push 0
push 0x592768
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x592038], 0
je 0x404b92
mov edx, esi
mov eax, ebx
call dword [0x592038]
jmp 0x404ba1
mov eax, 8
call fcn.00402d58
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x5bf04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b34
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x406720
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406950
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4067a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406950
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4067a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40696c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40682c
xor eax, eax
push ebp
push 0x406825
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040655c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40680a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40698c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40680a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40682c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406946
cmp byte [ebp - 0xd], 0
jne 0x406873
cmp byte [ebp - 0x12], 0
je 0x406946
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40688c
dec ebx
cmp byte [ebx], 0x2e
je 0x40689b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40688b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406946
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4068d8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406946
cmp byte [ebp - 0xd], 0
je 0x406946
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406946
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40973c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4097cc
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4097cc
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40977f
test edx, 3
jne 0x40976e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x409779
jmp 0x40977f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40977f
cmp dword [ecx - 8], 1
je 0x409789
mov edx, ebx
or edx, 3
call fcn.00405344
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40979b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404be8

Function at 0x4097d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x409868
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x409868
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40981b
test edx, 3
jne 0x40980a
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x409815
jmp 0x40981b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40981b
cmp dword [ecx - 8], 1
je 0x409825
mov edx, ebx
or edx, 3
call fcn.00405344
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x409837
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00404be8

Function at 0x40a650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050bc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a669
test al, 0x10
je 0x40a66d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a674
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050bc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a68d
test al, 0x10
jne 0x40a691
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d858
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d891
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404cd8
jmp 0x40d89a
mov eax, ebx
mov edx, esi
call fcn.00404c3c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d8a4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d8c6
movzx eax, byte [esp]
jmp 0x40d8c8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40df58
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ddd0
mov eax, dword [0x5bebe0]
cmp byte [eax], 0
je 0x40dfd4
mov eax, dword [0x5be924]
call fcn.00403394
call fcn.00402ed0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a850
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e01c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e00a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5be8a8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5c17f8]
call fcn.00406504
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40e8e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e9b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c80
lea eax, [ebp - 4]
call fcn.0040510c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e9a0
mov eax, ebx
call fcn.00402d58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e999
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e983
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e9c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e983
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9a0
mov eax, dword [ebp - 0x10]
call fcn.00402d74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9bd
lea eax, [ebp - 4]
call fcn.00404be8
ret

Function at 0x424814
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424524
dec esi
jne 0x424836
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4259a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5c2308
cmp dword [edi], 0
jne 0x425a24
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5c2304]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x592c44
mov ecx, 2
call fcn.00402f64
mov edx, 0x425980
lea eax, [esi + 5]
call fcn.004259a0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004259a0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4259f9
mov dword [0x5c2304], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4297cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004050bc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x429824
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5bed6c]
mov dl, 1
mov eax, dword [0x4292f0]
call fcn.0040e148
call fcn.00404540
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004293f8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42aa54
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42aa5a
ret
Function at 0x444e58
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004050ac
xor eax, eax
push ebp
push 0x444f8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x444f60
xor edx, edx
push ebp
push 0x444f59
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x444ea5
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x444f2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x444f1d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x444ee4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004050bc
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402f64
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444f24
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5be810]
mov dl, 1
mov eax, dword [0x408994]
call fcn.0040e10c
call fcn.00404540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444f94
lea eax, [ebp - 4]
call fcn.00404be8
ret
Function at 0x444f9c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x445157
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004053a8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x445170
call fcn.00404f08
mov eax, ebx
call fcn.00424f28
mov edi, eax
dec edi
test edi, edi
jl 0x445054
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424efc
mov edx, dword [0x436c24]
call fcn.00403e18
test al, al
je 0x445050
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00424efc
lea edx, [ebp - 0x14]
call fcn.004545b8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004053a8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404f7c
inc esi
dec edi
jne 0x445002
movzx eax, byte [0x445174]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x445180
mov eax, dword [ebp - 8]
call fcn.0040f448
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404c80
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004545b8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x445170
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.004545b8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x445170
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x445170
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x44518c
call fcn.0040af68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44515e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404c0c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c0c
lea eax, [ebp - 0x14]
call fcn.00404be8
lea eax, [ebp - 0x10]
call fcn.00404be8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c0c
ret