joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401930
Capabilities:
Create process on windows
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46333f
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x8c]
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0
call fcn.0041441e
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0041441e
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0041441e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x25c]
xorps xmm0, xmm0
mov dword [ebp - 0x23c], 0
push eax
movups xmmword [ebp - 0x25c], xmm0
movups xmmword [ebp - 0x24c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0
push str.msdncc.xml
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00405f00
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00414593
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00414510
cmp word [ebp - 0x25c], 9
lea eax, [ebp - 0x94]
push 1
mov ecx, esi
je 0x401a1a
push str.x86wimlib_imagex_x86.exe
push eax
call fcn.00405f00
mov byte [ebp - 4], 5
jmp 0x401a29
push str.x64wimlib_imagex_x64.exe
push eax
call fcn.00405f00
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x19c]
call fcn.00414593
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00414510
lea ecx, [ebp - 0x118]
call fcn.00411afa
push eax
lea ecx, [ebp + 8]
call fcn.00411afa
push eax
lea ecx, [ebp - 0x19c]
call fcn.00411afa
push eax
lea eax, [ebp - 0x220]
push str._s_info___s____extract_xml__s_
push eax
call fcn.00414a20
add esp, 0x14
lea ecx, [ebp - 0x220]
call fcn.00411afa
xor ecx, ecx
mov dword [ebp - 0x27c], 0x44
mov word [ebp - 0x23a], cx
xorps xmm0, xmm0
mov word [ebp - 0x24c], cx
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x27c]
movlpd qword [ebp - 0x278], xmm0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x250], 1
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x260], xmm0
movlpd qword [ebp - 0x258], xmm0
movlpd qword [ebp - 0x24a], xmm0
movlpd qword [ebp - 0x242], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401b74
push 0xffffffffffffffff
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x234]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x238]
call esi
cmp dword [ebp - 0x228], 0
jne 0x401b74
push edi
sub esp, 0x84
lea eax, [ebp - 0x118]
mov ecx, esp
push eax
call fcn.004143d5
call fcn.004055a0
mov byte [ebp - 0x221], 1
jmp 0x401b7b
mov byte [ebp - 0x221], 0
lea ecx, [ebp - 0x220]
call fcn.00414510
lea ecx, [ebp - 0x118]
call fcn.00414510
lea ecx, [ebp - 0x19c]
call fcn.00414510
lea ecx, [ebp + 8]
call fcn.00414510
mov al, byte [ebp - 0x221]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445e0f
mov esp, ebp
pop ebp
ret 0x88
Function at 0x4024a0
Capabilities:
Check if file exists
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463497
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x482308]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x200
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x834], esi
push eax
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x830], 0
call fcn.00447640
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00447640
add esp, 0x18
mov dword [ebp - 0x828], 0x43
lea eax, [ebp - 0x410]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
mov dword [ebp - 0x82c], eax
test eax, eax
jle 0x402634
lea edi, [ebp - 0x210]
nop dword [eax + eax]
movzx eax, word [edi]
push eax
call fcn.0044d7dc
mov esi, eax
movzx eax, word [ebp - 0x410]
push eax
call fcn.0044d7dc
add esp, 8
cmp esi, eax
je 0x40260c
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x40260c
push 0x208
lea eax, [ebp - 0x618]
push 0
push eax
call fcn.00447640
movzx eax, word [edi]
push eax
push str._c:WindowsSystem32
lea eax, [ebp - 0x618]
push 0x104
push eax
call fcn.004011e0
push 0x208
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.00447640
movzx eax, word [edi]
push eax
push str._c:WindowsSystem32kernel32.dll
lea eax, [ebp - 0x820]
push 0x104
push eax
call fcn.004011e0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x618]
add esp, 0x38
push eax
call esi
test eax, eax
je 0x40260c
lea eax, [ebp - 0x820]
push eax
call esi
test eax, eax
jne 0x402620
add ebx, 4
add edi, 8
cmp ebx, dword [ebp - 0x82c]
jl 0x402560
jmp 0x40262e
movzx eax, word [ebp + ebx*2 - 0x210]
mov dword [ebp - 0x828], eax
mov esi, dword [ebp - 0x824]
mov ecx, esi
call fcn.0041441e
mov eax, dword [ebp - 0x828]
movzx ecx, ax
push ecx
push 0x478ab4
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x830], 1
call fcn.00414a20
add esp, 0xc
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.00445e0f
mov esp, ebp
pop ebp
ret 4
Function at 0x405100
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0
push 0
push 3
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x1c], eax
mov ax, word [ebp + 8]
push 3
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
push 0xc0000000
push eax
mov dword [ebp - 0x14], 0x5c005c
mov dword [ebp - 0x10], 0x5c002e
mov dword [ebp - 0xa], 0x3a
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4051ba
mov edi, 0xc
push edi
call fcn.004549c4
mov esi, eax
add esp, 4
test esi, esi
je 0x4051ba
push edi
push 0
push esi
call fcn.00447640
add esp, 0xc
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push esi
push 0
push 0
push 0x2d1080
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4051e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x7a
jne 0x4051cf
add edi, edi
call fcn.004544e8
push edi
call fcn.004549c4
mov esi, eax
add esp, 8
test esi, esi
jne 0x405170
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e0f
mov esp, ebp
pop ebp
ret 0xc
call fcn.004544e8
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4051ba
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
push esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov dword [ecx], eax
call fcn.004544e8
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e0f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405220
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0
call fcn.004053b0
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x405262
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e0f
mov esp, ebp
pop ebp
ret 8
push ebx
push 0x2000
call fcn.004549c4
push 0x2000
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x18], ebx
call fcn.00447640
add esp, 0x10
lea eax, [ebp - 0x28]
push 0
push eax
push 0x2000
push ebx
push 0
push 0
push 0x70050
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x405381
mov edx, dword [ebx + 4]
test edx, edx
je 0x405381
mov eax, dword [ebx]
test eax, eax
jne 0x4052e3
lea ecx, [ebx + 0x51]
nop dword [eax]
inc eax
cmp byte [ecx], 0
jne 0x4052d5
add ecx, 0x90
cmp eax, edx
jb 0x4052c0
jmp 0x405381
mov dword [esi], eax
mov dword [ebp - 0x1c], 1
jmp 0x405381
cmp eax, 1
jne 0x405381
push edi
xor edi, edi
mov dword [ebp - 0x14], 0xc12a7328
mov dword [ebp - 0x10], 0x11d2f81f
add ebx, 0x50
mov dword [ebp - 0xc], 0xa0004bba
mov dword [ebp - 8], 0x3bc93ec9
nop
lea edx, [ebp - 0x14]
mov eax, ebx
mov esi, 0xc
nop word [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x405335
add edx, 4
add eax, 4
sub esi, 4
jae 0x405320
xor eax, eax
jmp 0x40535a
cmp cl, byte [eax]
jne 0x405355
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x405355
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x405355
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
jne 0x405355
xor eax, eax
jmp 0x40535a
sbb eax, eax
or eax, 1
inc edi
test eax, eax
je 0x405371
mov eax, dword [ebp - 0x18]
add ebx, 0x90
cmp edi, dword [eax + 4]
jb 0x405310
mov ebx, eax
jmp 0x405380
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
mov dword [eax], edi
pop edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004544e8
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop ebx
pop esi
call fcn.00445e0f
mov esp, ebp
pop ebp
ret 8
Function at 0x405a60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463a6f
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x482308]
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 + 0xc]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
call fcn.0041441e
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0
call fcn.0041441e
movzx esi, word [ebp + 8]
lea eax, [ebp - 0x220]
push esi
push str._c:WindowsSystem32kernel32.dll
push eax
mov byte [ebp - 4], 1
call fcn.00414a20
push esi
lea eax, [ebp - 0x19c]
push str._c:WindowsSystem32user32.dll
push eax
call fcn.00414a20
add esp, 0x18
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x118]
push eax
call fcn.004143d5
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x94]
call fcn.004143d5
mov byte [ebp - 4], 3
lea esi, [ebp - 0x118]
xor edi, edi
push 0
mov ecx, esi
call fcn.00411afa
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x405b7f
push ebx
call fcn.00446176
add esp, 4
mov dword [ebp - 0x224], eax
mov ecx, esi
push eax
push ebx
push 0
call fcn.00411afa
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x405b7f
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x47881c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x405bdf
inc edi
add esi, 0x84
cmp edi, 2
jl 0x405b20
xor esi, esi
push fcn.00414510
push 2
push 0x84
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
call fcn.00446053
lea ecx, [ebp - 0x19c]
call fcn.00414510
lea ecx, [ebp - 0x220]
call fcn.00414510
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.00445e0f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
push ebx
movzx eax, word [ecx + 0x12]
mov dword [edx], eax
movzx eax, word [ecx + 0x10]
mov ecx, dword [ebp - 0x230]
mov dword [ecx], eax
call fcn.00445e20
add esp, 4
mov esi, 1
jmp 0x405b8d
Function at 0x406280
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463c20
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x482308]
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 + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x6b4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6b8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6b0], eax
lea eax, [ebp - 0x6ac]
push eax
call fcn.00406190
lea ecx, [ebp - 0x6ac]
mov dword [ebp - 4], 0
call fcn.00411afa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4062ff
xor esi, esi
jmp 0x406480
lea ecx, [ebp - 0x6ac]
call fcn.00411afa
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.type
push str.msdncc
call edi
lea ecx, [ebp - 0x6ac]
mov dword [esi], eax
call fcn.00411afa
push eax
push 1
push str.index
push str.msdncc
call edi
mov ecx, dword [ebp - 0x6b0]
push 0x208
push 0
mov dword [ecx], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00447640
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00447640
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00447640
add esp, 0x24
lea ecx, [ebp - 0x6ac]
call fcn.00411afa
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push 0x47a968
push str.msdncc
call esi
lea ecx, [ebp - 0x6ac]
call fcn.00411afa
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
push str.wimfile
push str.msdncc
call esi
lea ecx, [ebp - 0x6ac]
call fcn.00411afa
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
push str.wimversion
push str.msdncc
call esi
lea ecx, [ebp - 0x6ac]
call fcn.00411afa
push eax
push 0xffffffffffffffff
push str.imgdisk
push str.msdncc
call edi
lea ecx, [ebp - 0x6ac]
mov esi, eax
call fcn.00411afa
push eax
push 0xffffffffffffffff
push str.imgpartition
push str.msdncc
call edi
push eax
push esi
call fcn.00405450
lea ecx, [ebp - 0x218]
movzx eax, ax
push ecx
push eax
push str._c:_s
push ebx
call fcn.00414a20
lea eax, [ebp - 0x420]
push eax
push 0x47a9c4
push dword [ebp - 0x6b4]
call fcn.00414a20
lea eax, [ebp - 0x628]
push eax
push 0x47a9c4
push dword [ebp - 0x6b8]
call fcn.00414a20
add esp, 0x28
mov esi, 1
lea ecx, [ebp - 0x6ac]
call fcn.00414510
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.00445e0f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4064b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x482308]
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 dword [ebp - 0x674], ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00447640
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00411afa
push eax
push str._s.
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004011e0
push 0x250
lea eax, [ebp - 0x670]
push 0
push eax
call fcn.00447640
add esp, 0x1c
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406558
xor esi, esi
jmp 0x406658
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x47a8c4
lea eax, [ebp - 0x644]
push eax
call esi
test eax, eax
je 0x40662b
push 0x47a8c8
lea eax, [ebp - 0x644]
push eax
call esi
test eax, eax
je 0x40662b
test byte [ebp - 0x670], 0x10
je 0x4065df
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp + 8]
call fcn.00411afa
push eax
push str._s_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004011e0
sub esp, 0x70
lea eax, [ebp - 0x218]
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.004143fa
mov ecx, dword [ebp - 0x674]
call fcn.004064b0
jmp 0x40662b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00447640
add esp, 0xc
lea eax, [ebp - 0x644]
lea ecx, [ebp + 8]
push eax
call fcn.00411afa
push eax
push str._s_s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004011e0
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x670]
push eax
push edi
call ebx
test eax, eax
jne 0x406564
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call fcn.00411afa
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 1
lea ecx, [ebp + 8]
call fcn.00414510
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.00445e0f
mov esp, ebp
pop ebp
ret 0x84
Function at 0x40a8d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46472d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x482308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
call fcn.0040a730
mov byte [ebp - 4], 1
lea esi, [ebx + 0x34c]
mov dword [ebx], vtable.WindowImpl.1.0
mov dword [ebx + 0x20], vtable.WindowImpl.0
mov dword [ebx + 0x30], vtable.WindowImpl.4.0
mov dword [ebx + 0x34], vtable.WindowImpl.3.0
mov dword [ebx + 0x38], vtable.WindowImpl.2.0
push 0xc0
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00446023
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0x354]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0041441e
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x3d8]
call fcn.004143d5
mov eax, dword [ebp + 0x94]
lea ecx, [ebx + 0x460]
mov byte [ebp - 4], 4
push edi
mov dword [ebx + 0x45c], eax
call fcn.004143d5
push 0x6b
mov byte [ebp - 4], 5
call fcn.004119ef
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [ebp + 8]
mov dword [ebx + 0x348], eax
push 0x47af44
push esi
call fcn.00414a20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp + 0x10]
mov dword [ebx + 0x4e4], eax
call fcn.00414510
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x90

Function at 0x40d9f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x40da4f
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x40da58
test ecx, ecx
je 0x40da4f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x40da10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dc30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x482308]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x484c60], ecx
inc eax
cmp eax, 0x100
jb 0x40dc45
cmp eax, 0x800
jae 0x40dd13
nop dword [eax]
mov edx, dword [eax*4 + 0x484860]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x484c60]
mov dword [eax*4 + 0x484c60], edx
inc eax
cmp eax, 0x800
jb 0x40dcf0
lea ecx, [ebp - 0x24]
mov dword [0x484c20], 0x40ea00
call fcn.0040eb00
test eax, eax
je 0x40ddcb
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov esi, edi
mov eax, 0x482bc8
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
nop dword [eax]
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x40dd67
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x40dd67
cmp dword [eax], ebx
je 0x40dd84
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x40dd50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e0f
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x40ddb2
sub ecx, 1
je 0x40dda1
sub ecx, 1
jne 0x40ddcb
cmp esi, 6
jb 0x40ddcb
jne 0x40ddc1
cmp edi, 0xf
jb 0x40ddcb
jmp 0x40ddc1
cmp esi, 5
jb 0x40ddcb
jne 0x40ddc1
cmp edi, 6
jb 0x40ddcb
cmp edi, 0xa
jmp 0x40ddbf
cmp esi, 6
jb 0x40ddcb
jne 0x40ddc1
cmp edi, 0x100c
je 0x40ddcb
mov dword [0x484c20], 0x40eaa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e0f
mov esp, ebp
pop ebp
ret
Function at 0x410890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4108b2
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
mov dword [ebp - 4], 0xffffffff
add ebx, ecx
mov dword [ebp - 0x10], ebx
lea edx, [edi + ecx]
cmp edx, ebx
jae 0x4108dd
nop dword [eax]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4108dd
inc edx
cmp edx, ebx
jb 0x4108d0
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp edx, ebx
jae 0x4109de
cmp ecx, 3
jbe 0x410917
xor esi, esi
mov al, byte [edx + 4]
mov dword [ebp - 4], edi
test al, al
je 0x410952
cmp al, 0xff
je 0x410952
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x4108c2
dec ecx
shl esi, cl
and esi, 7
je 0x4108f5
cmp byte [esi + 0x47ae38], 0
je 0x41093e
movzx eax, byte [esi + 0x47ae40]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41093e
cmp al, 0xff
jne 0x4108f5
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov dword [ebp - 4], edi
or esi, 1
inc edi
jmp 0x4108c2
movzx ecx, byte [edx + 3]
movzx eax, al
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
sub eax, edi
lea ebx, [eax - 5]
test esi, esi
je 0x4109ad
movzx eax, byte [esi + 0x47ae40]
mov ecx, 0x18
shl eax, 3
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x410999
cmp al, 0xff
jne 0x4109ad
mov ecx, 0x20
mov eax, 1
sub ecx, dword [ebp - 0xc]
shl eax, cl
dec eax
xor eax, ebx
jmp 0x410970
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
mov byte [edx + 2], al
mov eax, 5
add edi, eax
jmp 0x4108c2
pop ebx
cmp ecx, 3
jbe 0x4109f3
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
dec ecx
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x411cdd
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x411d00
or esi, 1
push 1
call edi
test ax, ax
jns 0x411d0c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x411d18
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x411d24
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret