joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bdc6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40be94
push 4
pop esi
mov ecx, 0x414d88
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40be21
test dx, dx
je 0x40be1d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40be21
add eax, esi
add ecx, esi
test dx, dx
jne 0x40bdfd
xor eax, eax
jmp 0x40be26
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40be62
mov ecx, 0x414d80
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40be59
test dx, dx
je 0x40be55
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40be59
add eax, esi
add ecx, esi
test dx, dx
jne 0x40be35
xor eax, eax
jmp 0x40be5e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40be7a
lea eax, [ebp - 0x250]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40bdf2
jmp 0x40be8d
mov edi, dword [ebp + 0xc]
mov ecx, 0x94
lea esi, [ebp - 0x250]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c2a1
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x4144cc
push eax
push eax
push dword [esp + 0x14]
push 0x414d90
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40cc30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40cc3a
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 4]
push ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
leave
ret

Function at 0x40d308
Capabilities:
Get common file path

Disassembly:
cmp word [0x419800], 0
push ebx
mov ebx, 0x419800
jne 0x40d361
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0040be9b
test eax, eax
pop ecx
push 0x104
push ebx
je 0x40d356
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, ebx
call fcn.0040cbf7
call fcn.0040c04a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40d346
sub eax, edx
sar eax, 1
jmp 0x40d35c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [0x419a0c], eax
mov edx, dword [esp + 8]
mov eax, ebx
sub edx, ebx
pop ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x40d36a
mov eax, dword [0x419a0c]
ret
Function at 0x40d540
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.0040cc78
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x40d5d2
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40d5bb
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40d5bb
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x40d5c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x40d5db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x40d673
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp word [0x419a90], 0
push esi
mov esi, 0x419a90
jne 0x40d69f
call fcn.0040d4b3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x40d69f
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, esi
pop esi
ret

Function at 0x40eb90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, eax
push dword [ebp + 0xc]
mov ebx, edi
push dword [ebp + 8]
call fcn.0040ea9f
mov ebx, eax
test ebx, ebx
je 0x40ec09
push dword [ebp + 0xc]
call fcn.0040cc78
cmp eax, 0xffffffff
pop ecx
mov dword [ebp + 0xc], eax
je 0x40ec07
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [edi + 0xa4]
push ebx
mov eax, esi
call fcn.0040b3f0
cmp ebx, 0x32
jbe 0x40ebfa
mov eax, dword [esi]
push ebx
push eax
push dword [ebp + 0xc]
call fcn.0040c0de
mov esi, dword [esi]
add esp, 0xc
push 0x28
add edi, 4
pop ecx
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x40ebfc
xor ebx, ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ec09
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x410047
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x4100e9
push edi
push 0x414ac4
call fcn.0040cd66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], str.CryptAcquireContextW
push eax
mov dword [esi], eax
call edi
push str.CryptReleaseContext
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.CryptCreateHash
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.CryptGetHashParam
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.CryptHashData
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.CryptDestroyHash
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.CryptDecrypt
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.CryptDeriveKey
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.CryptImportKey
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.CryptDestroyKey
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.CryptDuplicateKey
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x24], eax
pop edi
ret

Function at 0x410341
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x904]
push esi
xor esi, esi
cmp eax, 1
push edi
mov dword [ebp - 4], esi
je 0x410365
cmp eax, 3
je 0x410365
cmp eax, 4
jne 0x4103c1
mov eax, dword [ebx + 0x908]
cmp eax, esi
je 0x410378
push eax
lea edi, [ebp - 4]
call fcn.0040b179
push dword [ebp + 0x10]
push esi
push esi
push esi
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp dword [ebx + 0x908], esi
mov edi, eax
je 0x41039f
lea esi, [ebp - 4]
call fcn.0040b097
xor esi, esi
cmp edi, esi
jne 0x4103d7
push dword [ebp + 0x10]
mov eax, dword [ebx + 0x908]
push dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00406b11
mov edi, eax
cmp edi, esi
jne 0x4103d7
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
add ebx, 0x274
call fcn.0040f809
mov edi, eax
lea esi, [ebp - 4]
call fcn.0040b086
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10002ac3
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xe1881576
mov dword [esp], ebx
call 0x10002ad0
mov dword [esp], esi
push 0x4be1bc91
add esp, 4
mov dword [esp - 4], edi
sub esp, 4
mov eax, eax
xor edx, edx
xor eax, eax
add eax, edx
sub esp, 4
mov dword [esp], 0xa3327493
add esp, 4
mov esi, dword fs:[eax + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0xc]
lodsd eax, dword [esi]
mov esi, dword [eax]
mov edi, dword [esi + 0x18]
mov ebx, dword [edi + 0x3c]
mov ebx, dword [edi + ebx + 0x78]
mov esi, dword [edi + ebx + 0x20]
add esi, edi
mov ecx, dword [edi + ebx + 0x24]
add ecx, edi
push 0x9cf3001e
add esp, 4
call 0x10002b27
mov dword [esp], ebp
push edi
add esp, 4
sub esp, 4
mov dword [esp], 0x58ade72d
add esp, 4
push eax
nop
nop
mov eax, ecx
movzx ebp, word [eax + edx*2]
sub esp, 4
mov dword [esp], 0x9b8c1780
add esp, 4
pop eax
inc edx
sub esp, 4
mov dword [esp], 0xf5b3eaef
add esp, 4
mov eax, dword [esi]
push 0x6adc1d7a
add esp, 4
add esi, 4
cmp byte [edi + eax + 1], 0x69
jne 0x10002b2e
cmp word [edi + eax + 3], 0x7574
jne 0x10002b2e
cmp dword [edi + eax + 9], 0x636f6c
jne 0x10002b2e
mov esi, dword [edi + ebx + 0x1c]
add esi, edi
add edi, dword [esi + ebp*4]
xchg dword [esp], ebp
add esp, 4
nop
mov dword [esp - 4], 0x40
sub esp, 4
nop
push eax
mov eax, 0x3000
xchg dword [esp], eax
sub esp, 4
mov dword [esp], 0x8a295e48
add esp, 4
push 0x27416997
mov dword [esp], 0x12ac76
nop
push 0
mov eax, eax
call edi
push ebx
add esp, 4
add esp, 4
xchg dword [esp - 4], edi
mov eax, eax
add esp, 4
mov esi, dword [esp - 4]
add esp, 4
xchg dword [esp - 4], ebx
push eax
add esp, 4
ret
Function at 0x4030f0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x845080], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0xc], eax
jne 0x403129
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x425ef8]
mov ebx, dword [0x425efc]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x28], ecx
call fcn.004030e0
mov edx, dword [0x425f00]
mov eax, dword [0x425f04]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x403170
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x845080]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4031d8
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor edx, edx
mov word [ebp - 0x18], dx
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4031f2
mov dword [0x84461c], 0xedeb2e40
jmp 0x403204
cmp ecx, 0x3eb
jne 0x403204
mov dword [0x843fd0], 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add edx, esi
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0x844618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x845080], 0xc
jne 0x403262
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, edx
xor ecx, eax
mov dword [ebp - 4], ecx
sub esi, ecx
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
sub edi, 1
jne 0x403170
cmp dword [0x845080], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x4032c9
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4032e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x845080]
mov ecx, dword [0x843fd4]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x4033ba
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x845080], 0x959
jne 0x4033a0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x402628
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004030f0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423678
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x40375b
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x403748
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x403782
cmp ebx, 0x785074d5
jne 0x40378b
inc esi
cmp esi, 0x1c1b
jl 0x403770
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x4037bd
inc esi
cmp esi, 0x4f6a4
jl 0x4037a0
cmp dword [0x845080], 0x400
jne 0x403800
push 0
lea ecx, [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x30]
call fcn.00403890
push 0
mov dword [ebp - 4], 0
call fcn.00403bc4
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004038b0
mov edx, dword [0x42613c]
mov eax, dword [0x426110]
mov dword [0x845080], edx
mov dword [0x845084], eax
call fcn.004033e0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40383a
cmp ebx, 0x785074d5
jne 0x403843
inc esi
cmp esi, 0x11915
jl 0x403826
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
nop
cmp dword [0x845080], 0x51f
jne 0x403862
lea ecx, [ebp - 0x54]
push ecx
call esi
sub edi, 1
jne 0x403850
mov eax, dword [0x843fd4]
mov dword [0x844614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4250c8]
jne 0x40453a
repz ret
jmp fcn.00406c9e
Function at 0x4068bf
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.004045b1
and dword [ebp - 4], 0
cmp dword [0x426a10], 0
mov ebx, eax
jne 0x406970
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406a21
push eax
call fcn.0040453f
mov dword [esp], 0x4019dc
push edi
mov dword [0x426a10], eax
call esi
push eax
call fcn.0040453f
mov dword [esp], 0x4019c8
push edi
mov dword [0x426a14], eax
call esi
push eax
call fcn.0040453f
mov dword [esp], 0x4019ac
push edi
mov dword [0x426a18], eax
call esi
push eax
call fcn.0040453f
pop ecx
mov dword [0x426a20], eax
test eax, eax
je 0x406970
push 0x401994
push edi
call esi
push eax
call fcn.0040453f
pop ecx
mov dword [0x426a1c], eax
mov eax, dword [0x426a1c]
cmp eax, ebx
je 0x4069c8
cmp dword [0x426a20], ebx
je 0x4069c8
push eax
call fcn.004045ba
push dword [0x426a20]
mov esi, eax
call fcn.004045ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069c8
test edi, edi
je 0x4069c8
call esi
test eax, eax
je 0x4069bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069bf
test byte [ebp - 0xc], 1
jne 0x4069c8
or dword [ebp + 0x10], 0x200000
jmp 0x406a01
mov eax, dword [0x426a14]
cmp eax, ebx
je 0x406a01
push eax
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a01
mov eax, dword [0x426a18]
cmp eax, ebx
je 0x406a01
push eax
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426a10]
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438cc6
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
dec eax
mov ecx, ecx
call fcn.00438d01
or eax, eax
sub ecx, 0x7b0a925b
xor dword [edx], esi
inc eax
add eax, 0xb211b087
inc edx
mov eax, 0xe225171e
add ecx, 0x651e0c28
cmp edx, edi
jne fcn.00438cc6
inc ecx
dec ecx
sub eax, eax
ret
Function at 0x40d353
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429cc0]
jne 0x40d35d
repz ret
jmp fcn.0041151f

Function at 0x41c052
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.0041179a
and dword [ebp - 4], 0
cmp dword [0x42d720], 0
mov ebx, eax
jne 0x41c103
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c1b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x423de8
push edi
call esi
test eax, eax
je 0x41c1b4
push eax
call fcn.00411728
mov dword [esp], 0x423dd8
push edi
mov dword [0x42d720], eax
call esi
push eax
call fcn.00411728
mov dword [esp], 0x423dc4
push edi
mov dword [0x42d724], eax
call esi
push eax
call fcn.00411728
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d728], eax
call esi
push eax
call fcn.00411728
pop ecx
mov dword [0x42d730], eax
test eax, eax
je 0x41c103
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411728
pop ecx
mov dword [0x42d72c], eax
mov eax, dword [0x42d72c]
cmp eax, ebx
je 0x41c15b
cmp dword [0x42d730], ebx
je 0x41c15b
push eax
call fcn.004117a3
push dword [0x42d730]
mov esi, eax
call fcn.004117a3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c15b
test edi, edi
je 0x41c15b
call esi
test eax, eax
je 0x41c152
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c152
test byte [ebp - 0xc], 1
jne 0x41c15b
or dword [ebp + 0x10], 0x200000
jmp 0x41c194
mov eax, dword [0x42d724]
cmp eax, ebx
je 0x41c194
push eax
call fcn.004117a3
pop ecx
test eax, eax
je 0x41c194
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c194
mov eax, dword [0x42d728]
cmp eax, ebx
je 0x41c194
push eax
call fcn.004117a3
pop ecx
test eax, eax
je 0x41c194
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d720]
call fcn.004117a3
pop ecx
test eax, eax
je 0x41c1b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c1b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
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
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219