joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4570
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov dword [ebp - 4], 0xff
mov ebx, 0x4c45ac
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c45a0
lea ebx, [ebp - 0x103]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c45d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4c4660
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404280
mov eax, dword [ebp - 4]
call fcn.00404540
test al, al
jbe 0x4c464a
mov byte [ebp - 5], al
mov bl, 1
lea eax, [ebp - 0xc]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00404468
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404548
xor eax, eax
mov al, bl
mov edx, dword [edi]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp + 0x10]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 5]
jne 0x4c460c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4667
lea eax, [ebp - 0xc]
call fcn.00404280
ret

Function at 0x4c4670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404730
xor eax, eax
push ebp
push 0x4c4767
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x23456789
push 0x34567890
lea eax, [ebp - 8]
push eax
mov ecx, 0x12345678
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c45d0
lea eax, [ebp - 0xc]
call fcn.00404280
lea eax, [ebp - 0x10]
call fcn.00404280
mov eax, dword [ebp - 8]
call fcn.00404540
mov esi, eax
test esi, esi
jle 0x4c4707
mov ebx, 1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
shl eax, 8
xor eax, 7
or eax, 5
call fcn.00409158
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00404548
inc ebx
dec esi
jne 0x4c46df
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00404540
mov ecx, 0xc
cdq
idiv ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
mov edx, esi
imul edx, ebx
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.004047a0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00404548
inc ebx
cmp ebx, 0xc
jne 0x4c4709
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.004042d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c476e
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004042a4
ret

Function at 0x4c5604
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407584
ret
Function at 0x4c6914
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
shl ebx, 2
add ebx, eax
mov eax, ebx
call fcn.004058ac
test eax, eax
je 0x4c6954
push esp
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
mov dword [ebx], esi
push esp
mov eax, dword [esp + 4]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop esi
pop ebx
ret

Function at 0x4c6a1c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
push esp
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00402928
push esp
mov eax, dword [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c6f6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x10]
mov eax, dword [0x4dc540]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4c6faf
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4dc540]
call fcn.0041a720
mov ebx, eax
mov eax, dword [esp]
cmp eax, dword [ebx]
jne 0x4c6fab
mov eax, dword [ebx + 4]
jmp 0x4c7075
inc edi
dec esi
jne 0x4c6f8e
mov edi, dword [esp]
mov ebx, edi
xor esi, esi
mov edx, ebp
mov eax, ebx
call fcn.004c6c14
test al, al
jne 0x4c6fc7
mov byte [ebp], 1
xor eax, eax
mov al, byte [ebp]
add esi, eax
xor eax, eax
mov al, byte [ebp]
add ebx, eax
cmp esi, 5
jb 0x4c6fb6
mov edx, esi
mov eax, edi
call fcn.004c6d4c
add eax, 5
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
call fcn.0040272c
mov ebp, eax
mov eax, 0x14
call fcn.0040272c
mov ebx, eax
mov eax, dword [esp]
mov dword [ebx], eax
mov dword [ebx + 4], ebp
mov eax, dword [esp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], esi
mov eax, esi
call fcn.0040272c
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 0xc]
mov eax, edi
mov ecx, esi
call fcn.00402928
mov edx, ebx
mov eax, dword [0x4dc540]
call fcn.0041a5c4
lea eax, [esp + 0xc]
push eax
push 0x40
mov eax, dword [esp + 0x10]
push eax
push ebp
call sub.kernel32.dll_VirtualProtect
mov edx, ebp
mov eax, edi
mov ecx, esi
call fcn.00402928
mov ecx, esi
mov edx, edi
mov eax, ebp
call fcn.004c6de8
lea edx, [esi + edi]
lea eax, [esi + ebp]
call fcn.004c6a5c
mov edx, dword [esp + 4]
mov eax, edi
call fcn.004c6a5c
mov eax, ebp
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c72d4
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov edx, 0x40
mov eax, ebx
call fcn.004c68c4
test al, al
je 0x4c7318
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x4c7318
cmp dword [eax + 0x3c], 0
je 0x4c7318
mov esi, dword [eax + 0x3c]
add esi, ebx
mov edx, 0xf8
mov eax, esi
call fcn.004c68c4
test al, al
je 0x4c7316
cmp dword [esi], 0x4550
je 0x4c7318
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4c8ac0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c8b70
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xc8
mov eax, ebx
call fcn.00404280
mov eax, dword [ebp - 8]
call fcn.0040272c
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407584
xor eax, eax
push ebp
push 0x4c8b53
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4c8b3d
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404478
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
call fcn.00408e40
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004042d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8b5a
mov eax, dword [ebp - 4]
call fcn.0040274c
ret
Function at 0x4c8b7c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c8d3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.004c8ac0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4dc564]
cmp dword [eax + 0x760], 1
je 0x4c8d10
xor edx, edx
mov eax, 2
call fcn.004a0af0
mov esi, eax
mov dword [ebp - 0x144], 0x128
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a0b10
jmp 0x4c8d02
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4dc564]
cmp dword [eax + 0x760], 1
je 0x4c8d0a
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x13c]
jne 0x4c8c38
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a0b30
jmp 0x4c8d02
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004044f0
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0xc]
call fcn.00409a34
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004044f0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004c89c8
cmp bl, al
jne 0x4c8cf5
test bl, bl
jne 0x4c8cd6
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x13c]
call fcn.004c8818
test al, al
je 0x4c8cc7
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x18]
call fcn.00408e40
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1c]
call fcn.0040468c
je 0x4c8cd6
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a0b30
jmp 0x4c8d02
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a0b30
jmp 0x4c8d02
push 0
mov eax, dword [ebp - 0x13c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0xa
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a0b30
test eax, eax
jne 0x4c8c00
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8d42
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.004042a4
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004042a4
ret

Function at 0x4c8d4c
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4dc564
xor eax, eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + eax*4 + 0x590], ecx
inc eax
cmp eax, 0x65
jne 0x4c8d57
xor edi, edi
push 0x40
mov eax, dword [ebx]
mov ecx, dword [eax + 0x3b0]
mov dl, 1
mov eax, dword [0x418650]
call fcn.0041d17c
mov ebp, eax
mov eax, dword [ebx]
mov dword [eax + 0x734], ebp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp + 4]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov eax, dword [ebx]
mov dword [eax + 0x73c], esi
test esi, esi
je 0x4c8dcc
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebp, eax
mov eax, dword [ebx]
mov dword [eax + 0x740], ebp
test ebp, ebp
je 0x4c8dcc
mov edi, 1
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c8ed4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404730
xor eax, eax
push ebp
push 0x4c8f4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004042d4
mov eax, dword [ebp - 4]
call fcn.00404540
mov esi, eax
test esi, esi
jle 0x4c8f36
mov ebx, 1
mov eax, edi
call fcn.00404798
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c8f19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8f53
lea eax, [ebp - 4]
call fcn.00404280
ret

Function at 0x4c8f5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409d84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c99d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404730
xor eax, eax
push ebp
push 0x4c9a4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004042d4
mov eax, dword [ebp - 4]
call fcn.00404540
mov esi, eax
test esi, esi
jle 0x4c9a36
mov ebx, 1
mov eax, edi
call fcn.00404798
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c9a19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9a53
lea eax, [ebp - 4]
call fcn.00404280
ret
Function at 0x4cb958
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cbb05
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 8
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
mov edx, 0x4cbb1c
call fcn.0040468c
je 0x4cbaea
mov eax, dword [ebp - 4]
mov edx, 0x4cbb28
call fcn.0040468c
jne 0x4cb9e0
push 1
push 0
push 0
lea ecx, [ebp - 8]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.00404740
push eax
push 0x4cbb2c
mov eax, esi
call fcn.0045d104
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4cbaea
mov eax, dword [ebp - 4]
mov edx, 0x4cbb3c
call fcn.0040468c
jne 0x4cba0b
lea ecx, [ebp - 0xc]
mov edx, 0xa
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0043333c
jmp 0x4cbaea
mov eax, dword [ebp - 4]
mov edx, 0x4cbb48
call fcn.0040468c
jne 0x4cba66
lea ecx, [ebp - 0x10]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043333c
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404740
push eax
push 0x4cbb2c
mov eax, esi
call fcn.0045d104
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4cbaea
mov eax, dword [ebp - 4]
mov edx, 0x4cbb54
call fcn.0040468c
jne 0x4cbaea
push 4
lea ecx, [ebp - 0x18]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404740
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d9ef8]
mov eax, dword [eax]
call fcn.004768e0
mov eax, dword [ebp - 0x1c]
call fcn.00404740
mov ecx, eax
mov eax, dword [0x4d9ef8]
mov eax, dword [eax]
pop edx
call fcn.00476f5c
cmp eax, 6
jne 0x4cbaea
push 1
push 0
push 0
lea ecx, [ebp - 0x20]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00404740
push eax
push 0x4cbb2c
mov eax, esi
call fcn.0045d104
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbb0c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004042a4
ret

Function at 0x4cc5c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404730
xor eax, eax
push ebp
push 0x4cc63c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004042d4
mov eax, dword [ebp - 4]
call fcn.00404540
mov esi, eax
test esi, esi
jle 0x4cc626
mov ebx, 1
mov eax, edi
call fcn.00404798
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4cc609
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc643
lea eax, [ebp - 4]
call fcn.00404280
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x2ea75d3f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x34333018
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408598
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x40d07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [ebp + 0xc]
jae 0x401b1a
lea ecx, [ebp + 0xc]
mov eax, dword [eax + 0x1c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
cmp ebx, edi
jne 0x401b58
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
xor edi, edi
mov eax, 0x40b0aa
mov byte [esi], 0
call fcn.00401420
cmp dword [ebp + 0x20], 0x10
jb 0x401c28
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x401c20
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x401b8f
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov eax, 0x40b0aa
call fcn.00401420
cmp dword [ebp + 0x20], 0x10
jb 0x401c28
mov edx, dword [ebp + 0xc]
push edx
jmp 0x401c20
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x103
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.004057c0
mov ecx, dword [ebp - 0x118]
push ebx
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.00402850
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x114]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401c00
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
call fcn.00401420
cmp dword [ebp + 0x20], 0x10
jb 0x401c28
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402bb1
add esp, 4
mov eax, esi
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.00402701
mov esp, ebp
pop ebp
ret 0x20
Function at 0x401c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40862d
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x40d07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
mov esi, ecx
push eax
lea ecx, [ebp - 0x114]
push ecx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x114]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x401cc0
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x114]
call fcn.00401420
mov dword [ebp - 4], ebx
mov ebx, dword [esi + 0x10]
mov edi, dword [ebp - 0x134]
push 1
dec ebx
push edi
lea esi, [ebp - 0x130]
mov dword [ebp - 0x138], 1
call fcn.00402440
mov dword [ebp - 4], 1
mov esi, dword [eax + 0x10]
mov ecx, esi
cmp ecx, esi
jae 0x401d0b
mov ecx, esi
cmp esi, 1
jb 0x401d17
mov ecx, 1
cmp dword [eax + 0x14], 0x10
jb 0x401d21
mov edx, dword [eax]
jmp 0x401d23
mov edx, eax
mov eax, ecx
mov ecx, 0x40b1b4
call fcn.00401040
test eax, eax
jne 0x401d47
cmp esi, 1
jae 0x401d3d
or eax, 0xffffffff
jmp 0x401d45
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
sete bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x11c], 0x10
jb 0x401d6b
mov edx, dword [ebp - 0x130]
push edx
call fcn.00402bb1
add esp, 4
mov eax, edi
test bl, bl
je 0x401d7d
mov ebx, 1
call fcn.00402470
mov eax, edi
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.00402701
mov esp, ebp
pop ebp
ret

Function at 0x402701
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d07c]
jne 0x40270b
repz ret
jmp fcn.0040329e
Function at 0x406260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d07c]
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.00403dae
and dword [ebp - 0x14], 0
cmp dword [0x40e920], 0
mov dword [ebp - 0x18], eax
jne 0x406313
push 0x40a7f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a7e4
push ebx
call edi
test eax, eax
je 0x4063bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40a7d4
push ebx
mov dword [0x40e920], eax
call edi
push eax
call esi
push 0x40a7c0
push ebx
mov dword [0x40e924], eax
call edi
push eax
call esi
push 0x40a7a4
push ebx
mov dword [0x40e928], eax
call edi
push eax
call esi
mov dword [0x40e930], eax
test eax, eax
je 0x406313
push 0x40a78c
push ebx
call edi
push eax
call esi
mov dword [0x40e92c], eax
mov eax, dword [0x40e92c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40636c
cmp dword [0x40e930], ecx
je 0x40636c
push eax
call esi
push dword [0x40e930]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40636c
test ebx, ebx
je 0x40636c
call edi
test eax, eax
je 0x406363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406363
test byte [ebp - 8], 1
jne 0x40636c
or dword [ebp + 0x10], 0x200000
jmp 0x40639f
mov eax, dword [0x40e924]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639f
mov eax, dword [0x40e928]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e920]
call esi
test eax, eax
je 0x4063bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402701
leave
ret