joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x842e78]
mov ecx, dword [0x841dcc]
shr eax, 3
sub esp, 0x820
test eax, eax
jbe 0x4012e3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x842e78], 0x959
jne 0x4012c9
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.Yeda_defuhacurihe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x820]
push eax
push 0
push str.Vekojadofoy_nari_xigajimasuha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
push 0
push 0
push 0
push 0
push 0
push str.Joceterewi_dapubigemal
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4023d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4230c8]
jne 0x4023da
repz ret
jmp fcn.004047be

Function at 0x4043eb
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.00402451
and dword [ebp - 4], 0
cmp dword [0x424808], 0
mov ebx, eax
jne 0x40449c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40454d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40454d
push eax
call fcn.004023df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424808], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42480c], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424810], eax
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x424818], eax
test eax, eax
je 0x40449c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x424814], eax
mov eax, dword [0x424814]
cmp eax, ebx
je 0x4044f4
cmp dword [0x424818], ebx
je 0x4044f4
push eax
call fcn.0040245a
push dword [0x424818]
mov esi, eax
call fcn.0040245a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4044f4
test edi, edi
je 0x4044f4
call esi
test eax, eax
je 0x4044eb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4044eb
test byte [ebp - 0xc], 1
jne 0x4044f4
or dword [ebp + 0x10], 0x200000
jmp 0x40452d
mov eax, dword [0x42480c]
cmp eax, ebx
je 0x40452d
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x40452d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40452d
mov eax, dword [0x424810]
cmp eax, ebx
je 0x40452d
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x40452d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424808]
call fcn.0040245a
pop ecx
test eax, eax
je 0x40454d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40454f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5217cb
Capabilities:
Execute anti-debugging instructions

Disassembly:
add eax, 0x41d1f871
jmp 0x521532
add eax, 0x970b0a89
jmp 0x5215b7
mov edx, dword [esp]
lea edx, [ecx + ebp]
xchg dword [esp], ecx
bsr dx, sp
not dh
jmp 0x5210aa
xchg edx, eax
push ebp
jg 0x521082
ret 0xca0f
neg edx
call fcn.00521090
bswap edx
call 0x5210d6
add dword [esi + reloc.IPHLPAPI.DLL_GetInterfaceInfo], 0xffffffe8
jl 0x5210c1
add byte [eax], al
and byte [eax + 0x7b8492e], bh
adc eax, 0x691e3784
mov bh, bh
invalid
je 0x5210f6
add al, 0xc2
or byte [eax], al
ror dx, cl
rcr dx, cl
mov dh, 0xc8
not dx
mov edx, edi
jmp 0x5212f8
in eax, dx
je 0x521080
aaa
int3
mov edx, 0x1188f34d
call fcn.00521165
shr edx, cl
mov dh, byte [esp]
stc
cmc
push ecx
mov eax, dword [esp + 1]
jmp 0x5212d3
mov edx, 0x14a3f8d2
bsr eax, esi
jmp 0x521498
ror cl, 0
call 0x5213e2
pop ds
xchg ecx, eax
add dword [eax - 0x6d], esp
and byte [edi + 0x12e78012], bl
movsd dword es:[edi], dword [esi]
adc ecx, dword [edx + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
xchg dword [esp], esi
lea edx, [eax + 0x93]
stc
bswap edx
lea esi, [esi + 1]
mov edx, edi
jmp 0x521291
jo 0x5212e1
jno 0x5212e1
cmc
jmp 0x52151f
bsf dx, dx
jle 0x521500
mov dx, word [esp]
sub eax, ebp
jmp 0x52154f
mov dx, word [esp]
sub eax, ebp
jmp 0x52154f
shl eax, 2
setbe dh
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
mov edx, ebp
sub esp, 0x10
jmp 0x521570
xchg dl, al
mov edx, ebp
mov dx, sp
rol cl, 0
xchg dh, ah
jmp 0x5214e3
jmp 0x51f298
mov dx, word [esp]
bsf edx, edx
jne 0x52155a
mov edx, 0xcb6545e3
mov edx, 0xfab01fc0
jmp 0x521593
mov eax, ecx
bswap edx
mov edx, dword [esp]
mov dl, cl
jmp 0x521508
mov edx, 0xcb6545e3
jmp 0x52158e
jae 0x52152d
jb 0x51f298
push ebx
jmp 0x51f350
mov edx, 0xfab01fc0
mov eax, dword [eax - reloc.IPHLPAPI.DLL_GetInterfaceInfo]
bswap edx
mov dx, word [esp]
jmp 0x521578
mov dl, byte [esp]
neg edx
jmp 0x521673
inc dh
jge 0x5215a1
mov dl, byte [esp]
jmp 0x5215c4
neg edx
jmp 0x521673
jmp 0x521619
push eax
ret
mov esp, esi
pushfd
mov dh, byte [esp + 1]
rcr edx, 0xe
jo 0x5215cb
jno 0x521619
lea eax, [edi*4]
xchg edx, eax
jmp 0x521693
lea esp, [esp + 0x10]
dec cl
bswap eax
rdtsc
mov al, byte [esp]
jmp 0x5216cf
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
mov al, byte [esp]
jmp 0x52178a
lea edx, [ebx + ebp]
shr ax, cl
jl 0x5216b9
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
jmp 0x5216e3
mov al, byte [esp]
call fcn.00521753
add cl, 0x32
xchg ah, dl
ror edx, cl
jae 0x52178f
sub esp, 0x18
jmp 0x5217e1
jmp 0x5216eb
sub esp, 0x18
jmp 0x521798
xchg al, dl
mov eax, dword [esp + 1]
lea esp, [esp + 0x18]
neg cl
call 0x5217cb
mov ch, 0x2e
mov esp, 0xa5f336db
inc ebx
sal dword [esi + reloc.IPHLPAPI.DLL_GetInterfaceInfo], cl
rdtsc
mov eax, esi
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
xchg edx, eax
btr edx, edx
invalid
je 0x5217eb
or dl, al
or al, 0
jmp 0x5217e9
xchg al, dl
mov eax, dword [esp + 1]
jmp 0x52179e
mov dx, word [esp + 1]
push esp
and al, 1
push dword [esp + 3]
jmp 0x52200e
clc
mov eax, 0x13725896
jmp 0x521cea
lea esp, [esp + 8]
inc cl
not eax
mov edx, 0x38922b87
bswap edx
call fcn.00521c34
lea esp, [esp + 3]
jmp fcn.00521d4d
jle 0x5217f8
clc
mov eax, 0x13725896
jmp 0x521cea
Function at 0x521c34
Capabilities:
Execute anti-debugging instructions

Disassembly:
and ecx, 0x3c
setle al
mov ax, bx
mov ah, 0x4c
mov eax, dword [esp]
jmp 0x521c99
dec eax
jmp 0x521c36
jmp 0x521c0e
mov eax, dword [ecx + esi]
bsr dx, bp
jo 0x521f3e
push esi
jmp 0x521d30
dec eax
call fcn.00521c78
cmp edi, dword [eax + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
pop ss
xchg ebp, eax
add eax, 0x845b9f6c
aaa
push ds
imul esp, dword [esi - 0x75], 0xca812414
cmp esp, ecx
pop edx
arpl word [ebp - 0x1b80], cx
invalid
sub ebp, 4
mov eax, ecx
and dx, ax
jae 0x521c1e
jb 0x521c4c
neg edx
xchg dh, dl
lea edx, [ebx*4]
sub esp, 4
jmp 0x521ccf
push dword [esp + 4]
ret 8
not ecx
sub esp, 0x1b
jo 0x521cfe
lea esp, [esp + 3]
jmp fcn.00521d4d
mov dword [esp], edx
not ecx
jmp 0x521d6f
mov dword [esp], edx
not ecx
mov dword [ebp], eax
rdtsc
jmp 0x521d14
push esi
jmp 0x521d6a
Function at 0x522b6c
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
jmp 0x522b8c
pop dx
lea edx, [edx + edi]
sub esp, 0x1f
jmp 0x522bac
jo 0x522b56
lea esp, [esp + 1]

Function at 0x5db5ce
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.005da034
push eax
jmp 0x5da02f
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5db4ba
lea esp, [esp + 0x38]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x5db4d0
pop dword [esp]
mov dword [esp + 0x38], edi
jmp 0x5db4fb
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x8011eb6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x388d7481
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000135e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x10001378
xor esi, esi
jmp 0x100013a6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.10043680
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x100013e1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100013da
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10001476
xor esi, esi
jmp 0x10001476
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x10001404
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x10001417
xor esi, esi
jmp 0x1000146d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x10001429
jmp 0x100013f4
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1000146d
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x1000145f
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.10043680
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.10043b20
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.100014dd
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10001e9b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.10001e5d
mov edi, eax
cmp edi, esi
je 0x10001edb
cmp dword [ebp - 4], esi
je 0x10001ed4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10001f78
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x10001f4c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.10001e9b
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x10001f39
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x10001efe
cmp dword [ebp - 4], esi
je 0x10001f47
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x10001f78
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10001f5f
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x10001f76
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10001f7f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.10043680
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.10001636
xor edi, edi
cmp eax, edi
jl 0x10002137
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.10002144
pop ecx
test eax, eax
pop ecx
jne 0x10001fca
mov eax, 0x80020009
jmp 0x10002137
mov ecx, esi
call fcn.1000160e
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.10001636
cmp eax, edi
jl 0x10002137
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x100020ff
sub eax, 9
je 0x10002064
dec eax
dec eax
jne 0x10002126
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x1000200f
xor ebx, ebx
jmp 0x10002044
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10043680
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x10002117
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x100020a0
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.10043680
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.10043e70
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x100020aa
mov eax, 0x80004005
jmp 0x10002137
cmp dword [ebp - 8], 0
jle 0x100020e4
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.100021cb
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x100020b0
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x10002126
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.10001636
cmp eax, edi
jl 0x10002137
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10009b01
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff8c
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [esi + 0x80]
lea eax, [esi + 0x80]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x10009b2d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x1000cc56
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push 6
push eax
push 0x1004
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0xa
lea eax, [ebp - 8]
push 0
push eax
call fcn.100441be
add esp, 0xc
leave
ret
Function at 0x100102f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x111c
call fcn.10043680
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push 0xf003f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
push esi
push esi
push dword [0x10061178]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
push SysReAllocString
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x100103f3
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push dword [0x10061198]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], 0x1000
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x100103f3
mov eax, 0x2222
cmp dword [ebp - 0x10], eax
jne 0x100103f3
push dword [0x10061194]
mov dword [0x1007842c], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.100444a0
pop ecx
lea eax, [ebp - 8]
pop ecx
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x11c]
push esi
push eax
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x100103f3
cmp dword [ebp - 8], esi
je 0x100103f3
lea eax, [ebp - 0x111c]
push 0x2222
push eax
call fcn.10044590
pop ecx
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x111c]
push eax
call fcn.10010e43
cmp dword [ebp - 0x14], esi
je 0x100104f1
push dword [ebp - 0x14]
jmp 0x100104eb
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [0x10061174]
push SysReAllocString
call ebx
cmp eax, esi
jne 0x100104e3
xor eax, eax
cmp dword [ebp - 0xc], esi
je 0x1001042c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 0xc], ebx
jne 0x100104e3
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push dword [0x10061198]
mov dword [ebp - 0x10], 0x1000
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 4
push ebx
call edi
test eax, eax
jne 0x100104ac
mov eax, 0x1111
cmp dword [ebp - 8], eax
jne 0x100104ac
push dword [0x10061194]
mov dword [0x1007842c], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.100444a0
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x11c]
push esi
push eax
push ebx
call edi
test eax, eax
je 0x100104bc
cmp ebx, esi
je 0x100104b7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x100104f3
cmp dword [ebp - 0x10], esi
je 0x100104e3
lea eax, [ebp - 0x111c]
push 0x2222
push eax
call fcn.10044590
pop ecx
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x111c]
push eax
call fcn.10010e43
cmp dword [ebp - 0xc], esi
je 0x100104f1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100104f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push dword [0x10061178]
mov ebx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x1001053d
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 8], ecx
cmp eax, edi
jl 0x100105b8
push esi
mov esi, 0x2222
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [0x1007842c], esi
call fcn.10010a80
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push edi
mov dword [ebp - 0xc], esi
push dword [0x10061198]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call esi
push dword [0x10061194]
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x110]
push eax
call fcn.100444a0
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push 1
lea eax, [ebp - 0x110]
push edi
push eax
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call fcn.10035cc8
pop ecx
pop esi
cmp dword [ebp - 8], edi
pop edi
pop ebx
je 0x100105c8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret
Function at 0x10010982
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edi, ecx
push dword [0x10061178]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x100109c5
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, ebx
jl 0x10010a68
mov esi, 0x2222
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 8]
mov ecx, edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.1001118a
lea eax, [ebp - 0x10]
push 4
push eax
push 4
push ebx
mov dword [ebp - 0x10], esi
push dword [0x10061198]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call esi
mov edi, dword [edi + 0xec]
cmp edi, ebx
jne 0x10010a11
xor edi, edi
jmp 0x10010a44
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
add eax, 3
and al, 0xfc
call fcn.10043680
mov eax, esp
push ebx
push ebx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push edi
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call fcn.10035cc8
pop ecx
cmp dword [ebp - 4], ebx
je 0x10010a76
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x20]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret