joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002aa08
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1003a018]
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
xor ebx, ebx
mov ecx, 0x61
xor eax, eax
mov dl, byte [eax + 0x1003431c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x1c], dl
jns 0x10006bb1
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x10006b94
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10006bd0
sub eax, edx
lea ecx, [ebp - 0x1c]
push ecx
mov edi, eax
lea esi, [ebp - 0x38]
call fcn.10023260
cmp dword [0x10040d3c], 0xffec67e2
mov esi, 0x10
jne 0x10006c3b
mov eax, dword [0x1003a870]
cmp dword [0x1003a884], esi
jae 0x10006c0a
mov eax, 0x1003a870
mov edx, dword [0x1003a880]
push edx
push eax
lea eax, [ebp - 0x38]
push eax
xor eax, eax
call fcn.10022950
cmp eax, 0xffffffff
je 0x10006c3b
cmp dword [ebp - 0x24], esi
jb 0x10006c34
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
jmp 0x10006c4f
cmp dword [ebp - 0x24], esi
jb 0x10006c4d
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
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.10029640
mov esp, ebp
pop ebp
ret

Function at 0x10007790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
je 0x100077cf
cmp dword [ebp + 8], 0
je 0x100077cf
test edi, edi
je 0x100077cf
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push edi
push esi
call ebx
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push edi
push esi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100077e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x1003e5c0]
test esi, esi
je 0x1000781b
test ebx, ebx
je 0x1000781b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
mov eax, dword [ebp - 4]
mov cl, byte [ebx]
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
mov byte [esi], cl
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100079f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.100295fe
add esp, 4
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push 0x40
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x10007a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.100295fe
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x40
push edi
push ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
jle 0x10007a82
push esi
mov esi, dword [ebp + 8]
sub ebx, esi
nop
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10007a72
mov cl, byte [esi]
mov byte [ebx + esi], cl
inc esi
dec edi
jne 0x10007a60
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10007a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.100295fe
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
lea ecx, [eax + edi]
mov dword [ebp + 8], ecx
push 0x1c
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov ebx, ecx
test esi, esi
je 0x10007b14
test ecx, ecx
je 0x10007b14
test eax, eax
je 0x10007b14
lea ecx, [ebp + 0xc]
push ecx
push 0x40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add esi, eax
add eax, ecx
cmp eax, dword [ebp + 8]
jb 0x10007ac1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10007b30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10007b5e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 1
push esi
call edi
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push edx
push 1
push esi
mov byte [esi], 0xcc
call edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x10007b70
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x134]
push eax
push edi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10007c1d
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x110]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007be0
test dl, dl
je 0x10007bdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007be0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007bc0
xor eax, eax
jmp 0x10007be5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10007c0b
mov ecx, dword [ebp - 0x12c]
push ecx
push eax
push 1
call ebx
mov esi, eax
test esi, esi
je 0x10007c0b
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x134]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10007bb4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029640
mov esp, ebp
pop ebp
ret

Function at 0x10007c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10036520
push 0x10029d89
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1003a018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], 0
test esi, esi
je 0x10007ccd
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
sub edi, esi
sub edi, 5
mov byte [esi], 0xe9
mov dword [esi + 1], edi
mov eax, 5
mov dword [ebp - 0x1c], eax
mov ecx, 5
cmp eax, ecx
jae 0x10007cb6
mov byte [eax + esi], 0x90
inc eax
jmp 0x10007ca3
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
push ecx
push esi
call ebx
jmp 0x10007ccd
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007cf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10036500
push 0x10029d89
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1003a018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 4], 0
test edi, edi
je 0x10007dbb
mov eax, 0x1001f760
test eax, eax
je 0x10007dbb
lea ecx, [ebp - 0x2c]
push ecx
push 0x40
push 5
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
push 0x14
call fcn.100295fe
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0x30]
push edx
push 0x40
push 0x14
push esi
call ebx
mov dword [esi], 0x1001f760
lea esi, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, 3
jg 0x10007d85
mov cl, byte [eax + esi]
mov byte [ebp + eax - 0x24], cl
inc eax
jmp 0x10007d73
mov word [edi], 0x15ff
xor eax, eax
mov dword [ebp - 0x28], eax
cmp eax, 3
ja 0x10007d9f
mov dl, byte [ebp + eax - 0x24]
mov byte [eax + edi + 2], dl
inc eax
jmp 0x10007d8c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, 5
push eax
push edi
call ebx
jmp 0x10007dbb
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0xa7
xor eax, eax
mov dl, byte [eax + 0x10034364]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], dl
jns 0x10007e14
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1e
jl 0x10007df7
mov ecx, 0x10034384
sub ecx, 0x2e789121
lea eax, [ebp - 0x10]
mov byte [ebp - 0x12], 0
call fcn.10023db0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
push 0x100203d0
push 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
mov byte [ebp - 0x12], cl
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 8
call fcn.10029640
mov esp, ebp
pop ebp
ret
Function at 0x10007e90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100364e0
push 0x10029d89
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1003a018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], 0
test esi, esi
je 0x10007f21
test edi, edi
je 0x10007f21
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
sub edi, esi
sub edi, 5
mov byte [esi], 0xe9
mov dword [esi + 1], edi
mov eax, 5
mov dword [ebp - 0x1c], eax
mov ecx, 6
cmp eax, ecx
jae 0x10007f0a
mov byte [eax + esi], 0x90
inc eax
jmp 0x10007ef7
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
push ecx
push esi
call ebx
jmp 0x10007f21
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100364c0
push 0x10029d89
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1003a018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], 0
test esi, esi
je 0x10007fd1
test edi, edi
je 0x10007fd1
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
sub edi, esi
sub edi, 5
mov byte [esi], 0xe8
mov dword [esi + 1], edi
mov eax, 5
mov dword [ebp - 0x1c], eax
mov ecx, 5
cmp eax, ecx
jae 0x10007fba
mov byte [eax + esi], 0x90
inc eax
jmp 0x10007fa7
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
push ecx
push esi
call ebx
jmp 0x10007fd1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007ff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1000803c
lea eax, [edi + 5]
push esi
push eax
call fcn.100295fe
add esp, 4
mov esi, eax
lea eax, [ebp + 8]
push eax
push 0x40
lea eax, [edi + 5]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.MSVCR100.dll_memcpy
add esi, edi
sub ebx, esi
add esp, 0xc
lea ecx, [ebx + edi - 5]
mov eax, esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
pop esi
sub eax, edi
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10008050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100080bb
push esi
cmp ecx, edx
jne 0x100080b1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10008073
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000807f
mov esi, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1000808b
mov esi, dword [eax + 0x10]
mov dword [ecx], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10008098
mov esi, dword [eax + 0x14]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100080a4
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100080b1
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10008064
pop esi
ret

Function at 0x100080c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
call edi
push 0xc8
push 0
push esi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push 0
push ecx
push edx
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10012200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push esi
push edi
add edx, 0x1c
push edx
call eax
cmp dword [eax], 0
je 0x1001228d
cmp dword [0x10040e30], 0
jne 0x10012234
cmp dword [0x10040eb8], 0
je 0x1001228d
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0xf4
push edx
call eax
mov esi, eax
test esi, esi
je 0x100122da
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push esi
call edi
push 1
push 0x1003435c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10040c88]
mov ecx, dword [0x1003d99c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, 0xf4
push eax
call edx
mov esi, eax
test esi, esi
je 0x100122da
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
push 1
push 0x10034360
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10012450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10040de0], 0
push esi
push edi
jle 0x10012517
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x1c
push edx
call eax
cmp dword [eax], 0
je 0x10012517
mov eax, dword [0x10040de0]
cmp eax, 1
jne 0x10012495
fld dword [0x1003a47c]
jmp 0x100124ba
cmp eax, 2
jne 0x100124a2
fld dword [0x10035868]
jmp 0x100124ba
cmp eax, 3
jne 0x100124af
fld dword [0x10035864]
jmp 0x100124ba
cmp eax, 4
jne 0x100124c0
fld dword [0x10035860]
fstp dword [0x10040f68]
mov ecx, dword [0x1003d99c]
mov eax, dword [0x10040c88]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, 0x134
push eax
call edx
mov esi, eax
test esi, esi
je 0x10012566
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
push 1
push 0x1003435c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x134
push edx
call eax
mov esi, eax
test esi, esi
je 0x10012566
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push esi
call edi
push 1
push 0x1003446c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012570
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10040ddc], 0
push esi
push edi
jle 0x100125f2
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x1c
push edx
call eax
cmp dword [eax], 0
je 0x100125f2
mov ecx, dword [0x1003d99c]
mov eax, dword [0x10040c88]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, 0x13c
push eax
call edx
mov esi, eax
test esi, esi
je 0x10012641
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
push 1
push 0x1003435c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x13c
push edx
call eax
mov esi, eax
test esi, esi
je 0x10012641
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push esi
call edi
push 1
push 0x1003446c
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013ce0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10040e48], 0
push esi
push edi
je 0x10013e02
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x1c
push edx
call eax
cmp dword [eax], 0
je 0x10013e02
push 0x20
mov dword [0x1003c96c], 0x10006f80
call fcn.10006f80
movsx ecx, ax
shr ecx, 0x10
test ecx, ecx
je 0x10013da3
cmp byte [0x1003ecd0], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10013d53
cmp dword [0x1003ecd4], 0
je 0x10013daa
call esi
mov edx, dword [0x1003ecd4]
inc edx
cmp edx, eax
ja 0x10013daa
mov byte [0x1003ecd0], 1
call esi
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov dword [0x1003ecd4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x144
push edx
call eax
mov esi, eax
add esi, 2
je 0x10013e52
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push esi
call edi
push 1
push 0x10034470
jmp 0x10013e3b
mov byte [0x1003ecd0], 0
mov ecx, dword [0x1003d99c]
mov eax, dword [0x10040c88]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, 0x144
push eax
call edx
mov esi, eax
add esi, 2
je 0x10013e52
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
push 1
push 0x10034474
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1003d99c]
mov edx, dword [0x10040c88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, 0x144
push edx
call eax
mov esi, eax
add esi, 2
je 0x10013e52
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 1
push esi
call edi
push 1
push 0x10034474
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100169d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x94]
cmp eax, 5
jne 0x10016a38
mov eax, 1
cmp dword [ebp - 0x90], eax
je 0x10016a2a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10016a8a
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x10016a5a
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10016a72
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10016a28
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x10016a28
cmp dword [ebp - 0x90], 0
jne 0x10016a28
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 5
call fcn.10029640
mov esp, ebp
pop ebp
ret

Function at 0x10016ab0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x1003a4e8
push 0x10040c44
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.100169d0
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
dec eax
cmp eax, 4
ja case.default.0x10016ad6
jmp dword [eax*4 + 0x10016b94]
cmp dword [ebp - 4], 1
jne case.0x10016ad6.2
push str.Win_XP
push 0x100410a8
call esi
add esp, 8
call fcn.100169d0
dec eax
cmp eax, 4
ja case.default.0x10016afd
jmp dword [eax*4 + 0x10016ba8]
cmp dword [ebp - 4], 2
jne case.0x10016afd.1
push str.Win_Vista
push 0x100410a8
call esi
add esp, 8
call fcn.100169d0
dec eax
cmp eax, 4
ja case.default.0x10016b24
jmp dword [eax*4 + 0x10016bbc]
cmp dword [ebp - 4], 3
jne case.0x10016b24.1
push str.Win_7
push 0x100410a8
call esi
add esp, 8
call fcn.100169d0
dec eax
cmp eax, 4
ja case.default.0x10016b4b
jmp dword [eax*4 + 0x10016bd0]
cmp dword [ebp - 4], 4
jne case.0x10016b4b.1
push str.Win_8
push 0x100410a8
call esi
add esp, 8
call fcn.100169d0
dec eax
cmp eax, 4
ja case.default.0x10016b72
jmp dword [eax*4 + 0x10016be4]
cmp dword [ebp - 4], 5
jne case.0x10016b72.1
push str.Wi_10
push 0x100410a8
call esi
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret