joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40194b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401982
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40197e
jmp 0x401970
cmp esi, eax
jae 0x401982
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401970
cmp esi, eax
jb 0x401989
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4047c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040996b
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4047ff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00404403
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x40485d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x404881
cmp dword [edi + 0x74], 0
jne 0x404881
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040996b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040481e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40a7f5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5150cf
call fcn.004f6655
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40a81a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40a86c
call fcn.0040573f
push eax
lea ecx, [ebp - 0x10]
call fcn.00401470
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f770b
push eax
call fcn.004019e0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401520
mov eax, esi
call fcn.004f672d
ret 8
Function at 0x410a7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410ac1
call fcn.0040996b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410ac1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410add
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041057a
mov esi, eax
test edi, edi
je 0x410adb
test ebx, ebx
je 0x410adb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44df7c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d0784
call fcn.0040939c
cmp dword [eax + 0x14], 0
jne 0x44df99
mov ecx, esi
pop esi
jmp fcn.0044da81
pop esi
ret

Function at 0x4515e4
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004daf47
call fcn.0040939c
cmp dword [eax + 0x14], 0
jne 0x451601
mov ecx, esi
pop esi
jmp fcn.00450fb7
pop esi
ret

Function at 0x45e08f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0045dd33
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45e0d9
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409ba2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403a3c
jmp 0x45e0e4
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004112d1
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45e0ea
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0040a4bf
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45e127
call fcn.0045dd33
mov dword [esi + 0xc], 1
jmp 0x45e12c
call fcn.0045dd33
cmp dword [esi], 0
je 0x45e175
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45e14d
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409ba2
jmp 0x45e15f
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401680
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403a3c
jmp 0x45e199
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45e199
push dword [esi]
push dword [ebp + 8]
call fcn.004112d1
pop esi
pop ebp
ret 0xc
Function at 0x461c92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x461cac
call fcn.0040996b
mov esi, dword [eax + 0xc]
push dword [0x5674dc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x461cca
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x461cc2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x461cf7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x461cc4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00461bc0
mov esi, eax
jmp 0x461ce9

Function at 0x4dc048
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4dc060
mov edi, dword [esi + 0xc]
jmp 0x4dc0a0
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4dc079
call fcn.00405e19
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4dc08e
call fcn.00405e19
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4dc0a0
call fcn.00405e19
call fcn.0040996b
cmp dword [eax + 0x3c], 0
je 0x4dc0b5
push edi
mov ecx, ebx
call fcn.004daefb
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004dbf62
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4dc0d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dc0df
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f515d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5625f0]
jne 0x4f5167
repz ret
jmp fcn.004fc793
Function at 0x5081d8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5625f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004fc1bb
and dword [ebp - 0x14], 0
cmp dword [0x569eb0], 0
mov dword [ebp - 0x18], eax
jne 0x50828b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x508333
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x544158
push ebx
call edi
test eax, eax
je 0x508333
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x544148
push ebx
mov dword [0x569eb0], eax
call edi
push eax
call esi
push 0x544134
push ebx
mov dword [0x569eb4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x569eb8], eax
call edi
push eax
call esi
mov dword [0x569ec0], eax
test eax, eax
je 0x50828b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x569ebc], eax
mov eax, dword [0x569ebc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5082e4
cmp dword [0x569ec0], ecx
je 0x5082e4
push eax
call esi
push dword [0x569ec0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5082e4
test ebx, ebx
je 0x5082e4
call edi
test eax, eax
je 0x5082db
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5082db
test byte [ebp - 8], 1
jne 0x5082e4
or dword [ebp + 0x10], 0x200000
jmp 0x508317
mov eax, dword [0x569eb4]
cmp eax, dword [ebp - 0x18]
je 0x508317
push eax
call esi
test eax, eax
je 0x508317
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x508317
mov eax, dword [0x569eb8]
cmp eax, dword [ebp - 0x18]
je 0x508317
push eax
call esi
test eax, eax
je 0x508317
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x569eb0]
call esi
test eax, eax
je 0x508333
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x508335
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f515d
leave
ret
Function at 0x4013d2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x437cfc], 1
mov dword [0x437d00], 1
mov dword [0x437d04], 1
mov dword [0x437cf0], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40141d
mov eax, 0
jmp 0x4014b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401440
mov eax, 0
jmp 0x4014b7
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401462
cmp eax, 0x20b
je 0x401487
jmp 0x4014b2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401474
mov eax, 0
jmp 0x4014b7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014b7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x40149f
mov eax, 0
jmp 0x4014b7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014b7
mov eax, 0
leave
ret
Function at 0x413bd0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x1c
cmp byte [0x437a30], 0
je 0x413c48
mov dword [esp + 4], 0x42e266
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x413d60
mov esi, dword [0x437a2c]
jmp 0x413c0c
lea esi, [edx + eax + 4]
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
mov dword [esp], esi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea edx, [esi + eax + 1]
mov eax, dword [edx]
test ebx, ebx
jne 0x413c08
movzx ecx, word [edx + 4]
add esp, 0x1c
mov eax, ebp
add edx, 6
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040e480
mov dword [esp + 8], 0xa
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
mov esi, dword [eax]
sub esp, 4
mov dword [0x437a2c], ecx
test edx, edx
je 0x413d46
lea ebx, [eax + edx + 8]
mov edx, 0xffffffff
lea esi, [esi]
nop
movzx eax, byte [ecx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add ecx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
cmp ebx, ecx
jne 0x413cb0
not edx
cmp esi, edx
jne 0x413ddf
mov byte [0x437a30], 1
jmp 0x413be4
cmp byte [0x437a28], 0
jne 0x413bfc
mov ebx, dword [sym.imp.python36.dll_PyDict_New]
call ebx
mov dword [0x437a54], eax
call ebx
mov dword [0x437a50], eax
call ebx
mov dword [0x437a4c], eax
call ebx
mov dword [0x437a6c], eax
call ebx
mov dword [0x437a68], eax
call ebx
mov dword [0x437a64], eax
call ebx
mov dword [0x437a5c], eax
call ebx
mov esi, dword [sym.imp.python36.dll_PyLong_FromLong]
mov ebx, 0xfffffffb
mov dword [0x437a58], eax
lea esi, [esi]
lea esi, [esi]
mov dword [esp], ebx
add ebx, 1
call esi
add dword [eax], 1
cmp ebx, 0x102
jne 0x413dc0
mov byte [0x437a28], 1
jmp 0x413bfc
mov dword [esp], str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
Function at 0x41f1c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00426488
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00426488
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x41fd18
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x41fd37
mov eax, 0
jmp 0x41fd7b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x41fd5a
mov eax, 0
jmp 0x41fd7b
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x41fd76
mov eax, 0
jmp 0x41fd7b
mov eax, 1
leave
ret

Function at 0x41fd7d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x41fddc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x41fdd4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x41fdd4
mov eax, dword [ebp - 4]
jmp 0x41fdf0
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x41fdb1
mov eax, 0
leave
ret
Function at 0x4c3c68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404f48
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x4c3d55
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4c3ca4
mov byte [ebx], 0
lea eax, [ebp - 0xc]
push eax
push 0x101
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c3d3a
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c3cea
cmp dword [ebp - 0x10], 1
je 0x4c3cf5
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4c3d3a
mov ecx, dword [ebp - 0x14]
dec ecx
mov eax, esi
xor edx, edx
call fcn.00404b78
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.00404fb0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test ebx, ebx
je 0x4c3d31
test eax, eax
sete al
mov byte [ebx], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3d5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404aac
ret
Function at 0x4cb83c
Capabilities:
Create process on windows

Disassembly:
push ebx
mov dl, 1
mov eax, dword [0x418a00]
call fcn.00403bcc
mov ebx, eax
mov edx, 0x4cb900
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb910
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb938
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb970
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb994
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb9a8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb9b8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb9d8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cba0c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cba28
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cba40
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cba4c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, ebx
call fcn.00403bfc
push 0
push 0
push 0
push 0x4cba58
push 0
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x40872f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec ecx
fistp qword [ecx - 0x1b]
retf 0x89c1
jg 0x40864d
pop edi
or bl, byte [edi]
jecxz 0x4086bb

Function at 0x40a340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp - 0x1a]
dec ebp
mov edi, dword [esp + eax - 0x228a3f7b]
and dword [esi + 9], 0xffffff99
push 0x15
sub al, 0xc0
inc eax
add byte [ebx], dh
rcr byte [esi + 0x5d], 0xc2
mov eax, dword [eax]
cmp eax, 1
jne 0x40a348
mov esp, 0x75c08504
fld qword [ebx + 0x6a990966]
adc eax, sym.imp.KERNEL32.dll_LeaveCriticalSection
xor eax, eax
pop esi
pop ebp
ret 0x8b
mov eax, dword [ecx + 8]
push eax
inc dword [eax + esi - 0x14ffbf40]
jae 0x1cb5a66d
mov ecx, dword [ecx - 0x2f]
push ecx
leave
dec ecx
pop edx
push edx
inc eax
add byte [ebp - 0x742a8a40], al
xor eax, 0x400798
add bh, bh
salc
test eax, eax
je 0x40a358
call [edi]
hlt
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x100010a0
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.10001240
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10001164
cmp dword [ebp - 4], 0x50000000
jb 0x100010e1
cmp dword [ebp - 4], 0x80000000
ja 0x100010e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100010ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c2c10
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 0x10001107
jmp 0x10001164
cmp dword [ebp - 0x14], 0x10000
jne 0x1000114a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000114a
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 0x1000113d
mov eax, dword [ebp - 8]
jmp 0x10001166
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000115f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100010ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000122c
cmp dword [ebp - 4], 0x50000000
jb 0x100011ac
cmp dword [ebp - 4], 0x80000000
ja 0x100011ac
mov dword [ebp - 4], 0x80010000
jmp 0x10001185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c2c10
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 0x100011d2
jmp 0x1000122c
cmp dword [ebp - 0x14], 0x10000
jne 0x10001215
cmp dword [ebp - 0x18], 0x10000
jb 0x10001215
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 0x10001208
mov eax, dword [ebp - 8]
jmp 0x1000122e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001227
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001185
xor eax, eax
mov esp, ebp
pop ebp
ret