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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100f3040]
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 0x10063882
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100638a1
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10063890
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x100639f8
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 0x100638e7
cmp dword [ecx + 4], 0
jle 0x100638e7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x104503f8
call fcn.10063850
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x100638f0
xor edx, edx
test eax, eax
je 0x10063911
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10063900
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x10450418
push eax
call fcn.100543f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10054150
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x100639d7
lea eax, [esp + 0x5c]
mov ecx, 0x10450418
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100543f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10054150
mov ecx, 0x10450418
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100543f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10054150
mov ecx, 0x10450418
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.100543f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10054150
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 0x100638c0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100cd4b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10063c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f3040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10063dc0
push ebx
mov ebx, dword [eax + 2]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10063dbf
lea eax, [ebx - 4]
test eax, eax
je 0x10063dbf
mov ecx, dword [ebx]
test ecx, ecx
je 0x10063dbf
cmp ecx, 0xc8
jg 0x10063dbf
cmp dword [eax], 0
je 0x10063dbf
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x10063dbe
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10063cb8
xor edx, edx
test ecx, ecx
je 0x10063cd6
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10063cc5
mov dword [ebp - 8], edi
cmp dword [ebx], 0
mov dword [ebp - 0x18], 0
jle 0x10063dbd
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax - 4]
add ebx, esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x10063da5
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10063d07
xor edx, edx
test eax, eax
je 0x10063d25
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10063d14
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x10450418
call fcn.10053f00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ee0
cmp dword [eax + 8], 0
jne 0x10063da2
lea eax, [ebp - 8]
mov ecx, 0x10450418
push eax
call fcn.10053f00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ee0
mov ecx, 0x10450418
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10053f00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ee0
mov ecx, 0x10450418
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10053f00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053ee0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [eax]
jl 0x10063cf0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd4b9
mov esp, ebp
pop ebp
ret 4
Function at 0x1009c1c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f3040]
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 0x1009c2cc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009c243
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009c231
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.100375b0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009c25d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009c26a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047270
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 0x1009c2a4
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 0x1009c290
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009c2b4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009c2c7
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009c2cc
mov edi, dword [ebp - 0x14]
jmp 0x1009c220
mov esi, dword [esi + 0x18]
jmp 0x1009c2ce
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009c306
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c2fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c2fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cd939
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.100cd4b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009c330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f3040]
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 0x1009c43c
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009c3b3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009c3a1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.100375b0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009c3cd
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009c3da
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047270
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 0x1009c414
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 0x1009c400
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009c424
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009c437
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009c43c
mov edi, dword [ebp - 0x14]
jmp 0x1009c390
mov esi, dword [esi + 0x18]
jmp 0x1009c43e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009c476
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c46c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c46c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cd939
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.100cd4b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009de10
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100f3040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x214]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x220], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
jne 0x1009deda
push 0x105
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x105
lea eax, [ebp - 0x214]
push eax
push 0x100e5c38
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1009deda
push 0
push 0
push 0
push 0x10043d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1009deda
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd4b9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100cd4b9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b3b60
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 0x100b3cf1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100b3cf1
mov eax, dword [0x1044c568]
cmp dword [eax + 0x174], 0xffffffff
je 0x100b3cf1
mov eax, dword [0x10450584]
add eax, 0xffffff8f
xor eax, 0x9f7b9f78
cmp dword [eax + ebx], 0
mov eax, dword [0x1045054c]
setle cl
add eax, 0xffffff9d
xor eax, 0x9f7b9f6a
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x10450540]
add eax, 0xffffffa0
xor eax, 0x9f7b9f67
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x10450544]
add eax, 0xffffff9f
xor eax, 0x9f7b9f68
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x10450548]
lea eax, [ecx - 0x62]
xor eax, 0x9f7b9f69
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100b3c4e
lea eax, [ecx - 0x62]
xor eax, 0x9f7b9f69
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100b3c46
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100b3c3a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100b3c37
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x10450548]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100b3c03
lea eax, [ecx - 0x62]
xor eax, 0x9f7b9f69
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 [0x1044c57c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b3ce2
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 0x100b3ca6
xor edx, edx
test ecx, ecx
je 0x100b3ccc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b3cb3
cmp edi, 0x79705c5e
je 0x100b3cd7
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100b3ce2
mov ecx, dword [ebp - 4]
jmp 0x100b3c90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100b3ce4
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x1044c6d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9fc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7fad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f3040]
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 [0x1044c568]
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 0x100ba024
mov ecx, dword [0x1044c50c]
push esi
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x10450734], 0
jne 0x100ba0f9
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.10035240
mov dword [ebp - 4], 0
mov eax, dword [0x1044c4bc]
test eax, eax
je 0x100ba06c
mov edx, dword [eax + 0x50]
jmp 0x100ba06e
xor edx, edx
mov eax, dword [0x1044c4b4]
test eax, eax
je 0x100ba07c
mov eax, dword [eax + 0x18]
jmp 0x100ba07e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1002e400
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0xf
jbe 0x100ba0c8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ba0be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ba0be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cd939
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 [0x10450734], 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.100cd4b9
mov esp, ebp
pop ebp
ret
Function at 0x100ccf1e
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 0x100ccf45
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100ccf48
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.100ccefa
pop esi
leave
ret 8

Function at 0x710c81
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
pop ecx
sub eax, ebx
add eax, 1
call fcn.00710cbf
inc eax
sub ebx, 0xe2f627db
xor dword [esi], ecx
add eax, 1
add eax, 0xf13bac7b
inc esi
sub ebx, 1
cmp esi, edx
jne fcn.00710c81
sub eax, ebx
mov ebx, 0xa24372ba
ret
Function at 0x406b5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00409324
test esi, esi
jne 0x406b92
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004094ac
jmp 0x406bb0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406aa0
mov edi, eax
test esi, esi
je 0x406bb0
cmp dword [ebx], 0
je 0x406bb0
dec esi
jmp 0x406b99
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x408084
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408468
mov byte [esp], al
cmp byte [esp], 0
jne 0x40820e
test edi, edi
je 0x40820e
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40814e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408129
cmp edi, 0xffffffff
je 0x4080e9
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4080e9
mov byte [esp], 0
jmp 0x40820e
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408129
test ebx, ebx
jne 0x40811b
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40811b
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40820e
lea eax, [esp + 0xc]
call fcn.00407d64
dec ebp
test ebp, ebp
jg 0x4080ce
cmp edi, 0xffffffff
je 0x40814e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40814c
mov byte [esp], 0
jmp 0x40820e
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408092
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40814e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040827c
mov edx, eax
mov ebx, dword [0x62e8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4081b2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4081b0
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4081b2
xor edi, edi
cmp byte [esp], 0
je 0x4081d8
mov ebx, dword [esi]
test bl, 1
jne 0x4081ee
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4081b8
mov byte [esp + 1], 1
jmp 0x4081ee
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4081d8
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408165
cmp byte [esp], 0
je 0x40820e
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x408fb4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x62e05c], 0
je 0x40901b
cmp word [0x62e348], 0xd7b2
jne 0x408fdd
cmp dword [0x62e350], 0
jbe 0x408fdd
mov eax, 0x62e344
call dword [0x62e360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409048
call fcn.00409be8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x624034], 0
jne 0x409037
push 0
push 0x6249ca
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4091e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x624038], 0
je 0x40920f
mov edx, edi
mov eax, esi
call dword [0x624038]
mov ebx, eax
jmp 0x409220
mov eax, 8
call fcn.004067dc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x62e05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4091ac
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409250
mov eax, ebx
call fcn.004067f8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40ba84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40bbe9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409324
cmp si, word [0x624a08]
jb 0x40bb1c
cmp si, word [0x624c08]
ja 0x40bb1c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40bb1c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x624a08]
jae 0x40baf6
mov edi, ebx
dec edi
jmp 0x40bb17
cmp si, word [ebx*8 + 0x624a08]
jbe 0x40bb06
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40bb17
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x624a0c]
call fcn.0040b9a4
jmp 0x40bb1c
cmp edi, dword [ebp - 8]
jae 0x40bae0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40bbcb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bbcb
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409fa0
push dword [ebp - 0x160]
push 0x40bc04
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409fa0
push dword [ebp - 0x164]
push 0x40bc14
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409fa0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbf0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409384
ret
Function at 0x40bd9c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x630b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x630ba4]
jne 0x40bde8
mov eax, esi
mov edx, 0x630ba6
mov ecx, 0x55
call fcn.00409fa0
push 0x630b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40be8a
push 0x630b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409324
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40be57
cmp byte [0x630b88], 0
je 0x40be1c
mov edx, esi
mov eax, ebx
call fcn.0040bc80
jmp 0x40be57
mov edx, esi
mov eax, ebx
call fcn.0040ba84
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40be57
cmp dword [esi], 0
je 0x40be40
mov eax, esi
mov edx, 0x40beb8
call fcn.0040a0f8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040ba84
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a0f8
push 0x630b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x630ba4], bx
mov eax, dword [esi]
call fcn.00409ee4
mov ecx, eax
mov eax, 0x630ba6
mov edx, 0xaa
call fcn.0040b904
push 0x630b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bea7
lea eax, [ebp - 4]
call fcn.00409324
ret