joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc4f6
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp dword [0x50cd50], 0
push esi
jne 0x4bc469
call fcn.004bc394
test eax, eax
je 0x4bc4ac
mov eax, dword [0x50cd50]
cmp eax, 1
jne 0x4bc48a
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x4bc4ac
pop esi
ret
push eax
call dword [0x50cd58]
test eax, eax
jne 0x4bc4f4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4bc4b0
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x50cd50]
call dword [0x50cd58]
mov edi, eax
test edi, edi
je 0x4bc4d7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x4bc4f3
lea edi, [esi + 0xff0]
push esi
push dword [0x50cd50]
call dword [fcn.0050cd54]
add esi, 0x10
cmp esi, edi
jb 0x4bc4dd
mov eax, esi
pop edi
pop esi
ret
jmp 0x4bc456

Function at 0x4bf4f3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4bf520
call fcn.004c0921
mov dword [eax], esi
call fcn.004c090e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004bea2e
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4bf4fc
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4bf54f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004c0934
pop ecx
call fcn.004c090e
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4bf576
test al, 1
je 0x4bf576
test byte [esp + 0xc], 2
je 0x4bf576
call fcn.004c0921
mov dword [eax], 5
call fcn.004c090e
mov dword [eax], 0xd
jmp 0x4bf546
xor eax, eax
pop esi
ret
Function at 0x4c2aee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4c2b2b
cmp dword [ebp + 0x14], edi
je 0x4c2b2b
cmp ecx, edi
jne 0x4c2b32
call fcn.004c090e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004bea2e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4c2b46
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4c2b67
cmp ebx, 0xffffffff
je 0x4c2b56
push ebx
push edi
push ecx
call fcn.004c4000
add esp, 0xc
cmp esi, edi
je 0x4c2b13
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4c2b13
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4c2b83
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4c2b8a
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4c2c7b
test word [esi + 0xc], 0x10c
je 0x4c2bde
mov eax, dword [esi + 4]
test eax, eax
je 0x4c2bde
jl 0x4c2cdc
cmp ebx, eax
mov edi, ebx
jb 0x4c2baf
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4c2c83
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004bd3f1
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4c2c73
cmp ebx, dword [ebp - 0xc]
jb 0x4c2c4b
cmp dword [ebp - 0xc], 0
je 0x4c2c08
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4c2bfd
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4c2c04
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4c2c13
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4c2c13
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4c2caf
push eax
push dword [ebp - 8]
push esi
call fcn.004d0ff6
pop ecx
push eax
call fcn.004d3a92
add esp, 0xc
test eax, eax
je 0x4c2cee
cmp eax, 0xffffffff
je 0x4c2cdc
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4c2c73
push esi
call fcn.004d33b1
cmp eax, 0xffffffff
pop ecx
je 0x4c2ce0
cmp dword [ebp - 4], 0
je 0x4c2caf
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4c2b92
mov eax, dword [ebp + 0x14]
jmp 0x4c2b2d
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4c2c9a
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004c4000
add esp, 0xc
call fcn.004c090e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4c2b23
cmp dword [ebp + 0xc], 0xffffffff
je 0x4c2cc5
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004c4000
add esp, 0xc
call fcn.004c090e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4c2b23
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4c2b2d
or dword [esi + 0xc], 0x10
jmp 0x4c2ce0
Function at 0x4c3f56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5073f0]
jne 0x4c3f60
repz ret
jmp fcn.004d5241

Function at 0x4c6b51
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x507448]
je 0x4c6b6c
inc edi
cmp edi, 0x17
jb 0x4c6b5d
cmp edi, 0x17
jae 0x4c6cec
push ebp
push 3
call fcn.004d637d
cmp eax, 1
pop ecx
je 0x4c6cb8
push 3
call fcn.004d637d
test eax, eax
pop ecx
jne 0x4c6ba0
cmp dword [0x5073e0], 1
je 0x4c6cb8
cmp ebx, 0xfc
je 0x4c6ceb
push 0x4e8b88
mov ebx, 0x314
push ebx
mov ebp, 0x50d048
push ebp
call fcn.004c3595
add esp, 0xc
test eax, eax
je 0x4c6bd6
push esi
push esi
push esi
push esi
push esi
call fcn.004be932
add esp, 0x14
push 0x104
mov esi, 0x50d061
push esi
push 0
mov byte [0x50d165], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x4c6c1a
push 0x4e8b70
push 0x2fb
push esi
call fcn.004c3595
add esp, 0xc
test eax, eax
je 0x4c6c1a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004be932
add esp, 0x14
push esi
call fcn.004c3f70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4c6c5f
push esi
call fcn.004c3f70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x50d35c
push 0x4e8b6c
sub ecx, eax
push ecx
push eax
call fcn.004cea87
add esp, 0x14
test eax, eax
je 0x4c6c5f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004be932
add esp, 0x14
jmp 0x4c6c61
xor esi, esi
push 0x4e8b68
push ebx
push ebp
call fcn.004cea16
add esp, 0xc
test eax, eax
je 0x4c6c81
push esi
push esi
push esi
push esi
push esi
call fcn.004be932
add esp, 0x14
push dword [edi*8 + 0x50744c]
push ebx
push ebp
call fcn.004cea16
add esp, 0xc
test eax, eax
je 0x4c6ca3
push esi
push esi
push esi
push esi
push esi
call fcn.004be932
add esp, 0x14
push 0x12010
push 0x4e8b40
push ebp
call fcn.004d61c0
add esp, 0xc
jmp 0x4c6ceb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4c6ceb
cmp ebp, 0xffffffff
je 0x4c6ceb
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x50744c]
push dword [esi]
call fcn.004c3f70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4d61c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004c65d2
xor ebx, ebx
cmp dword [0x50db70], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4d6296
push 0x4e9eec
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4d6376
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4e9ee0
push edi
call esi
cmp eax, ebx
je 0x4d6376
push eax
call fcn.004c6564
mov dword [esp], 0x4e9ed0
push edi
mov dword [0x50db70], eax
call esi
push eax
call fcn.004c6564
mov dword [esp], 0x4e9ebc
push edi
mov dword [0x50db74], eax
call esi
push eax
call fcn.004c6564
mov dword [0x50db78], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004bd709
test eax, eax
pop ecx
pop ecx
je 0x4d6264
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004be932
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4d6296
push 0x4e9ea0
push edi
call esi
push eax
call fcn.004c6564
cmp eax, ebx
pop ecx
mov dword [0x50db80], eax
je 0x4d6296
push 0x4e9e88
push edi
call esi
push eax
call fcn.004c6564
pop ecx
mov dword [0x50db7c], eax
mov eax, dword [0x50db7c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4d631b
cmp dword [0x50db80], ecx
je 0x4d631b
push eax
call fcn.004c65db
push dword [0x50db80]
mov esi, eax
call fcn.004c65db
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4d631b
cmp edi, ebx
je 0x4d631b
call esi
cmp eax, ebx
je 0x4d62e8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4d62e8
test byte [ebp - 0x18], 1
jne 0x4d631b
lea eax, [ebp - 0x10]
push eax
call fcn.004bd740
test eax, eax
pop ecx
je 0x4d6303
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004be932
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4d6312
or dword [ebp + 0x10], 0x200000
jmp 0x4d6356
or dword [ebp + 0x10], 0x40000
jmp 0x4d6356
mov eax, dword [0x50db74]
cmp eax, dword [ebp - 8]
je 0x4d6356
push eax
call fcn.004c65db
cmp eax, ebx
pop ecx
je 0x4d6356
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4d6356
mov eax, dword [0x50db78]
cmp eax, dword [ebp - 8]
je 0x4d6356
push eax
call fcn.004c65db
cmp eax, ebx
pop ecx
je 0x4d6356
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x50db70]
call fcn.004c65db
cmp eax, ebx
pop ecx
je 0x4d6376
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4d6378
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc
Function at 0x403551
Capabilities:
Delete directory
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00409f40
cmp dword [0x2aed0a0], 0x594
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x40358e
push 0x402c30
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x402c94
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x478c98]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x478c9c]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.0040354a
mov eax, dword [0x478ca0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x478ca4]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
shl eax, 4
cmp dword [0x2aed0a0], 0xc
mov dword [ebp - 4], eax
jne 0x403619
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x2aed0a0]
cmp eax, 0xfa9
jne 0x403635
mov dword [0x2aec63c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403642
mov dword [0x2aebfec], esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebx + edx]
shr edx, cl
mov dword [ebp - 0x14], eax
mov dword [0x2aec638], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2aed0a0], 0x213
mov dword [ebp - 0x14], edx
jne 0x403689
push esi
push 0x402cb0
push esi
push 0x402d38
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2aed0a0], 0xc
jne 0x4036c6
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x402d88
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x102c]
push eax
push 0x402df8
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, eax
shr edi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add edi, dword [ebp - 0x24]
cmp dword [0x2aed0a0], 0x121
jne 0x403704
push 0x402e28
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x4035ce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x40372e
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409f40
mov eax, dword [0x2aed0a0]
mov ecx, dword [0x2aebff0]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403826
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2aed0a0], 0x959
jne 0x403814
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402e78
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push 0x402ef8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x402f88
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402fd8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push 0x402e6c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x403028
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00403551
add edi, 8
dec ebx
jne 0x40375a
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403b76
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x403ba9
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x403b86
xor esi, esi
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x403bcc
cmp dword [ebp - 4], 0x785074d5
jne 0x403bd5
inc esi
cmp esi, 0x1c1b
jl 0x403bb9
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x403bfb
inc esi
cmp esi, 0x4f6a4
jl 0x403bd7
cmp dword [0x2aed0a0], 0x400
jne 0x403c1d
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
call fcn.00403d5d
push ebx
call fcn.00403e5d
add esp, 0xc
mov eax, dword [0x47906c]
mov dword [0x2aed0a0], eax
mov eax, dword [0x479040]
mov dword [0x2aed0a4], eax
call fcn.004038f8
xor esi, esi
push 0x40332c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, edi
jle 0x403c50
cmp dword [ebp - 4], 0x785074d5
jne 0x403c59
inc esi
cmp esi, 0x11915
jl 0x403c38
mov esi, 0x3078f
cmp dword [0x2aed0a0], 0x51f
jne 0x403c74
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
dec esi
jne 0x403c5e
mov eax, dword [0x2aebff0]
mov dword [0x2aec634], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40687f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x478404]
jne 0x406889
repz ret
jmp fcn.00408910
Function at 0x408197
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d5e
and dword [ebp - 4], 0
cmp dword [0x479970], 0
mov ebx, eax
jne 0x408248
push 0x40210c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402100
push edi
call esi
test eax, eax
je 0x4082f9
push eax
call fcn.00404cec
mov dword [esp], 0x4020f0
push edi
mov dword [0x479970], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020dc
push edi
mov dword [0x479974], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020c0
push edi
mov dword [0x479978], eax
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x479980], eax
test eax, eax
je 0x408248
push 0x4020a8
push edi
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x47997c], eax
mov eax, dword [0x47997c]
cmp eax, ebx
je 0x4082a0
cmp dword [0x479980], ebx
je 0x4082a0
push eax
call fcn.00404d67
push dword [0x479980]
mov esi, eax
call fcn.00404d67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4082a0
test edi, edi
je 0x4082a0
call esi
test eax, eax
je 0x408297
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408297
test byte [ebp - 0xc], 1
jne 0x4082a0
or dword [ebp + 0x10], 0x200000
jmp 0x4082d9
mov eax, dword [0x479974]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4082d9
mov eax, dword [0x479978]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479970]
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x32233255
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x11e05bfa
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219