joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100f1040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 0xf
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x10063892
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100638b1
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100638a0
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x10063a08
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x100638f7
cmp dword [ecx + 4], 0
jle 0x100638f7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x1044e3e8
call fcn.10063860
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x10063900
xor edx, edx
test eax, eax
je 0x10063921
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10063910
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x1044e408
push eax
call fcn.10054200
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10053f50
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x100639e7
lea eax, [esp + 0x5c]
mov ecx, 0x1044e408
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10054200
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10053f50
mov ecx, 0x1044e408
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10054200
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10053f50
mov ecx, 0x1044e408
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10054200
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10053f50
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x100638d0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10063c60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10063dd5
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10063dd5
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x10063dd4
mov eax, dword [ebx + 4]
test eax, eax
je 0x10063dd4
cmp eax, 0xc8
jg 0x10063dd4
cmp dword [ebx], 0
je 0x10063dd4
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x10063dd3
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10063cc8
xor edx, edx
test ecx, ecx
je 0x10063ce6
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10063cd5
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x10063dd2
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx]
add ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x10063db9
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10063d18
xor edx, edx
test eax, eax
je 0x10063d36
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10063d25
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x1044e408
call fcn.10053d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ce0
cmp dword [eax + 8], 0
jne 0x10063db3
lea eax, [ebp - 8]
mov ecx, 0x1044e408
push eax
call fcn.10053d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ce0
mov ecx, 0x1044e408
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10053d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ce0
mov ecx, 0x1044e408
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10053d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ce0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ebx, [ecx - 4]
inc esi
add eax, 0x3c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
cmp esi, dword [ebx + 4]
jl 0x10063d02
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret 4
Function at 0x1009bb70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce96d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vpxor xmm0, xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x2c], 0
mov edi, 0xf
mov dword [ebp - 0x18], edx
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009bc7c
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009bbf3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009bbe1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10037660
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009bc0d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009bc1a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.100470a0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009bc54
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009bc40
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009bc64
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009bc77
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009bc7c
mov edi, dword [ebp - 0x14]
jmp 0x1009bbd0
mov esi, dword [esi + 0x18]
jmp 0x1009bc7e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009bcb6
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bcac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009bcac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cb639
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009bce0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce96d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vpxor xmm0, xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x2c], 1
mov edi, 0xf
mov dword [ebp - 0x18], edx
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009bdec
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009bd63
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009bd51
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10037660
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009bd7d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009bd8a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.100470a0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009bdc4
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009bdb0
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009bdd4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009bde7
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009bdec
mov edi, dword [ebp - 0x14]
jmp 0x1009bd40
mov esi, dword [esi + 0x18]
jmp 0x1009bdee
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009be26
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009be1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009be1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cb639
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009d7a0
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4a00
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x224], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
jne 0x1009d991
push 0x105
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x105
lea eax, [ebp - 0x220]
push eax
push 0x100e3c58
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1009d991
mov esi, dword [0x10442ea8]
mov ecx, esi
mov edx, dword [ebp - 0x224]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1009d889
cmp dword [eax + 0x10], edx
jae 0x1009d87f
mov eax, dword [eax + 8]
jmp 0x1009d883
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1009d875
cmp byte [ecx + 0xd], 0
jne 0x1009d989
cmp edx, dword [ecx + 0x10]
jb 0x1009d989
cmp ecx, esi
je 0x1009d989
mov esi, dword [esi]
mov dword [ebp - 0x228], esi
cmp byte [esi + 0xd], 0
jne 0x1009d963
mov edi, dword [esi + 0x10]
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x248]
call fcn.100349b0
mov dword [ebp - 4], 0
cmp edi, dword [ebp - 0x224]
jne 0x1009d90b
cmp dword [ebp - 0x234], 0xf
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmova eax, dword [ebp - 0x248]
mov ecx, 0x10339fb8
push eax
call fcn.10037660
mov eax, dword [esi + 0x10]
mov dword [0x10339fd4], eax
mov byte [0x10339fd0], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1009d948
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d93e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d983
push ecx
push edx
call fcn.100cb639
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.1004efd0
mov esi, dword [ebp - 0x228]
cmp byte [esi + 0xd], 0
je 0x1009d8b6
push 0
push 0
push 0
push 0x10043c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1009d991
mov eax, 1
jmp 0x1009d993
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b30c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100b3251
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100b3251
mov eax, dword [0x1044a558]
cmp dword [eax + 0x174], 0xffffffff
je 0x100b3251
mov eax, dword [0x1044e574]
add eax, 0xffffff8f
xor eax, 0xbf04be7c
cmp dword [eax + ebx], 0
mov eax, dword [0x1044e53c]
setle cl
add eax, 0xffffff9d
xor eax, 0xbf04be6e
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x1044e530]
add eax, 0xffffffa0
xor eax, 0xbf04be6b
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x1044e534]
add eax, 0xffffff9f
xor eax, 0xbf04be6c
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x1044e538]
lea eax, [ecx - 0x62]
xor eax, 0xbf04be6d
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100b31ae
lea eax, [ecx - 0x62]
xor eax, 0xbf04be6d
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100b31a6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100b319a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100b3197
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x1044e538]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100b3163
lea eax, [ecx - 0x62]
xor eax, 0xbf04be6d
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1044a56c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b3242
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100b3206
xor edx, edx
test ecx, ecx
je 0x100b322c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b3213
cmp edi, 0x79705c5e
je 0x100b3237
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100b3242
mov ecx, dword [ebp - 4]
jmp 0x100b31f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100b3244
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x1044a6c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b81c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d590d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1044a558]
mov edx, dword [eax + 0x174]
test edx, edx
mov esi, dword [eax + 0x4cb0]
mov edi, dword [eax + 0x4cb4]
setg byte [ebp - 0x14]
add esi, dword [eax + 0x4cac]
test edx, edx
jle 0x100b8224
mov ecx, dword [0x1044a4fc]
push esi
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1044e724], 0
jne 0x100b82f9
push 0x22
vpxor xmm0, xmm0, xmm0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
vmovdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100353a0
mov dword [ebp - 4], 0
mov eax, dword [0x1044a4ac]
test eax, eax
je 0x100b826c
mov edx, dword [eax + 0x50]
jmp 0x100b826e
xor edx, edx
mov eax, dword [0x1044a4a4]
test eax, eax
je 0x100b827c
mov eax, dword [eax + 0x18]
jmp 0x100b827e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1002e5a0
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0xf
jbe 0x100b82c8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b82be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b82be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cb639
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x1044e724], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cb1b9
mov esp, ebp
pop ebp
ret
Function at 0x100cac1e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100cac45
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100cac48
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100cabfa
pop esi
leave
ret 8
Function at 0xa67af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53d000]
push edi
jmp 0xa67b0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa67b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa67b00
mov eax, 1
add ebx, ebx
jne 0xa67b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa67b34
jne 0xa67b53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa67b53
dec eax
add ebx, ebx
jne 0xa67b40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa67b18
add ebx, ebx
jne 0xa67b4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa67ba5
xor ecx, ecx
sub eax, 3
jb 0xa67b6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa67bda
sar eax, 1
mov ebp, eax
jmp 0xa67b76
add ebx, ebx
jne 0xa67b76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa67b44
inc ecx
add ebx, ebx
jne 0xa67b84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa67b44
add ebx, ebx
jne 0xa67b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa67b86
jne 0xa67ba2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa67b86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa67bc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa67bb6
jmp 0xa67b06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa67bc4
add edi, ecx
jmp 0xa67b06
pop esi
mov edi, esi
mov ecx, 0x13307
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa67be2
cmp byte [edi], 0x34
jne 0xa67be2
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 0xa67be7
lea edi, [esi + 0x662000]
mov eax, dword [edi]
or eax, eax
je 0xa67c5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x66ca9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x66ccbc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa67c14
mov ecx, edi
jns 0xa67c43
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 + 0x66ccc4]
or eax, eax
je 0xa67c59
mov dword [ebx], eax
add ebx, 4
jmp 0xa67c31
call dword [esi + 0x66ccc0]
mov ebp, dword [esi + 0x66ccc8]
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 0xa67c93
sub esp, 0xffffff80
jmp 0x5f19fd
Function at 0x4110af
Capabilities:
Print debug messages

Disassembly:
jmp 0x426596
push esi
mov esi, ecx
call fcn.00411767
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xc00
mov dword [esi + 0x10], 0x430e48
call fcn.004116a4
test eax, eax
jns 0x4265e5
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4265de
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x43354f], 1
mov eax, esi
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4031fc
Capabilities:
Query or enumerate registry value

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

Function at 0x404030
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d204c], 0
je 0x404091
cmp word [0x4d2220], 0xd7b2
jne 0x404059
cmp dword [0x4d2228], 0
jbe 0x404059
mov eax, 0x4d221c
call dword [0x4d2238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cf06c
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 0x4040b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cf030], 0
jne 0x4040ad
push 0
push 0x4cf064
push 0x4cf06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret