joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018c15c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102876b0]
jne 0x1018c166
repz ret
jmp fcn.1018c40d

Function at 0x1018cc7d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001089
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1018cd40
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.1018c983
lea ecx, [0x1018dfc5]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], 0x13e600
mov edx, dword [0x10287674]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10287678]
mov dword [esp + 0x30], edx
mov edx, dword [0x1028767c]
mov dword [esp + 0x70], edx
mov edx, dword [0x10287680]
mov dword [esp + 0x38], edx
mov edx, dword [0x10287684]
mov dword [esp + 0x5c], edx
mov dword [0x10287688], 0x1b55
mov dword [0x1028768c], 0x19df
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1018cd63
mov dword [0x10287688], 0x795
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1018cd63
lea eax, [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.1018d55f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1018ccaa
jmp 0x1018cde5
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1018cd22
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1018cd22
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov dword [0x1028768c], 0x3d
mov dword [0x10287688], 0xffffdef4
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1018d8da
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10287688], 0x9dd
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1018cca0
Function at 0x1018cfde
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10287694], 0
mov byte [0x10287698], 0
mov dword [0x1028768c], 0x37b
mov dword [0x10287690], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10287688], 0x195
mov dword [0x1028768c], 0xfffff8ce
mov eax, dword [0x10287690]
add eax, 1
mov dword [0x10287690], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018d023
jmp 0x1018d071
mov dword [0x10287688], 0x1374
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xfffff8ce
xor ecx, ecx
mov dword [0x10287688], 0x6f3
mov dword [0x10287690], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x1028769c], 0
mov esi, dword [0x10287694]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x1028769c], ebx
add ecx, 0xffffe110
mov dword [0x10287688], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x10287694], edx
mov dword [0x1028768c], 0x2010
mov ebx, dword [ebp - 0x28]
mov cl, byte [edi + ebx]
mov byte [0x10287698], cl
mov dword [0x10287688], 0x21db
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov cl, byte [0x10287698]
mov edx, dword [0x10287694]
mov byte [edi + edx], cl
mov edx, dword [0x10287690]
add edx, 1
mov dword [0x10287690], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x1018d05f
mov eax, dword [0x1028768c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1018d092
Function at 0x1018d55f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1028768c], 0x8e3
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018d637
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1018d637
jmp 0x1018d651
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
mov dword [ebp - 0x20], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x24], eax
je 0x1018d614
jmp 0x1018d603
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1018d603
mov dword [0x1028768c], 0x27
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1018d61c
mov dword [0x10287688], 0x8eb
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x1018d614
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
mov dword [0x10287688], 0x192b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1018d682
jmp 0x1018d603
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x1018d598
mov eax, dword [ebp - 0x18]
mov dword [0x10287688], 0x4c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1018d603
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1018d5db
jmp 0x1018d603
mov dword [0x10287688], 0x157c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1018d5b8
jmp 0x1018d603
Function at 0x1018d8da
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1026a43a]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov dword [0x1028768c], 0x1712
mov ebx, dword [0x10287688]
add ebx, 0xffffecd1
mov dword [0x10287688], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1018d162
mov dword [0x1028768c], 0xa58
call fcn.1018d481
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1018cdf2
xor ecx, ecx
mov dword [0x10287688], 0x4cc
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x1018da19
mov dword [0x10287688], 0x1780
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1018d6c6
xor eax, eax
mov dword [0x10287688], 0x6a3
mov dword [0x1028768c], 0x1c22
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x1018da19
mov dword [0x1028768c], 0x6cd
mov eax, dword [ebp - 0x48]
add eax, 0x20ae
mov dword [0x10287688], 0x1dc0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018dbf6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x10287688]
mov edx, ecx
add edx, 0xfffff6a0
mov dword [0x1028768c], edx
add ecx, 0xffffdda3
mov dword [0x10287688], ecx
mov dword [ebp - 0x10], eax
call fcn.1018d280
xor ecx, ecx
mov edx, eax
mov dword [0x1028768c], 0x3d
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1018dc5c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10287688], 0xffffe1e3
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1018dd27
jmp 0x1018dd32
mov al, byte [ebp - 0x35]
test al, 1
jne 0x1018dcd0
jmp 0x1018dcaa
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], eax
jb 0x1018dd01
jmp 0x1018dd27
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x1028768c], 0x257f
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10287688], 0x2299
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x34], edx
jmp 0x1018dd27
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x1028768c], 0xffffd675
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
jmp 0x1018dd44
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jmp 0x1018dd01
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x35], cl
je 0x1018dca1
mov al, byte [ebp - 0x55]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x54]
add edx, 1
mov ah, byte [ebp - 0x35]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x50], edx
jne 0x1018dd44
jmp 0x1018dca1
Function at 0x1018dd9f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10287690], 0
mov dword [0x10287694], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x102876a0], 0
mov dword [0x10287688], 0xecf
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x1018df3e
jmp 0x1018def6
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
mov ebx, esi
add ebx, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10287690], edx
mov dword [0x10287688], 0x2136
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x10287694], edx
mov ecx, dword [ebp - 0x34]
mov dword [0x10287688], ecx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x10287698], cl
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x1c]
mov byte [edx + edi], cl
mov ecx, dword [0x10287688]
mov edx, ecx
add edx, 0xffffedd9
mov dword [0x10287688], edx
add ecx, 0xfffff568
mov dword [0x1028768c], ecx
mov cl, byte [0x10287698]
mov edx, dword [0x10287694]
mov edi, dword [ebp - 0x1c]
mov byte [edi + edx], cl
mov edx, dword [0x10287690]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10287694]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x10287688], 0x20d8
and ecx, 0xff
mov dword [0x102876a0], ecx
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov dword [0x1028768c], 0x17f8
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
je 0x1018df3e
jmp 0x1018df19
xor eax, eax
mov ecx, dword [0x1028768c]
add ecx, 0x2467
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x1018ddfb
mov eax, 0x3c5f
mov ecx, dword [0x10287690]
mov edx, dword [0x10287694]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jmp 0x1018ddfb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4032f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x451020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403388
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403368
xor eax, eax
push ebp
push 0x403361
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 0x4033a4
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 0x403368
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x451020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x451020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40406c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x453048], 0
je 0x4040cd
cmp word [0x45321c], 0xd7b2
jne 0x404095
cmp dword [0x453224], 0
jbe 0x404095
mov eax, 0x453218
call dword [0x453234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45106c
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 0x4040f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x451030], 0
jne 0x4040e9
push 0
push 0x451064
push 0x45106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e7a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404460
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402eb4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e64
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e81
lea eax, [ebp - 0x10]
call fcn.004041f0
ret

Function at 0x40ae94
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 0x40aecd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042e0
jmp 0x40aed6
mov eax, ebx
mov edx, esi
call fcn.00404244
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aee0
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 0x40af01
mov al, byte [esp]
jmp 0x40af03
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b598
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b400
mov eax, dword [0x451ff0]
cmp byte [eax], 0
je 0x40b614
mov eax, dword [0x451e28]
call fcn.00402d20
call fcn.00402bb4
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.00408648
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 0x40b65c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b64a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451ddc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00405280
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 0x40beb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bf8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404288
lea eax, [ebp - 8]
call fcn.00404700
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046b0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf78
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf71
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 - 8]
call fcn.004046b0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfa0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf5b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf78
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf95
lea eax, [ebp - 8]
call fcn.004041f0
ret

Function at 0x40c468
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c4cc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404460
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4d3
lea eax, [ebp - 0xc]
call fcn.004041f0
ret
Function at 0x41a794
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x453884
cmp dword [esi], 0
jne 0x41a83a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x453880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a76c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041a78c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041a78c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41a801
mov eax, dword [ebp - 8]
mov dword [0x453880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41ba10
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 0x41ba16
ret

Function at 0x41de88
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41ded9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dec0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41deb0
jmp 0x41ded9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41dec1
pop ebx
mov esp, ebp
pop ebp
ret