joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x1f8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x1f4
push 0
push eax
call fcn.1001da60
add esp, 0xc
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100135dc
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x1fc]
call esi
test eax, eax
jne 0x100135dc
push 0x1f4
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.1001da60
add esp, 0xc
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x1fc]
call esi
test eax, eax
je 0x100135a4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret

Function at 0x10013f80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10013fda
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp + 8]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10013fb6
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm0
test edi, edi
je 0x10013fd9
lea eax, [ebp + 8]
push eax
push 4
push 0xf8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10013fd9
mov ecx, 0x3e
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
ret

Function at 0x10013fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1000
push 0
push dword [ebp + 8]
call fcn.1001da60
add esp, 0xc
push 0
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esp, ebp
pop ebp
ret
Function at 0x10014050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100140c6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100140c6
nop
cmp ecx, esi
jne 0x100140bd
mov edx, dword [eax + 4]
test edx, edx
je 0x1001407f
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x1001408b
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x10014097
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100140a4
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x100140b0
mov ecx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x100140bd
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10014070
pop esi
pop ebp
ret
Function at 0x100152e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10a6c54c]
test eax, eax
je 0x100152fc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10015356
mov eax, dword [eax]
test eax, eax
jne 0x100152f0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x10015354
push esi
lea edx, [ecx + 0x20]
mov dword [ecx + 4], 0
mov esi, edx
mov dword [ecx + 8], 0
sub esi, ecx
nop dword [eax]
mov eax, dword [ecx + 4]
add esi, 0x20
mov dword [edx], eax
mov dword [ecx + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x10015330
mov eax, dword [0x10a6c54c]
mov dword [ecx], eax
mov dword [0x10a6c54c], ecx
pop esi
mov eax, ecx
ret
Function at 0x10015b50
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x10a6c548]
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
test ebx, ebx
je 0x10015c53
mov eax, dword [0x10a6c540]
mov edx, dword [ebp + 8]
add eax, 0x14
nop dword [eax]
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, edx
jne 0x10015b9d
inc esi
add eax, 0x2c
cmp esi, ebx
jb 0x10015b80
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10015c53
xor eax, eax
test edx, edx
setne al
push eax
lea eax, [ebp - 0x10]
push 0xffffffffffffffff
push eax
call fcn.10015ff0
mov edx, dword [0x10a6c548]
add esp, 0xc
cmp esi, edx
jae 0x10015c07
mov ecx, dword [ebp + 8]
imul ebx, esi, 0x2c
nop dword [eax]
mov eax, dword [0x10a6c540]
movzx eax, byte [ebx + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ecx
je 0x10015bfc
push ecx
push esi
call fcn.10015d20
mov edi, eax
add esp, 8
test edi, edi
jne 0x10015c04
mov edx, dword [0x10a6c548]
mov ecx, dword [ebp + 8]
inc esi
add ebx, 0x2c
cmp esi, edx
jb 0x10015bd0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10015c53
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10015c44
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10015c38
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10015c17
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10a6b800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015d20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
mov eax, 5
push edi
mov dword [ebp + 8], eax
add esi, dword [0x10a6c540]
test byte [esi + 0x14], 1
mov edi, dword [esi]
je 0x10015d4a
sub edi, eax
mov eax, 7
mov dword [ebp + 8], eax
lea ecx, [ebp - 4]
push ecx
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10015d67
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10015d8c
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10015dad
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10015dad
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10015da7
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10015dad
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10015e50
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10015f37
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10015f30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10015f16
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10015f16
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10015f16
mov ecx, dword [esi]
test ecx, ecx
jne 0x10015edf
push 0x200
push ecx
mov dword [esi + 4], 0x80
push dword [0x10a6b800]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x10015f2f
jmp 0x10015f08
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10015f08
shl eax, 3
push eax
push ecx
push 0
push dword [0x10a6b800]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10015f2f
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10015ea0
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x10015ff0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10015e50
add esp, 4
cmp dword [esi], 0
je 0x1001605c
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1001605b
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10016054
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10016250
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10016022
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10016390
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x100163e0
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100163cf
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100163c8
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100163a5
pop ebx
push dword [edi]
push 0
push dword [0x10a6b800]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x10017bf0
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.10017da0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10017cbd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10148bc8]
jb 0x10017c3a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10148bcc]
ja 0x10017c3a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10017c0a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001da60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10017c60
jmp 0x10017cbd
cmp dword [ebp - 0x14], 0x10000
jne 0x10017ca3
cmp dword [ebp - 0x18], 0x10000
jb 0x10017ca3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10017c96
mov eax, dword [ebp - 8]
jmp 0x10017cbf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10017cb8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10017da0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10017c0a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10017cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10017dd0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10017d95
mov edx, dword [ebp - 4]
cmp edx, dword [0x10148bc8]
jb 0x10017d15
mov eax, dword [ebp - 4]
cmp eax, dword [0x10148bcc]
ja 0x10017d15
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10017ce5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001da60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10017d3b
jmp 0x10017d95
cmp dword [ebp - 0x14], 0x10000
jne 0x10017d7e
cmp dword [ebp - 0x18], 0x10000
jb 0x10017d7e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10017d71
mov eax, dword [ebp - 8]
jmp 0x10017d97
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10017d90
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10017dd0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10017ce5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10017e00
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.100181f0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10a6bb00], 0
jne 0x10017e3d
cmp dword [0x10a6bafc], 0
je 0x10017e3d
mov eax, dword [0x10a6bafc]
mov dword [0x10a6bb00], eax
cmp dword [0x10a6bb00], 0
je 0x10017eba
mov ecx, dword [0x10a6bb00]
cmp dword [ecx + 8], 0
je 0x10017eba
mov edx, dword [0x10a6bb00]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10017eba
mov ecx, dword [0x10a6bb00]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10017eba
mov eax, dword [0x10a6bb00]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10017e89
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10017e90
xor eax, eax
jmp 0x10017fd9
mov ecx, dword [0x10a6bb00]
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 fcn.1001da60
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10017fd9
mov edx, dword [0x10a6bafc]
mov dword [0x10a6bb00], edx
jmp 0x10017ed6
mov eax, dword [0x10a6bb00]
mov ecx, dword [eax + 4]
mov dword [0x10a6bb00], ecx
cmp dword [0x10a6bb00], 0
je 0x10017f16
cmp dword [0x10a6bb00], 0
je 0x10017f14
mov edx, dword [0x10a6bb00]
cmp dword [edx + 8], 0
je 0x10017f14
mov eax, dword [0x10a6bb00]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10017f14
mov edx, dword [0x10a6bb00]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10017f14
jmp 0x10017e6e
jmp 0x10017ec8
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.10017fe0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10017fd7
mov eax, dword [ebp - 0x18]
mov dword [0x10a6bb00], eax
mov ecx, dword [0x10a6bb00]
mov dword [ecx], 0x52727464
mov edx, dword [0x10a6bb00]
mov dword [edx + 8], 0
mov eax, dword [0x10a6bb00]
mov ecx, dword [0x10a6bafc]
mov dword [eax + 4], ecx
mov edx, dword [0x10a6bb00]
mov dword [0x10a6bafc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10a6bb00]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10017fa7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10017fc7
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 0x10017f9e
mov eax, dword [0x10a6bb00]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10017e6e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1002bd55
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002bbd4

Function at 0x100306b4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10030374

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 0x92fd00
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92fd06
pop ebp
sub ebp, 6
sub ebp, 0x52fd00
jmp 0x92fd64
jmp 0x92fd6d
mov eax, 0x52fd00
add eax, ebp
add eax, 0x93
mov ecx, 0x621
mov edx, 0x54dceed1
xor byte [eax], dl
inc eax
dec ecx
jne 0x92fd84
jmp 0x92fd97
mov ebx, 0xc1d1b991
rcl ecx, 1
mov ecx, 0xd1fd1dd1
loop 0x92fdb6
sub dword [esi], 0x9890a944
rol dword [ecx + 0x585a1c5a], 1
in eax, dx
rcl ecx, 1
rcl dword [eax + 0x10]
sub ecx, edx
rcl ecx, 1
rcr byte [ecx + ebp*2], cl
adc byte [ecx], ch
rcl ecx, 1
rcl edx, 1
sbb al, 0x69
xlatb
rcl ecx, 1
shr dword [ebx - 7], 1
rcl ecx, 1
shl dword [esi], 1
xor edx, edx
sbb dword [edx + 0x50], ebx
fst st(1)
rcl ecx, 1
rcl byte [ecx + eax*4], cl
mov ecx, 0xd1d8e3fc
mov ecx, 0xd1981b01
sar ch, 1
rcl eax, 1
std
cmc
mov ecx, 0xd1d1d1d1
cmp esp, edx
rcl ecx, 1
sar dword [eax], 1
stc
rcl ecx, 1
rol dword [ebp + eax*4 - 0x26aba574], 1
rcl ecx, 1
rcr dword [edx + 0x44], 1
fst st(1)
rcl ecx, 1
pop edx
pop esp
rcl ecx, 0xd1
rcl dword [eax]
cmp bl, dl
loopne 0x92fddd
push edx
adc edx, ebp
cwde
ficom word [ebp + 0x2e]
mov word cs:[ebx], ss
fst st(1)
pop edx
pop ebp
cmc
aad 0xd1
rcl ecx, 1
mov ecx, 0xd1d8e3fc
mov ecx, 0xd1981b01
sar ch, 1
cmc
cmp byte [ecx], 0xd4
rcl ecx, 1
sar dword [eax], 1
loop 0x92fe08
rcl ecx, 1
test byte [edx + 0x3d], bl
movsb byte es:[edi], byte cs:[esi]
invalid
Function at 0x41fd10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x41fd32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fd39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fd28
mov eax, 1
add ebx, ebx
jne 0x41fd4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fd40
jne 0x41fd5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fd40
xor ecx, ecx
sub eax, 3
jb 0x41fd70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41fde2
mov ebp, eax
add ebx, ebx
jne 0x41fd7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41fd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fdac
inc ecx
add ebx, ebx
jne 0x41fd98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41fd8d
jne 0x41fda9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fd8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fdcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fdbd
jmp 0x41fd2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fdcc
add edi, ecx
jmp 0x41fd2e
pop esi
mov edi, esi
mov ecx, 0x1a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41fdea
cmp byte [edi], 3
jne 0x41fdea
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 0x41fdef
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41fe67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2064c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20688]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41fe1c
mov ecx, edi
jns 0x41fe4b
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 + 0x2068c]
or eax, eax
je 0x41fe61
mov dword [ebx], eax
add ebx, 4
jmp 0x41fe39
call dword [esi + 0x20690]
popal
jmp 0x40215c

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 0x406950
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x407140
call fcn.00406dd8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x409990
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x406778
cmp eax, esi
jne 0x40676b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40677b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40674f
xor esi, esi
inc esi
cmp dword [0x409994], esi
jne 0x40678d
push 0x1f
call fcn.0055d000
pop ecx
jmp 0x4067c7
cmp dword [0x409994], ebx
jne 0x4067c1
mov dword [0x409994], esi
push 0x4010e4
push 0x4010d8
call fcn.004068ac
pop ecx
pop ecx
test eax, eax
je 0x4067c7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40689c
mov dword [0x408184], esi
cmp dword [0x409994], esi
jne 0x4067ea
push 0x4010d4
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x409994], 2
test edi, edi
jne 0x4067f7
xor eax, eax
mov ecx, 0x409990
xchg dword [ecx], eax
cmp dword [0x409998], 0
je 0x406823
push 0x409998
call fcn.00406c30
pop ecx
test eax, eax
je 0x406823
push ebx
push 2
push ebx
mov esi, dword [0x409998]
mov ecx, esi
call dword [0x40a194]
call esi
push dword [0x408190]
push dword [0x40818c]
push dword [0x408188]
call fcn.004036a0
add esp, 0xc
mov dword [0x408180], eax
cmp dword [0x408198], 0
jne 0x406881
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x408184], 0
jne 0x406895
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x408180]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00406d25
jmp 0x406733

Function at 0x406b14
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x407160
call fcn.00406dd8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406b74
cmp eax, 0xffffffff
je 0x406b74
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x406b6d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x406b6d
cmp edx, 0x10000000
jae 0x406b6d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x406b6a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406be0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x406c1e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x406c16
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x406c20
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x406c06
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret