joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e0acc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004092fc
xor eax, eax
push ebp
push 0x5e0bb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00406ff8
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x41
mov ax, word [ebp - 8]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00409798
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x5e0b47
mov dword [ebp - 0x10], 0xffffffff
jmp 0x5e0b7c
cmp byte [ebp - 9], 0
jne 0x5e0b64
cmp dword [ebp + 8], 0
je 0x5e0b5b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
mov dword [ebp - 0x10], 0xffffffff
jmp 0x5e0b9a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x64], 0
je 0x5e0b8b
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x60], 0
je 0x5e0b9a
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0bb7
lea eax, [ebp - 4]
call fcn.00409218
ret
Function at 0x102005b0
Capabilities:
Access peb ldr_data

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]
mov edx, dword [0x1020f3c4]
add edx, 0x2dd
mov dword [0x1020f3c8], edx
mov dword [0x1020f3c4], 0xc52
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x16], bh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x102007eb
jmp 0x10200632
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10200737
mov eax, dword [ebp - 0x24]
mov dword [0x1020f3c4], 0xc0f
mov dword [ebp - 0x1c], eax
jmp 0x102007eb
mov dword [0x1020f3c8], 0xffffdbfd
mov dword [0x1020f3c4], 0xffffdfef
mov ecx, dword fs:[0x18]
mov eax, 0xa0f
mov dword [0x1020f3c4], 0x2178
mov edx, dword [0x1020f3c8]
add edx, 0xffffdf4b
mov dword [0x1020f3c4], edx
mov ecx, dword [ecx + 0x30]
mov dword [0x1020f3c4], 0x147e
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x1020f3c8], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
mov dword [ebp - 0x38], eax
je 0x102007dc
mov eax, dword [ebp - 0x38]
mov cx, word [eax + 0x24]
mov dword [0x1020f3c4], 0x2324
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x3e], cx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jne 0x102006f2
jmp 0x10200702
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x102007eb
mov dword [0x1020f3c4], 0x511
mov ax, word [ebp - 0x3e]
shr ax, 1
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x4c], ecx
jne 0x10200613
mov eax, 0x12b
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x1020069e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], dx
mov word [ebp - 0x54], di
jb 0x1020076b
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov al, bl
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x56], al
jne 0x102007bc
mov dword [0x1020f3c8], 0x12aa
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
mov dl, byte [ebp - 0x55]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x56], dl
jb 0x10200737
mov al, byte [ebp - 0x56]
mov dword [0x1020f3c4], 0x1d6a
test al, 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
jne 0x1020061d
jmp 0x10200724
xor eax, eax
mov dword [0x1020f3c4], 0x13a9
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10200c20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1020f3c4]
add edi, 0xffffdec1
mov dword [0x1020f3c8], edi
mov dword [0x1020f3d0], 0
mov byte [0x1020f3d4], 0
mov dword [0x1020f3c4], 0x1a
mov dword [0x1020f3cc], 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 eax, dword [0x1020f3c8]
add eax, 0xfffff269
mov dword [0x1020f3c4], eax
mov eax, dword [0x1020f3cc]
add eax, 1
mov dword [0x1020f3cc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10200c77
xor eax, eax
mov dword [0x1020f3c4], 0x1c79
mov dword [0x1020f3cc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1020f3d8], 0
mov dword [0x1020f3c4], 0x1497
mov edx, dword [0x1020f3d0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1020f3d8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1020f3d0], edx
mov dword [0x1020f3c4], 0x1e26
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1020f3d4], cl
mov dword [0x1020f3c4], 0x9ab
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1020f3d4]
mov edx, dword [0x1020f3d0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1020f3c4]
add edx, 0x1871
mov dword [0x1020f3c8], edx
mov dword [0x1020f3c4], 0x1c53
mov edx, dword [0x1020f3cc]
add edx, 1
mov dword [0x1020f3cc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10200cc5
mov dword [0x1020f3c8], 0x1ee0
mov dword [0x1020f3c4], 0x1809
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10200e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x1020f3c8]
mov dword [0x1020f3cc], 0
mov dword [0x1020f3d0], 0
mov dword [0x1020f3dc], 0
mov dword [0x1020f3c8], 0x20f1
add edi, 0xffffec51
mov dword [0x1020f3c4], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x10200ff2
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x10200eaa
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x1020f3c4], 0x2192
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1020f3cc], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1020f3d0], edx
mov dword [0x1020f3c8], 0x1491
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1020f3d4], cl
mov dword [0x1020f3c4], 0x246a
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1020f3c8], 0x211
mov cl, byte [0x1020f3d4]
mov edx, dword [0x1020f3d0]
mov byte [edi + edx], cl
mov dword [0x1020f3c4], 0x38
mov edx, dword [0x1020f3cc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1020f3d0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1020f3dc], ebx
mov dword [0x1020f3c8], 0xffffd934
mov dword [0x1020f3c4], 0xcc1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x1020f3e1]
mov byte [0x1020f3e0], dl
mov byte [0x1020f3e1], ch
mov dword [0x1020f3c8], 0x1552
mov byte [0x1020f3e2], cl
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x1020f3c4], 0x2441
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x10200fe8
mov eax, dword [0x1020f3cc]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1020f3d0]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10200eaa
mov eax, 0x2441
mov dword [ebp - 0x20], eax
jmp 0x10200ff2
mov eax, dword [ebp - 0x20]
add eax, 0x4ac
mov dword [0x1020f3c4], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102019b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword [0x1020f3c4]
add eax, 0x1d8a
mov dword [0x1020f3c4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1020f3c8], 0xf1d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, 0xf7d
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
je 0x10201a33
mov eax, 0x1762
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jl 0x102019f4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x1020f3c4], ecx
mov dword [0x1020f3c8], 0x24b0
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x10201b24
mov dword [0x1020f3c8], 0x804
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10201b24
mov dword [0x1020f3c4], 0x264e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10201b24
mov dword [0x1020f3c4], 0x15d7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x26], dx
mov ax, word [ebp - 0x26]
cmp ax, 0x64
jne 0x10201b24
mov dword [0x1020f3c4], 0x18ec
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10201b24
mov dword [0x1020f3c8], 0x11d9
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x6c
jne 0x10201b24
mov dword [0x1020f3c4], 0xde9
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff9
mov dword [ebp - 0x30], eax
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x34], eax
je 0x10201b35
mov dword [0x1020f3c4], 0x9ef
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x10201b35
mov eax, dword [ebp - 0x34]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x10202200
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1020f3c4]
add eax, 0xffffffb2
mov dword [0x1020f3c4], eax
call fcn.100010a0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10202235
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [0x1020f3c4], 0x20e4
mov dword [0x1020f3c8], 0x230a
mov dword [esp + 0x28], eax
call fcn.102019b0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10202393
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10201c20
lea ecx, [0x10200800]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x94], 0x129600
mov dword [0x1020f3c8], 0x137c
mov edx, dword [0x1020f3b0]
mov dword [esp + 0x70], edx
mov edx, dword [0x1020f3b4]
mov dword [esp + 0x60], edx
mov edx, dword [0x1020f3b8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1020f3bc]
mov dword [esp + 0x40], edx
mov edx, dword [0x1020f3c0]
mov dword [esp + 0x64], edx
mov dword [0x1020f3c4], 0x5a0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10202301
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1020231d
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x102022da
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], eax
mov dword [0x1020f3c8], 0xca5
mov dword [0x1020f3c4], 0x17e4
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.102012a0
mov ecx, dword [0x1020f3c4]
add ecx, 0xffffed48
mov dword [0x1020f3c4], ecx
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1020f3c8]
add ecx, 0x1314
mov dword [0x1020f3c4], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x1020222d
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b658
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
or edx, ebx
call fcn.0043b691
sub edx, 0x7004d883
push ebx
pop edx
add ebx, ebx
xor dword [eax], edi
push 0x9cf7705a
mov edx, dword [esp]
add esp, 4
inc eax
sub edx, ebx
cmp eax, ecx
jne fcn.0043b658
or ebx, edx
inc ebx
ret
Function at 0x4059d4
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 0x405a3a
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a24
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a41
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aa04
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 0x40aa3d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40aa46
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b0f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40af70
mov eax, dword [0x4560a4]
cmp byte [eax], 0
je 0x40b174
mov eax, dword [0x455ec0]
call fcn.004029a4
call fcn.00402824
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.00408278
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 0x40b1bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x455e70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457664]
call fcn.00404ee8
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 0x40ba10
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 0x40bae6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bad0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bac9
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bab3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40baf8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bab3
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 0x40bad0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40baed
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40bff0
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 0x40c054
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407dc0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c05b
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a194
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457884
cmp dword [edi], 0
jne 0x41a210
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4553ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a16c
lea eax, [esi + 5]
call fcn.0041a18c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a18c
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 0x41a1e5
mov dword [0x457880], 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 0x41b784
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 0x41b78a
ret