joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 0
push 0
push 0x10020290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
clc
jae 0x10035290
stc
jns 0x100352f7
pushf
pushfd
push 0xa
jae 0x1003529d
jmp 0x10035298
call 0x1003529f
jae 0x10035298
add esp, 4
jmp 0x100352a4
dec dword [esp]
jno 0x100352a9
jns 0x10035294
jp 0x100352ad
add esp, 4
popf
jmp 0x100352b4
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x100352cd
jne 0x100352cd
jns 0x1003534a
jl 0x100352d2
add ebp, ebx
add edi, dword [ecx + 0x74]
sti
jmp 0x100352d4
je 0x100352cf
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x100352ee
jne 0x100352ed
call 0x93074375
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x100352fc
jne 0x100352fc
call 0x100832e8
add al, ch
push 0xfffffffffffffffe
invalid
call 0x100357e0
call 0x10035170
call 0x100353e0
call fcn.10006cf0
movzx eax, al
test eax, eax
je 0x10035336
push 0
push 0
push 0
push 0x1002e9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.100358e0
call fcn.100354e0
call fcn.100355e0
call fcn.100356e0
clc
jae 0x10035345
cmp dword [esi + 0x66], ebp
pushfd
pushf
push 0xa
jae 0x10035352
pop es
jmp 0x1003534d
call 0x10035354
jae 0x1003534d
add esp, 4
jmp 0x10035359
dec dword [esp]
jno 0x1003535e
jns 0x10035349
jp 0x10035362
add esp, 4
popf
jmp 0x10035369
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10035382
jne 0x10035382
outsb dx, byte [esi]
jl 0x10035387
jmp 0x10035389
je 0x10035384
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x100353a3
jne 0x100353a2
call 0x9307442a
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x100353b1
jne 0x100353b1
call 0x106d541f
push 0
push 0
push 0
push 0x10032950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10035070
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10035354
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 0
push 0
push 0x10020290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
clc
jae 0x10035290
stc
jns 0x100352f7
pushf
pushfd
push 0xa
jae 0x1003529d
jmp 0x10035298
call 0x1003529f
jae 0x10035298
add esp, 4
jmp 0x100352a4
dec dword [esp]
jno 0x100352a9
jns 0x10035294
jp 0x100352ad
add esp, 4
popf
jmp 0x100352b4
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x100352cd
jne 0x100352cd
jns 0x1003534a
jl 0x100352d2
add ebp, ebx
add edi, dword [ecx + 0x74]
sti
jmp 0x100352d4
je 0x100352cf
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x100352ee
jne 0x100352ed
call 0x93074375
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x100352fc
jne 0x100352fc
call 0x100832e8
add al, ch
push 0xfffffffffffffffe
invalid
call 0x100357e0
call 0x10035170
call 0x100353e0
call fcn.10006cf0
movzx eax, al
test eax, eax
je 0x10035336
push 0
push 0
push 0
push 0x1002e9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.100358e0
call fcn.100354e0
call fcn.100355e0
call fcn.100356e0
clc
jae 0x10035345
cmp dword [esi + 0x66], ebp
pushfd
pushf
push 0xa
jae 0x10035352
pop es
jmp 0x1003534d
call 0x10035354
jae 0x1003534d
add esp, 4
jmp 0x10035359
dec dword [esp]
jno 0x1003535e
jns 0x10035349
jp 0x10035362
add esp, 4
popf
jmp 0x10035369
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10035382
jne 0x10035382
outsb dx, byte [esi]
jl 0x10035387
jmp 0x10035389
je 0x10035384
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x100353a3
jne 0x100353a2
call 0x9307442a
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x100353b1
jne 0x100353b1
call 0x106d541f
push 0
push 0
push 0
push 0x10032950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10035070
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100354e0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0
push 0
push 0
push 0x10024f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100355cd
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
call fcn.10020a80
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100355e0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0
push 0
push 0
push 0x10032ae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10433ff8], eax
cmp dword [0x10433ff8], 0
jne 0x100356d2
mov byte [ebp - 0x30], 0x45
mov byte [ebp - 0x2f], 0x52
mov byte [ebp - 0x2e], 0x52
mov byte [ebp - 0x2d], 0x4f
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0x21
mov byte [ebp - 0x2a], 0x20
mov byte [ebp - 0x29], 0x54
mov byte [ebp - 0x28], 0x68
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x20
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x2c
mov byte [ebp - 0x12], 0x20
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x20
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x20
mov byte [ebp - 5], 0x30
mov byte [ebp - 4], 0x78
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x21
mov byte [ebp - 1], 0
call fcn.10020a80
mov eax, dword [0x10433ff8]
mov esp, ebp
pop ebp
ret
Function at 0x100356e0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0
push 0
push 0
push 0x10034ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10434004], eax
cmp dword [0x10434004], 0
jne 0x100357d2
mov byte [ebp - 0x30], 0x45
mov byte [ebp - 0x2f], 0x52
mov byte [ebp - 0x2e], 0x52
mov byte [ebp - 0x2d], 0x4f
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0x21
mov byte [ebp - 0x2a], 0x20
mov byte [ebp - 0x29], 0x54
mov byte [ebp - 0x28], 0x68
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x20
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x2c
mov byte [ebp - 0x12], 0x20
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x20
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x20
mov byte [ebp - 5], 0x30
mov byte [ebp - 4], 0x78
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x21
mov byte [ebp - 1], 0
call fcn.10020a80
mov eax, dword [0x10434004]
mov esp, ebp
pop ebp
ret
Function at 0x100358e0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0
push 0
push 0
push 0x10032950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100359cd
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
call fcn.10020a80
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100359e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005eac8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10432764]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov eax, dword [0x10433ff8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [0x10433ffc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
push 0
mov edx, dword [0x10434000]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [0x10434004]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x10433ff8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x28], eax
mov edx, dword [0x10433ffc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10434000]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x10434004]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x10], 0x102
jne 0x10035ab1
cmp dword [ebp - 0x14], 0x102
jne 0x10035ab1
cmp dword [ebp - 0x18], 0x102
jne 0x10035ab1
cmp dword [ebp - 0x1c], 0x102
je 0x10035aef
mov edx, 0xededa5d7
push edx
lea ecx, [ebp - 0x7c]
call fcn.10024c00
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10029c20
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10024f00
call fcn.10020a80
cmp dword [ebp - 0x28], 1
je 0x10035b07
cmp dword [ebp - 0x2c], 1
je 0x10035b07
cmp dword [ebp - 0x30], 1
je 0x10035b07
cmp dword [ebp - 0x34], 1
jne 0x10035b4b
mov edx, 0xededa617
push edx
lea ecx, [ebp - 0xbc]
call fcn.10024c00
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.10029c20
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10024f00
call fcn.10020a80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10037f50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10432764]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1003be00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x23c], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0x128
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10037ffc
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x23c]
jne 0x10037fe5
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.10037420
add esp, 8
jmp 0x10037ffc
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10037fbf
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
call fcn.100051f0
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a016
mov esp, ebp
pop ebp
ret

Function at 0x1004df1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004dd95

Function at 0x100548f8
Capabilities:
Set environment variable

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

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1736ae4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7f645bbe
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4031a0
Capabilities:
Query or enumerate registry value

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

Function at 0x403f44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad04c], 0
je 0x403fa5
cmp word [0x4ad220], 0xd7b2
jne 0x403f6d
cmp dword [0x4ad228], 0
jbe 0x403f6d
mov eax, 0x4ad21c
call dword [0x4ad238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4aa06c
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 0x403fcc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4aa030], 0
jne 0x403fc1
push 0
push 0x4aa064
push 0x4aa06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406200
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 0x406266
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.00404330
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d64
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406250
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40626d
lea eax, [ebp - 0x10]
call fcn.004040c0
ret

Function at 0x40b9f8
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 0x40ba31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041b0
jmp 0x40ba3a
mov eax, ebx
mov edx, esi
call fcn.00404114
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c0ec
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bf64
mov eax, dword [0x4ac6c0]
cmp byte [eax], 0
je 0x40c168
mov eax, dword [0x4ac46c]
call fcn.00402bd0
call fcn.004028f8
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.00409048
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 0x40c1b0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c19e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ac410]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ad668]
call fcn.004056c4
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 0x40ca58
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 0x40cb2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404158
lea eax, [ebp - 8]
call fcn.004045d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404580
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cb18
mov eax, ebx
call fcn.00402790
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cb11
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.00404580
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cafb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cafb
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 0x40cb18
mov eax, dword [ebp - 0x10]
call fcn.004027b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb35
lea eax, [ebp - 8]
call fcn.004040c0
ret

Function at 0x40d0b8
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 0x40d11c
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.00404330
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d123
lea eax, [ebp - 0xc]
call fcn.004040c0
ret

Function at 0x422cac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ad888
cmp dword [edi], 0
jne 0x422d28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ad884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4aa524
mov ecx, 2
call fcn.0040298c
mov edx, 0x422c84
lea eax, [esi + 5]
call fcn.00422ca4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422ca4
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 0x422cfd
mov dword [0x4ad884], 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 0x4243ac
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 0x4243b2
ret
Function at 0x426c90
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 0x426ce1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426cc8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426cb8
jmp 0x426ce1
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 0x426cc9
pop ebx
mov esp, ebp
pop ebp
ret