joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410627
Capabilities:
Get file attributes

Disassembly:
push 0xc
mov eax, 0x42b5ad
call fcn.00428734
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410131
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
mov eax, esi
test esi, esi
jne 0x41064d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x410669
push esi
call fcn.004188c4
and dword [ebp - 0x14], 0
pop ecx
mov eax, edi
call fcn.00428711
ret

Function at 0x4109cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, esi
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 7
jbe 0x4109f2
mov eax, dword [esi]
xor ecx, ecx
mov edi, 0x104
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x410a15
xor al, al
jmp 0x410a9e
cmp eax, edi
jae 0x410a2b
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004026db
mov al, 1
jmp 0x410a9e
inc eax
push 2
pop ecx
mov dword [ebp - 0x210], eax
mul ecx
setb cl
movsx ecx, cl
neg ecx
or ecx, eax
push ecx
call fcn.004120d3
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x410a85
cmp eax, dword [ebp - 0x210]
jae 0x410a85
push edi
mov ecx, esi
call fcn.004026db
mov bl, 1
push edi
call fcn.0041205f
pop ecx
test bl, bl
jne 0x410a9c
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412051
leave
ret

Function at 0x410aad
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x1c
mov eax, 0x42b5df
call fcn.00428734
mov esi, edx
push ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00410131
and dword [ebp - 4], 0
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00410131
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00410266
mov esi, dword [ebp - 0x18]
mov eax, esi
and dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x1c]
test esi, esi
jne 0x410af1
mov eax, ebx
mov edi, dword [ebp - 0x24]
mov ecx, edi
test edi, edi
jne 0x410afd
mov ecx, dword [ebp - 0x28]
push 0
lea edx, [ebp - 0x10]
push edx
push dword [ebp + 8]
push 0x410b71
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x410b1b
xor bl, bl
jmp 0x410b43
mov ecx, esi
test esi, esi
jne 0x410b23
mov ecx, ebx
call fcn.00410627
cmp eax, 0xffffffff
je 0x410b40
test al, 1
je 0x410b40
dec eax
test esi, esi
je 0x410b38
mov ebx, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 0
test esi, esi
je 0x410b56
push esi
call fcn.004188c4
and dword [ebp - 0x18], 0
pop ecx
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x410b69
push edi
call fcn.004188c4
and dword [ebp - 0x24], 0
pop ecx
mov al, bl
call fcn.00428711
ret
Function at 0x410b9a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
je 0x410bd3
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410bda
mov eax, dword [ebp + 8]
test eax, eax
je 0x410bda
cmp eax, esi
ja 0x410bda
add edi, eax
sub esi, eax
jne 0x410bab
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
xor al, al
jmp 0x410bd5
Function at 0x41174b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
test edi, edi
jne 0x41175d
lea edi, [ebp - 8]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x41183c
push edi
push ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp dword [ebp + 0x14], ebx
je 0x411829
test esi, esi
jne 0x4117a3
mov eax, dword [edi]
mov dword [ebp + 0x18], eax
add eax, 8
jmp 0x4117b8
cmp esi, 0xea
jne 0x411827
mov eax, 0x400
mov dword [ebp + 0x18], eax
mov dword [edi], eax
add eax, 8
push eax
call fcn.004120d3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x411829
push edi
push ebx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x411814
push ebx
cmp esi, 0xea
jne 0x411809
call fcn.0041205f
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 1
add ecx, eax
mov dword [ebp + 0x18], ecx
mov dword [edi], ecx
lea eax, [ecx + 8]
push eax
call fcn.004120d3
pop ecx
pop ecx
mov ebx, eax
jmp 0x4117c5
and dword [edi], 0
call fcn.0041205f
pop ecx
jmp 0x411829
mov eax, dword [ebp + 0x18]
and dword [eax + ebx], 0
and dword [eax + ebx + 4], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x411829
mov dword [edi], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41183c
mov esi, eax
test eax, eax
je 0x411843
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
test esi, esi
pop esi
sete al
pop ebx
leave
ret

Function at 0x411931
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x82c
mov eax, 0x42b74a
call fcn.00428767
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00411a3e
lea eax, [ebp - 0x830]
push eax
push 8
push 0
push str.MIMEDatabaseContent_Type
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x411a2c
xor ebx, ebx
lea eax, [ebp - 0x838]
mov dword [ebp - 0x82c], 0x400
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x4119b5
cmp dword [ebp - 0x82c], 0x400
jae 0x411a0f
cmp esi, 0x103
je 0x411a14
test esi, esi
jne 0x411a16
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.004074f4
and dword [ebp - 4], esi
lea ecx, [ebp - 0x828]
mov eax, dword [edi + 4]
push ecx
cmp eax, dword [edi + 8]
je 0x4119f2
mov ecx, eax
call fcn.00402d2d
add dword [edi + 4], 0x18
jmp 0x4119fa
push eax
mov ecx, edi
call fcn.00411a63
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00402dc7
inc ebx
jmp 0x411971
push 0x7a
pop esi
jmp 0x411a16
xor esi, esi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x411a2c
mov esi, eax
test eax, eax
je 0x411a33
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
call fcn.00428725
ret
Function at 0x412afa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x412b39
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412b39
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412b39
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x412b39
cmp dword [ecx + 0x74], 0xe
jbe 0x412b39
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d8da
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f318
push 0x42f310
push str.FlsAlloc
push 0x1f
call fcn.0041d781
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d90e
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c36c]
call esi
jmp 0x41d914
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d958
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f328
push 0x42f320
push str.FlsGetValue
push 0x21
call fcn.0041d781
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d98f
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c36c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41d997
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f330
push 0x42f328
push str.FlsSetValue
push 0x22
call fcn.0041d781
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d9d1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c36c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x420cc0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041c084
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420d2f
cmp esi, dword [ebp - 4]
je 0x420d2a
cmp dword [ebp + 0xc], 0
je 0x420d2a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420d07
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00420812
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x420d31
xor eax, eax
inc eax
jmp 0x420d31
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x420d96
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041c084
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041c084
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x420e0d
cmp word [ecx], dx
je 0x420e0d
mov eax, dword [0x42f794]
push edi
dec eax
push eax
push 0x42f680
call fcn.00420d35
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x420e80
cmp word [eax], dx
je 0x420e80
mov eax, dword [edi]
test eax, eax
je 0x420e31
cmp word [eax], dx
je 0x420e31
lea eax, [ebp - 0x10]
push eax
call fcn.00420718
jmp 0x420e3a
lea eax, [ebp - 0x10]
push eax
call fcn.004207b3
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x420eaa
mov eax, dword [0x42f67c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42f370
call fcn.00420d35
add esp, 0xc
test al, al
je 0x420eaa
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x420e75
cmp word [eax], di
je 0x420e75
lea eax, [ebp - 0x10]
push eax
call fcn.00420718
pop ecx
jmp 0x420eac
lea eax, [ebp - 0x10]
push eax
call fcn.004207b3
jmp 0x420e72
mov eax, dword [edi]
test eax, eax
je 0x420e97
cmp word [eax], dx
je 0x420e97
lea eax, [ebp - 0x10]
push eax
call fcn.004206cd
pop ecx
jmp 0x420eaa
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x420f75
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00420bba
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x420f75
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x420f75
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x420f75
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420f02
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041dad7
test ebx, ebx
je 0x420f70
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041dad7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420f75
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420f75
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00415ddf
add esp, 0x10
xor eax, eax
inc eax
jmp 0x420f77
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412051
leave
ret
Function at 0x4212ac
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4212f7
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00421447
test al, al
jne 0x4212f1
sub edx, 2
cmp edx, edi
jne 0x4212d7
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421319
lea eax, [edi + 2]
cmp edx, eax
je 0x421319
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004211f8
add esp, 0x10
jmp 0x421413
push esi
lea ecx, [ebp - 0x255]
call fcn.00421447
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42135c
push dword [ebp - 0x25c]
jmp 0x421309
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421399
cmp word [ebp - 0x226], 0
je 0x4213ba
cmp word [ebp - 0x226], ax
jne 0x421399
cmp word [ebp - 0x224], 0
je 0x4213ba
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004211f8
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421406
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421373
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4213ee
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421413
push 0x421028
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00424a80
add esp, 0x10
jmp 0x4213e3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412051
leave
ret
Function at 0x4286e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42870d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42870d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x403ed4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x49b008], 0x8088405
inc edx
mov dword [ebx + 0x49b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x424cf4
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 0x424cfa
ret

Function at 0x462eb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x462ee6
mov eax, ebx
call fcn.0046396c
cmp dword [ebx + 0x40], 0
je 0x462edf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462f57
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462f49
cmp dword [ebx + 8], 0
je 0x462f08
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x462f1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462f49
cmp dword [ebx + 8], 0
je 0x462efb
cmp eax, 3
je 0x462f2d
dec eax
jne 0x462efb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x462efb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x462efb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462f75
cmp dword [ebx + 0x14], 0xcc
je 0x462f75
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462f80
pop ebx
ret
Function at 0x495618
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.00405614
mov esi, ebx
mov eax, dword [ebp]
call fcn.00405880
test ax, ax
jbe 0x495683
mov word [esp + 4], ax
mov bx, 1
mov eax, ebp
call fcn.00405ad8
movzx edi, bx
mov edx, dword [ebp]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec word [esp + 4]
jne 0x495648
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402f10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40467a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x1c
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x44], ebx
je 0x402f9f
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 8]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x14]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x18]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
jmp 0x402fa1
xor edi, edi
mov eax, dword [esi + 0x3a0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], 7
call ebp
mov ecx, dword [esi + 0x500]
mov dword [esp + 0x1c], ebx
lea ebx, [esi + 0x500]
mov dword [esp + 0x18], eax
mov eax, dword [ecx - 8]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::GetBuffer
push ebx
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::operator_1
lea edx, [esi + 0x2a8]
lea ecx, [edi + 4]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 0x2ac]
lea ecx, [edi + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x2b0]
push ecx
lea ecx, [edi + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esi + 0x2b4]
lea ecx, [edi + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 0x2b8]
lea ecx, [edi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x2bc]
push ecx
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x3a0]
lea edx, [esp + 0x14]
push edx
push 0
push 0x1007
push eax
mov dword [esp + 0x44], edi
call ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x403090
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x214
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push str.SOFTWAREJucyJucyIPChanger
push 0x80000001
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40313e
push eax
push eax
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x24]
push eax
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x40313e
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x2c]
dec esi
push eax
push ecx
push esi
push edx
call edi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x120]
push eax
push str.SOFTWAREJucyJucyIPChanger_s
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x120]
push edx
push 0x80000001
call ebp
test esi, esi
jg 0x4030f6
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x214
ret

Function at 0x403150
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x40]
neg eax
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
sbb eax, eax
lea ecx, [esp]
and eax, 0x40
push ecx
add eax, 0x400
mov dword [esp + 4], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4031be
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x20], 0x20
jbe 0x4031d9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x3c
ret 0xc
push 0
push 0
push 0x4072c4
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
add esp, 0x3c
ret 0xc

Function at 0x403440
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403487
cmp dword [esp + 4], 5
jb 0x403470
mov eax, 1
add esp, 0x94
ret
push 0
push 0
push 0x407328
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
add esp, 0x94
ret
push 0
push 0
push str.GetVersionEx_failed
call sub.MFC42.DLL_AfxMessageBox
xor eax, eax
add esp, 0x94
ret