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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x1001a152
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x75]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x1001a140
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x1001cff0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001d051
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1001d034
cmp edi, 2
jb 0x1001d034
cmp byte [esi], cl
jne 0x1001d034
cmp byte [esi + 1], cl
jne 0x1001d034
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10062508]
jmp 0x1001d005
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10062508]
test edi, edi
jne 0x1001d005
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001d080
cmp cl, 0x23
jne 0x1001d067
cmp byte [esi], cl
jne 0x1001d067
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10062508]
test cl, cl
jne 0x1001d058
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1001d190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1001d1a4
mov dword [ebx], 0
mov edx, 0x100674fc
call fcn.1001d090
mov esi, eax
test esi, esi
je 0x1001d292
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1001d288
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001d288
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1001d288
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001d288
mov eax, dword [0x10127c30]
test eax, eax
je 0x1001d21c
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1001d288
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1001d26d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10127c30]
add esp, 4
test eax, eax
je 0x1001d25a
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1001d27f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10062508]
sub edi, 1
jne 0x1001f3f0
not edx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100228e0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1002291d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10022903
cmp byte [esi], bl
jne 0x10022903
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10062508]
test bl, bl
jne 0x100228f4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10022880
Function at 0x10027f60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10127c30]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov eax, dword [eax + 0x3e48]
mov esi, 4
mov ebx, dword [eax + 0xec]
lea edi, [eax + 0xe4]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10062508]
sub esi, 1
jne 0x10027fa0
mov eax, dword [ebp - 8]
not ebx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], ebx
jne 0x10027fda
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100328d0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x10028005
inc esi
test ecx, ecx
je 0x10027ff3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10027ff8
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100330f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x100313c2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1003137c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10033470
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1001d7c0
mov edx, dword [esi]
mov ecx, 0x10127b7b
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1001d7c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100317b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10127c30]
test bl, bl
je 0x100317f6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x100317d7
cmp byte [esi], bl
jne 0x100317d7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10062508]
test bl, bl
jne 0x100317c8
mov edi, dword [0x10127c30]
mov esi, dword [edi + 0x5a54]
xor ecx, ecx
not eax
test esi, esi
jle 0x1003181c
mov edi, dword [edi + 0x5a5c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x10031822
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x10031810
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x1003b880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1003b8ba
mov eax, dword [0x10127c30]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1003b8ad
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003b8eb
mov eax, dword [0x10127c30]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1003b8de
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1003b91c
mov eax, dword [0x10127c30]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1003b90f
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1003b969
mov eax, dword [0x10127c30]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1003b95c
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1003b99a
mov eax, dword [0x10127c30]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1003b98d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1003b9cb
mov eax, dword [0x10127c30]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1003b9be
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003e5a0
Function at 0x1005ac60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1005ae30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1005ad3d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1005acaa
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d004]
ja 0x1005acaa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005ac7a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1005accf
jmp 0x1005ad3d
cmp dword [ebp - 0x14], 0x10000
jne 0x1005ad23
cmp dword [ebp - 0x18], 0x10000
jb 0x1005ad23
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005ad06
mov eax, dword [ebp - 8]
jmp 0x1005ad3f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005ad16
xor eax, eax
jmp 0x1005ad3f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005ad38
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1005ae30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005ac7a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005ad50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1005ae60
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1005ae25
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1005ad95
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d004]
ja 0x1005ad95
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005ad65
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1005adba
jmp 0x1005ae25
cmp dword [ebp - 0x14], 0x10000
jne 0x1005ae0e
cmp dword [ebp - 0x18], 0x10000
jb 0x1005ae0e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005adf1
mov eax, dword [ebp - 8]
jmp 0x1005ae27
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005ae01
xor eax, eax
jmp 0x1005ae27
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005ae20
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1005ae60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005ad65
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005ae90
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1005b280
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100b2194], 0
jne 0x1005aecd
cmp dword [0x100b2190], 0
je 0x1005aecd
mov eax, dword [0x100b2190]
mov dword [0x100b2194], eax
cmp dword [0x100b2194], 0
je 0x1005af4a
mov ecx, dword [0x100b2194]
cmp dword [ecx + 8], 0
je 0x1005af4a
mov edx, dword [0x100b2194]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1005af4a
mov ecx, dword [0x100b2194]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1005af4a
mov eax, dword [0x100b2194]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1005af19
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1005af20
xor eax, eax
jmp 0x1005b069
mov ecx, dword [0x100b2194]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1005b069
mov edx, dword [0x100b2190]
mov dword [0x100b2194], edx
jmp 0x1005af66
mov eax, dword [0x100b2194]
mov ecx, dword [eax + 4]
mov dword [0x100b2194], ecx
cmp dword [0x100b2194], 0
je 0x1005afa6
cmp dword [0x100b2194], 0
je 0x1005afa4
mov edx, dword [0x100b2194]
cmp dword [edx + 8], 0
je 0x1005afa4
mov eax, dword [0x100b2194]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1005afa4
mov edx, dword [0x100b2194]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1005afa4
jmp 0x1005aefe
jmp 0x1005af58
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1005b070
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1005b067
mov eax, dword [ebp - 0x18]
mov dword [0x100b2194], eax
mov ecx, dword [0x100b2194]
mov dword [ecx], 0x52727464
mov edx, dword [0x100b2194]
mov dword [edx + 8], 0
mov eax, dword [0x100b2194]
mov ecx, dword [0x100b2190]
mov dword [eax + 4], ecx
mov edx, dword [0x100b2194]
mov dword [0x100b2190], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100b2194]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1005b037
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1005b057
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1005b02e
mov eax, dword [0x100b2194]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1005aefe
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005bdb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b2190]
mov dword [ebp - 4], eax
jmp 0x1005bdc9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1005bdf0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1005bdee
call sub.KERNEL32.dll_GetLastError
jmp 0x1005bdf2
jmp 0x1005bdc0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005c290
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100b21a0], eax
je 0x1005c2ad
mov eax, 0x10dd
jmp 0x1005c390
mov eax, dword [0x100b21b0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005c32c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1005c308
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1005c308
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1005b310
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1005d7e2
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1005c2b5
mov dword [0x100b21b0], 0
call fcn.1005bbf0
mov ecx, dword [0x100b21ac]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005c37a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1005d7e2
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1005c344
mov dword [0x100b21ac], 0
mov dword [0x100b21a0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005c870
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100b21a4], 0
je 0x1005c889
mov eax, dword [0x100b21a4]
jmp 0x1005c928
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1005c89a
xor eax, eax
jmp 0x1005c928
push 8
call fcn.1005d7b2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005c8f2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1005c8db
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1005d7e2
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100b21a4], eax
mov dword [0x100b21a8], 0
mov eax, dword [ebp - 8]
jmp 0x1005c928
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1005c90a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005c8ba
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100b21ac]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100b21ac], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x401106
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
call fcn.0043b7d1
xor esi, esi
pop ecx
mov edi, eax
cmp dword [ebp + 0x10], esi
jle 0x40113e
push ebx
mov ebx, dword [ebp + 8]
sub ebx, edi
mov eax, esi
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + edi]
mov al, byte [edx + eax]
xor al, byte [ebx + ecx]
inc esi
mov byte [ecx], al
cmp esi, dword [ebp + 0x10]
jl 0x401123
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x401144
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push 0x31
pop eax
mov word [ebp - 4], ax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x6c], 0x65777e62
mov dword [ebp - 0x68], 0x74637066
mov dword [ebp - 0x64], 0x7462746d
mov dword [ebp - 0x60], 0x62746d65
mov dword [ebp - 0x5c], 0x62116574
mov dword [ebp - 0x58], 0x43445254
mov dword [ebp - 0x54], 0x6d484558
mov dword [ebp - 0x50], 0x43434472
mov dword [ebp - 0x4c], 0x67455f54
mov dword [ebp - 0x48], 0x58424354
mov dword [ebp - 0x44], 0x726d5f5e
mov dword [ebp - 0x40], 0x58575f5e
mov dword [ebp - 0x3c], 0x5d416d56
mov dword [ebp - 0x38], 0x5f585644
mov dword [ebp - 0x34], 0x16d42
mov dword [ebp - 0x30], 0x1010101
mov dword [ebp - 0x2c], 0x426d0701
mov dword [ebp - 0x28], 0x58454554
mov dword [ebp - 0x24], 0x6d42565f
mov dword [ebp - 0x20], 0x5f435a74
mov dword [ebp - 0x1c], 0x575f786d
mov dword [ebp - 0x18], 0x52706d5e
mov dword [ebp - 0x14], 0x5f445e52
mov byte [ebp - 0x10], 0x45
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401203
push esi
push edi
sub eax, ecx
push eax
push 0x5d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00401106
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push 0x20119
xor edi, edi
push edi
push eax
push reloc.WS2_32.dll_bind
mov byte [eax + 0x5d], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40128a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push 0x45eb48
push dword [ebp - 8]
call esi
test eax, eax
jne 0x401281
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push str.Name
push dword [ebp - 8]
call esi
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x40128a
xor eax, eax
inc eax
jmp 0x40128c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x401290
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44ffdc
call fcn.0044f20c
sub esp, 0x84
push 0x31
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], 0x3c
mov dword [ebp - 0x34], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4012bb
push ebx
push esi
sub eax, edx
push eax
push 0x2f
lea eax, [ebp - 0x10]
push eax
push str.bwefpctmtbtemtbte
call fcn.00401106
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x20119
xor ebx, ebx
push ebx
push eax
push reloc.WS2_32.dll_bind
mov byte [eax + 0x2f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4014b0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x45eb58
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4014b0
push edi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x30]
call fcn.004027e3
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00402894
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
call fcn.004028eb
mov ebx, eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004029ba
xor ebx, ebx
push 1
xor edi, edi
lea esi, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00402a08
mov eax, 0x45eb6c
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x40149c
mov eax, 0x45eb70
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x40149c
mov eax, 0x45eb74
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x40149c
mov eax, 0x45eb78
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x40149c
mov eax, 0x45eb7c
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x40149c
mov eax, 0x45eb80
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x4013f5
push 9
jmp 0x40149e
mov eax, 0x45eb84
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x40140d
push 0xa
jmp 0x40149e
mov eax, 0x45eb88
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x401422
push 0xb
jmp 0x40149e
mov eax, 0x45eb8c
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x401498
mov eax, 0x45eb90
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
je 0x401498
mov eax, 0x45eb94
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x401459
push 0xe
jmp 0x40149e
mov eax, 0x45eb98
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x40146e
push 0xf
jmp 0x40149e
mov eax, 0x45eb9c
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x401483
push 0x10
jmp 0x40149e
mov eax, 0x45eba0
lea edx, [ebp - 0x30]
call fcn.00402916
test eax, eax
jne 0x40149f
push 0x11
jmp 0x40149e
push 0xc
jmp 0x40149e
push 8
pop ebx
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00402a08
mov eax, ebx
pop edi
jmp 0x4014b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret