joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4118a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov dword [ebp - 0x810], ecx
mov eax, dword [ebp - 0x810]
cmp dword [eax + 4], 0
jne 0x411a46
mov ecx, dword [ebp - 0x810]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x810]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x810]
mov dword [eax + 0x10], 0
push str.ThmResU.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x810]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x810]
cmp dword [edx + 4], 0
jne 0x4119e0
mov word [ebp - 0x800], 0
lea eax, [ebp - 0x80c]
push eax
push 0x20019
push 0
push str.SoftwareCreative_TechThemeVersion_1
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4119ca
mov dword [ebp - 0x804], 0x800
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x800]
push edx
push 0
push 0
push str.Path
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4119bd
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
xor edx, edx
mov dx, word [ebp + eax*2 - 0x802]
cmp edx, 0x5c
je 0x4119a8
push 0x41a73c
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push 0x41a740
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x810]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x810]
cmp dword [edx + 4], 0
je 0x411a46
push str.GetResource
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x810]
mov dword [edx + 8], eax
push str.GetResourceByID
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x810]
mov dword [edx + 0xc], eax
push str.CallFunction
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x810]
mov dword [edx + 0x10], eax
mov esp, ebp
pop ebp
ret
Function at 0x493420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5d000]
push edi
jmp 0x49343a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x493441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x493430
mov eax, 1
add ebx, ebx
jne 0x493453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x493464
jne 0x493483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x493483
dec eax
add ebx, ebx
jne 0x493470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x493448
add ebx, ebx
jne 0x49347f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4934d5
xor ecx, ecx
sub eax, 3
jb 0x49349b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49350a
sar eax, 1
mov ebp, eax
jmp 0x4934a6
add ebx, ebx
jne 0x4934a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x493474
inc ecx
add ebx, ebx
jne 0x4934b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x493474
add ebx, ebx
jne 0x4934c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4934b6
jne 0x4934d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4934b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4934f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4934e6
jmp 0x493436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4934f4
add edi, ecx
jmp 0x493436
pop esi
mov edi, esi
mov ecx, 0x2f9c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x493512
cmp byte [edi], 0x1a
jne 0x493512
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x493517
lea edi, [esi + 0x90000]
mov eax, dword [edi]
or eax, eax
je 0x49358f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x95f90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x960a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x493544
mov ecx, edi
jns 0x493573
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x960ac]
or eax, eax
je 0x493589
mov dword [ebx], eax
add ebx, 4
jmp 0x493561
call dword [esi + 0x960bc]
mov ebp, dword [esi + 0x960b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4935c3
sub esp, 0xffffff80
jmp 0x450d6d
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x20195dd1
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0xf837372
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4014ee
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401517
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40150f
cmp al, 0x22
jne 0x401503
cmp byte [esi], 0x22
jne 0x401521
inc esi
jmp 0x401521
cmp al, 0x20
jle 0x401521
inc esi
cmp byte [esi], 0x20
jg 0x40151b
mov al, byte [esi]
test al, al
je 0x40152b
cmp al, 0x20
jle 0x401514
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401736
push 0x404004
push section..data
call fcn.00401861
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40155b
movzx eax, word [ebp - 0x14]
jmp 0x40155e
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004015c0
mov esi, eax
call fcn.00401313
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4015c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push str.Silybeely
push str.Colonraf
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401606
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4015fc
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004013c0
add esp, 4
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0x4000
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x64
push 0x404300
push 0x65
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x404100
push 0x66
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x14
push str.holly
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401360
add esp, 8
test eax, eax
jne 0x40167f
xor eax, eax
jmp 0x4016ab
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4016a5
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40167f
mov eax, dword [ebp - 0xb8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000ad8e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x100251d8]
or edx, dword [ebx*4 + 0x100253d8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x100255d8]
and esi, edi
or edx, dword [esi*4 + 0x100257d8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x100252d8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x100254d8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x100256d8]
and esi, edi
or ecx, dword [esi*4 + 0x100258d8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x100251d8]
or edx, dword [ebx*4 + 0x100253d8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x100255d8]
and esi, edi
or edx, dword [esi*4 + 0x100257d8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x100252d8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x100254d8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x100256d8]
and esi, edi
or ecx, dword [esi*4 + 0x100258d8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x1000ae09
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x1000df40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x10025ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x38], eax
push 7
xor eax, eax
mov byte [ebp - 0x34], 0
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 0x14]
cmp edi, 0xf
mov byte [ebp - 0xc], 0x77
mov byte [ebp - 0xb], 0x22
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x51
mov byte [ebp - 8], 5
mov byte [ebp - 7], 0xe9
mov byte [ebp - 6], 0xe0
mov byte [ebp - 5], 0x2e
jle 0x1000df9e
mov eax, 0xe0100013
jmp 0x1000e00b
push esi
push 8
pop esi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.1000de9c
add esp, 0xc
test eax, eax
jne 0x1000e00a
mov cl, byte [ebp + eax - 0x14]
xor byte [ebp + eax - 0xc], cl
inc eax
cmp eax, esi
jl 0x1000dfb4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1000b1eb
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.10012360
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1000af8a
add esp, 0x20
cmp edi, esi
jl 0x1000dff9
mov esi, edi
push esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.1000d0d8
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100126c5
leave
ret
Function at 0x1000e019
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x10025ac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
xor eax, eax
push 7
pop ecx
mov byte [ebp - 0x54], 0
lea edi, [ebp - 0x53]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
xor eax, eax
cmp dword [ebp + 0x14], 0xf
mov byte [ebp - 0x34], 0
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x58], edx
stosb byte es:[edi], al
mov byte [ebp - 0xc], 0x77
mov byte [ebp - 0xb], 0x22
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x51
mov byte [ebp - 8], 5
mov byte [ebp - 7], 0xe9
mov byte [ebp - 6], 0xe0
mov byte [ebp - 5], 0x2e
jg 0x1000e134
cmp dword [ebp + 0x1c], 0xf
jg 0x1000e134
push 8
pop edi
push edi
lea eax, [ebp - 0x14]
push eax
push edx
call fcn.1000de9c
add esp, 0xc
test eax, eax
jne 0x1000e139
mov cl, byte [ebp + eax - 0x14]
xor byte [ebp + eax - 0xc], cl
inc eax
cmp eax, edi
jl 0x1000e0aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1000b1eb
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.10012360
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1000af8a
push dword [ebp + 0x1c]
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.10012360
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1000af8a
add esp, 0x38
cmp dword [ebp + 0x1c], edi
mov eax, edi
jl 0x1000e112
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x14], edi
jl 0x1000e11a
mov edi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x58]
call fcn.1000d194
add esp, 0x18
jmp 0x1000e139
mov eax, 0xe0100013
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100126c5
leave
ret
Function at 0x1000e460
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10025ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
push 0xff
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x11b]
push 0
push eax
mov byte [ebp - 0x11c], 0
call fcn.100120b0
mov esi, 0x80
add esp, 0xc
mov byte [ebp - 0xc], 0x77
mov byte [ebp - 0xb], 0x22
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x51
mov byte [ebp - 8], 5
mov byte [ebp - 7], 0xe9
mov byte [ebp - 6], 0xe0
mov byte [ebp - 5], 0x2e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x77
mov byte [ebp - 0x11], 0x7a
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x6b
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xd], 0x66
cmp edi, esi
je 0x1000e4fe
mov eax, 0xe0100013
jmp 0x1000e5a0
push 8
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.1000de9c
add esp, 0xc
test eax, eax
jne 0x1000e5a0
mov cl, byte [ebp + eax - 0x1c]
xor byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jl 0x1000e515
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1000b1eb
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1000af8a
push esi
push dword [ebp - 0x124]
lea eax, [ebp - 0x11c]
push eax
call fcn.10012360
push 0x10
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1000af8a
push 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10012360
push dword [ebp + 0x1c]
lea eax, [ebp - 0x11c]
push dword [ebp - 0x120]
push 0x88
push eax
push dword [ebp + 0xc]
push ebx
call fcn.1000e148
add esp, 0x50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100126c5
leave
ret

Function at 0x1000f206
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10025ac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
call fcn.1000fce1
push dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.1001049e
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001053c
add esp, 0x18
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 5]
sub eax, esi
pop edi
mov dl, byte [eax + esi]
xor dl, byte [ecx]
dec ecx
mov byte [esi], dl
inc esi
dec edi
jne 0x1000f253
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
mov dword [ebx], 8
xor ecx, ebp
inc eax
pop ebx
call fcn.100126c5
leave
ret

Function at 0x1000fce1
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x402f74
Capabilities:
Query or enumerate registry value

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

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x460048], 0
je 0x403d31
cmp word [0x46021c], 0xd7b2
jne 0x403cf9
cmp dword [0x460224], 0
jbe 0x403cf9
mov eax, 0x460218
call dword [0x460234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e06c
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 0x403d58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e030], 0
jne 0x403d4d
push 0
push 0x45e064
push 0x45e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a08
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 0x405a6e
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 0x405a58
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a75
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

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

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

Function at 0x40b47c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2f4
mov eax, dword [0x45f1bc]
cmp byte [eax], 0
je 0x40b4f8
mov eax, dword [0x45efcc]
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.004085e8
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 0x40b540
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b52e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45ef7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x460664]
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