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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 8], eax
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1002fbac
cmp dword [ecx], edi
jne 0x1002fba4
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1002fbb4
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1002fbb4
cmp dword [ecx], edi
jne 0x1002fbb7
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.1003ef74
mov eax, dword [ebp - 8]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8

Function at 0x1002fc90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 8], eax
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1002fd14
cmp dword [ecx], edi
jne 0x1002fd0c
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1002fd1c
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1002fd1c
cmp dword [ecx], edi
jne 0x1002fd1f
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.1003ef74
mov eax, dword [ebp - 8]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8
Function at 0x10038600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push esi
mov esi, dword [0x10054d10]
push edi
push eax
push 0x40
push 5
add esi, 0x100967
push esi
call ebx
mov edi, 0x1000b970
mov byte [esi], 0xe8
mov eax, edi
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
add esi, 0x100972
push esi
call ebx
lea eax, [ebp - 0xc]
mov dword [esi], 0x908a0489
push eax
push dword [ebp - 8]
push 4
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
add esi, 0x100944
push esi
call ebx
mov eax, 0x1000ab90
mov byte [esi], 0xe8
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
add esi, 0x100949
push esi
call ebx
lea eax, [ebp - 0xc]
mov dword [esi], 0x90909090
push eax
push dword [ebp - 8]
push 4
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
add esi, 0x10080c
push 4
push esi
call ebx
lea eax, [ebp - 0xc]
mov dword [esi], 0xfc8a448b
push eax
push dword [ebp - 8]
push 4
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
add esi, 0x100810
push esi
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0x90
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
add esi, 0xab9d9
push esi
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0xe8
push eax
push dword [ebp - 8]
sub edi, esi
push 5
sub edi, 5
push esi
mov dword [esi + 1], edi
call ebx
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 3
add esi, 0xab9de
push esi
call ebx
mov eax, 0x90909090
mov word [esi], ax
mov byte [esi + 2], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 3
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret
Function at 0x10038790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x15fce
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x100385e0
mov byte [esi], 0xe8
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call edi
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
add esi, 0x15fcc
push esi
call edi
lea eax, [ebp - 0xc]
mov ebx, 0x90909090
push eax
push dword [ebp - 8]
mov word [esi], bx
push 2
push esi
call edi
mov ecx, dword [0x10054d10]
lea eax, [ecx + 0x15fd3]
mov dword [0x10054ce4], eax
lea esi, [ecx + 0x1695d]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call edi
mov eax, 0x100385f0
mov byte [esi], 0xe8
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push esi
call edi
mov esi, dword [0x10054d10]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
add esi, 0x1695b
push esi
call edi
lea eax, [ebp - 0xc]
mov word [esi], bx
push eax
push dword [ebp - 8]
push 2
push esi
call edi
mov eax, dword [0x10054d10]
pop edi
add eax, 0x16962
pop esi
mov dword [0x10054ce0], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003ec02
mov esp, ebp
pop ebp
ret
Function at 0x10039370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ebx
movzx eax, byte [edx]
xor eax, 0x811c9dc5
mov dword [ebp - 8], edx
push esi
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
mov esi, dword [edi + 0xc]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp - 8]
nop dword [eax]
cmp ebx, ecx
jne 0x100393e8
mov edx, ecx
jmp 0x100393ed
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x10039441
mov edx, dword [eax + 8]
cmp edx, dword [esi]
je 0x100393fc
mov eax, dword [eax]
jmp 0x100393e0
mov esi, dword [esi]
mov edx, eax
mov dword [ebp - 8], esi
cmp ebx, ecx
jne 0x1003940b
mov esi, ecx
jmp 0x10039410
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x10039420
mov esi, dword [ebp - 8]
cmp esi, dword [eax + 8]
jne 0x10039420
mov eax, dword [eax]
jmp 0x10039403
cmp edx, eax
je 0x10039441
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8

Function at 0x10039460
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
nop dword [eax]
cmp dword [ebp - 0xc], esi
jne 0x100394d9
mov ecx, esi
jmp 0x100394de
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100394f9
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x100394ed
mov eax, dword [eax]
jmp 0x100394d0
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
cmovne eax, esi
mov dword [ebx], eax
jmp 0x100394fb
mov dword [ebx], esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8
Function at 0x10039510
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100436d7
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
lea edi, [ebx + 4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp esi, dword [eax]
mov eax, dword [ebp + 0x10]
jne 0x1003957c
cmp eax, dword [edi]
jne 0x1003957c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10039730
push 8
mov ecx, ebx
call fcn.1002bbf0
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1003965e
cmp esi, eax
je 0x1003965a
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], esi
jne 0x100395ed
cmp dword [ecx], esi
jne 0x100395e5
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi]
mov dword [ecx + edx + 4], eax
jmp 0x100395f5
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100395f5
cmp dword [ecx], esi
jne 0x100395f5
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1003963f
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1003963f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1003963f
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 4]
cmp eax, vtable.std::_Ref_count_obj_struct_httplib::Response_.0
jne 0x1003963d
push 1
call dword [eax + 8]
jmp 0x1003963f
call edx
push esi
call fcn.1003ef74
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 4]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x10039584
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10039680
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
push edi
mov edi, dword [ebp + 8]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x18]
and edx, ecx
lea ebx, [edx*8]
mov edx, dword [esi + 0xc]
add edx, ebx
cmp dword [edx + 4], eax
jne 0x10039700
cmp dword [edx], eax
jne 0x100396f8
mov eax, dword [esi + 4]
mov dword [edx], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [ebx + ecx + 4], eax
jmp 0x10039708
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jmp 0x10039708
cmp dword [edx], eax
jne 0x1003970b
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [esi + 4]
call fcn.100397b0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 8
Function at 0x10039850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043700
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 0x20], edx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], esi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
mov dword [ebp - 0x24], edx
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
mov esi, dword [edx + 0xc]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [edx + 4]
jne 0x100398e3
mov esi, dword [edx + 4]
jmp 0x100398e9
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x100398fe
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x10039949
cmp esi, eax
jne 0x100398f2
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1003992e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [edx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x1003997e
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx + 4], edi
jmp 0x100399a6
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [edx + 4]
call fcn.100397b0
mov dword [ebx], esi
mov byte [ebx + 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003ec02
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10039986
mov dword [ecx], edi
jmp 0x100399a6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100399a6
mov edx, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx + 4]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov edx, dword [ebp - 0x20]
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.100399e0
mov dword [ebx], edi
mov byte [ebx + 4], 1
jmp 0x1003995e
Function at 0x1003e9f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push ecx
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x1003ea63
lea eax, [ebp - 8]
push eax
push edi
push edi
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1003ea5c
mov eax, dword [ebp - 8]
test eax, eax
je 0x1003ea5c
push esi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1003ea5b
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1003ea54
mov edi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.1003ec02
mov esp, ebp
pop ebp
ret
Function at 0x5c37f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x135000]
push edi
or ebp, 0xffffffff
jmp 0x5c3812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c3819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c3808
mov eax, 1
add ebx, ebx
jne 0x5c382b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c383c
jne 0x5c385b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c385b
dec eax
add ebx, ebx
jne 0x5c3848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c3820
add ebx, ebx
jne 0x5c3857
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c38ad
xor ecx, ecx
sub eax, 3
jb 0x5c3873
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c38e2
sar eax, 1
mov ebp, eax
jmp 0x5c387e
add ebx, ebx
jne 0x5c387e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c384c
inc ecx
add ebx, ebx
jne 0x5c388c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c384c
add ebx, ebx
jne 0x5c3899
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c388e
jne 0x5c38aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c388e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c38cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c38be
jmp 0x5c380e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c38cc
add edi, ecx
jmp 0x5c380e
pop esi
mov edi, esi
mov ecx, 0x392c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c38ea
cmp byte [edi], 0x13
jne 0x5c38ea
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 0x5c38ef
lea edi, [esi + 0x1c0000]
mov eax, dword [edi]
or eax, eax
je 0x5c395e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f4f44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f5020]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c391c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f5024]
or eax, eax
je 0x5c3958
mov dword [ebx], eax
add ebx, 4
jmp 0x5c3939
call dword [esi + 0x1f5034]
mov ebp, dword [esi + 0x1f5028]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5c3992
sub esp, 0xffffff80
jmp 0x4797ec
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push dword [ebp + 8]
push 0x100
push eax
call dword [sym.imp.msvcrt.dll__vsnprintf]
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
leave
ret

Function at 0x40104b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 4]
push eax
push str.Softwarehskp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4010dc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xc
push eax
push 0x403008
push 0
push 0
push str.Config
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x403010], 0
je 0x4010dc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x2c
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x18]
mov ecx, 0x403008
push eax
call fcn.004010de
movsx eax, byte [0x403010]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
leave
ret

Function at 0x4010ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2c
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401157
mov cx, word [ebp - 0x14]
mov byte [0x403010], al
mov word [0x403008], cx
mov cx, word [ebp - 0x10]
mov word [0x40300a], cx
mov cx, word [ebp - 0xc]
mov word [0x40300c], cx
mov cx, word [ebp - 8]
mov word [0x40300e], cx
lea eax, [ebp - 4]
push eax
push str.Softwarehskp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4011c1
push esi
lea eax, [ebp - 0xb0]
push 0x40
push eax
push 1
push dword [0x403018]
call dword [sym.imp.USER32.dll_LoadStringW]
shl eax, 1
push eax
lea eax, [ebp - 0xb0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 1
push 0
push 0
push dword [ebp - 4]
call esi
push 0xc
push 0x403008
push 3
push 0
push str.Config
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x4017a1
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x40
push 0x403028
push esi
push esi
mov dword [0x403018], eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea ecx, [ebp - 0x4c]
pop edx
call fcn.00401034
mov eax, dword [0x403018]
push 0x7f00
push esi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x4012f2
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x64
mov dword [ebp - 0x30], eax
pop edi
push edi
push dword [0x403018]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
mov edi, 0x4021a0
push eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov eax, 0x80000000
push dword [0x403018]
push esi
push esi
push esi
push eax
push esi
push eax
push 0xcf0000
push esi
push edi
push 0x310
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xa
push eax
mov dword [section..data], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push esi
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
call edi
test eax, eax
je 0x4018a7
lea eax, [ebp - 0x1c]
push eax
push dword [section..data]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40189e
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
jmp 0x401870
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ExitProcess]