joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4090d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40910f
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004222d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409172
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004225e0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x409196
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004222d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4091f9
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004225e0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40921d
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004222d0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409280
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004225e0
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x409288
mov esp, ebp
pop ebp
ret
Function at 0x40d5d8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40d61e
push 6
call fcn.0042057b
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x43d32f]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004013ea
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00420bc0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d671
push ebx
call fcn.00420575
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40d6aa
push 6
call fcn.0042057b
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x40d6c6
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.0042056f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40d6cb
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d6dc
push ebx
call fcn.00420575
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4210a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x4210b6
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.00423f30
add esp, 4
test eax, eax
jne 0x4210cd
mov eax, 1
pop esi
add esp, 0xc
ret
mov eax, dword [esi]
push ebx
push ebp
cmp eax, 1
push edi
mov dword [esp + 0x10], 1
jne 0x42117d
mov esi, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
mov ebx, eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4211e5
cmp edi, ebx
jae 0x4211e5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x4211e5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4211e5
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x2c]
push 1
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push edi
push esi
mov ebx, eax
call ebp
test ebx, ebx
je 0x4211e5
mov al, byte [esp + 0x24]
test al, al
je 0x4211dd
cmp al, 0x1a
jne 0x4211e5
pop edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
cmp eax, 2
jne 0x4211e5
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.00423f20
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jae 0x4211e5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x4211e5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4211e5
mov edx, dword [esi]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call dword [edx + 0x20]
mov edx, dword [esi]
push 0
push edi
mov ecx, esi
mov ebp, eax
call dword [edx + 0x18]
test ebp, ebp
je 0x4211e5
mov al, byte [esp + 0x24]
test al, al
je 0x4211dd
cmp al, 0x1a
jne 0x4211e5
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x421200
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
jne 0x421219
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.00423f30
add esp, 4
test eax, eax
jne 0x42122e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
xor edi, edi
cmp eax, 1
jne 0x42136e
mov edi, dword [esi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push 0
push 0
push edi
mov dword [esp + 0x24], edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x42126c
push 2
push 0
push 0
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x1000
xor ebp, ebp
call fcn.004275cd
add esp, 4
mov ebx, eax
lea eax, [esp + 0x20]
mov esi, ebx
push ebp
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42134e
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jbe 0x4212b4
mov al, byte [esi]
cmp al, 0xd
je 0x4212f6
cmp al, 0xa
je 0x4212f6
inc ecx
inc esi
cmp ecx, edx
jb 0x4212a4
add ebp, edx
cmp edx, 0x1000
jb 0x4212f8
push 0x1000
push ebx
call fcn.0042729e
mov ebx, eax
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, 0x1000
jne 0x4212f8
lea ecx, [esp + 0x20]
push 0
lea esi, [ebx + ebp]
push ecx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42134e
jmp 0x42129a
add ebp, ecx
lea edx, [ebp + 1]
push edx
call fcn.004207d0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov al, byte [esi]
add esp, 4
add ecx, ebp
cmp al, 0xd
je 0x421316
cmp al, 0xa
jne 0x42131f
mov al, byte [esi + 1]
inc ecx
cmp al, 0xa
jne 0x42131f
inc ecx
mov eax, dword [esp + 0x14]
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
push ebx
push edi
call fcn.004271a0
push ebx
mov byte [edi + ebp], 0
call fcn.004270b2
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call fcn.004270b2
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x4213fc
mov esi, dword [esi + 4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push edx
push 0xffffffffffffffff
push 0
mov ecx, esi
call dword [eax + 0x30]
mov ebp, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jbe 0x4213b7
mov cl, byte [ebp]
cmp cl, 0xd
je 0x4213b7
cmp cl, 0xa
je 0x4213b7
inc ebx
inc ebp
cmp ebx, eax
jb 0x4213a4
lea eax, [ebx + 1]
push eax
call fcn.004207d0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov al, byte [ebp]
add esp, 4
add ecx, ebx
cmp al, 0xd
je 0x4213d6
cmp al, 0xa
jne 0x4213df
mov al, byte [ebp + 1]
inc ecx
cmp al, 0xa
jne 0x4213df
inc ecx
mov edx, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push eax
push edi
call fcn.004271a0
add esp, 0xc
mov byte [ebx + edi], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x422170
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x42218e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x422183
pop esi
ret
Function at 0x436b06
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x436b34
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436b52
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00436a6c
jmp 0x436b52
mov eax, dword [esi + 0x14]
test eax, eax
je 0x436b52
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00436a6c
test edi, edi
mov eax, edi
jne 0x436b3c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001040
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp]
push ecx
push section..text
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 0xc
ret

Function at 0x10001070
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10001104
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100010fd
mov ebp, dword [esp + 0x13c]
push ebp
call fcn.100085f0
lea ecx, [esp + 0x38]
mov esi, eax
push ecx
call fcn.100085f0
add esp, 8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x100010e5
test cl, cl
je 0x100010e1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x100010e5
add eax, 2
add esi, 2
test cl, cl
jne 0x100010bd
xor eax, eax
jmp 0x100010ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10001111
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100010a8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x100018f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
call fcn.10002b2c
cdq
mov ecx, 0xff
mov si, word [esp + 0x14]
idiv ecx
cmp si, 1
mov byte [esp + 7], dl
jge 0x10001917
mov ax, 5
pop esi
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
movsx esi, si
mov cl, byte [ebp]
mov byte [eax], cl
mov cl, byte [ebp + 1]
mov byte [eax + 1], cl
mov ecx, 2
lea ebx, [esi - 1]
cmp ebx, ecx
jle 0x1000194b
mov dl, byte [ecx + ebp]
xor byte [esi + eax - 1], dl
inc ecx
cmp ecx, ebx
jl 0x1000193b
mov dl, byte [esp + 0xf]
mov cl, byte [ebp + 2]
xor cl, dl
xor cl, 0x58
cmp ebx, 3
mov byte [eax + 2], cl
jle 0x10001981
mov ecx, ebp
push edi
sub ecx, eax
add ebx, 0xfffffffd
lea edi, [eax + 3]
mov dword [esp + 0x20], ebx
mov bl, byte [ecx + edi]
xor bl, byte [edi - 1]
xor bl, dl
mov byte [edi], bl
mov ebx, dword [esp + 0x20]
inc edi
dec ebx
mov dword [esp + 0x20], ebx
jne 0x1000196a
pop edi
mov cl, byte [esi + eax - 2]
mov bl, byte [esi + eax - 1]
xor cl, bl
xor cl, dl
not dl
mov byte [esi + eax - 1], cl
mov cl, dl
shr dl, 5
shl cl, 3
or dl, cl
cmp esi, 0x41
mov byte [eax + 1], dl
jge 0x100019ba
lea ecx, [esi + eax]
sub ebp, eax
mov eax, 0x41
sub eax, esi
mov dl, byte [ecx + ebp]
mov byte [ecx], dl
inc ecx
dec eax
jne 0x100019b1
pop ebp
pop ebx
xor ax, ax
pop esi
pop ecx
ret 0xc

Function at 0x100019d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov al, byte [edi]
mov byte [edx], al
mov cl, byte [edi + 1]
mov byte [edx + 1], cl
mov al, byte [edi + 1]
mov cl, al
shr cl, 3
shl al, 5
or cl, al
not cl
mov byte [edx + 1], cl
mov al, byte [edi + 2]
xor al, cl
xor al, 0x58
mov byte [edx + 2], al
and eax, 0xff
add eax, 2
cmp eax, 2
jle 0x10001a2c
push ebp
mov ebp, edx
lea esi, [eax + edi]
sub ebp, edi
lea edi, [eax - 2]
mov bl, byte [esi - 1]
mov al, cl
xor al, bl
mov bl, byte [esi]
xor al, bl
mov byte [esi + ebp], al
dec esi
dec edi
jne 0x10001a19
pop ebp
xor ecx, ecx
mov esi, 2
mov cl, byte [edx + 2]
xor al, al
mov edi, ecx
lea ecx, [edi + 2]
cmp ecx, esi
jle 0x10001a4b
mov bl, byte [esi + edx]
xor al, bl
inc esi
cmp esi, ecx
jl 0x10001a41
mov bl, byte [edi + edx + 2]
pop edi
sub al, bl
pop esi
neg al
sbb eax, eax
pop ebx
and al, 0xfb
ret 0xc
Function at 0x10004c06
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000a598
cmp edx, dword [eax]
je 0x10004c28
add eax, 8
inc ecx
cmp eax, 0x1000a628
jl 0x10004c19
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000a598]
jne 0x10004d56
mov eax, dword [0x1000c274]
cmp eax, 1
je 0x10004d30
test eax, eax
jne 0x10004c59
cmp dword [0x1000c278], 1
je 0x10004d30
cmp edx, 0xfc
je 0x10004d56
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10004c90
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10006d60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10006180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10004cd3
lea eax, [ebp - 0x1a4]
push eax
call fcn.10006180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10009458
push edi
call fcn.100072d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10006d60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10006d70
lea eax, [ebp - 0xa0]
push 0x10009438
push eax
call fcn.10006d70
push dword [esi + 0x1000a59c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10006d70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10007244
add esp, 0x2c
pop edi
jmp 0x10004d56
lea eax, [ebp + 8]
lea esi, [esi + 0x1000a59c]
push 0
push eax
push dword [esi]
call fcn.10006180
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0xf64539b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5146123c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4054df
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x446200], 2
jl 0x405504
movaps xmm0, xmmword [0x431480]
movaps xmmword [0x43cec0], xmm0
movaps xmm0, xmmword [0x431470]
movaps xmmword [0x43ced0], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.004058b0
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x431450]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x405512
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x405c34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405c66
test dl, 7
je 0x405c66
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43cee0]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405c46
cmp esi, 8
jb 0x405cf6
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43cee0]
xor ecx, dword [eax*4 + 0x43d2e0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43d6e0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43dee0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43e2e0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43e6e0]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43dae0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43eae0]
mov ebx, ecx
sub edi, 1
jne 0x405c75
pop edi
test esi, esi
je 0x405d12
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43cee0]
inc edx
sub esi, 1
jne 0x405cfa
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x405e7f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push 0x20
pop ebp
cmp dword [esi], 2
jne 0x405ed6
mov eax, dword [esi + 4]
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push ebp
push dword [esp + 0x58]
call fcn.00406559
mov dword [esi + 4], ebx
mov edx, ebx
mov edi, ebx
movzx eax, byte [esp + edx + 0x10]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebp
jb 0x405ebc
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x405f02
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
add esi, 4
push eax
push ebp
push esi
push ebp
push dword [esp + 0x54]
call fcn.00406559
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0041e410
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x406302
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x264
push ebx
mov ebx, dword [esp + 0x280]
mov eax, ecx
mov dword [esp + 4], eax
cmp ebx, 0x18
ja 0x4064fe
push ebp
push esi
xor ebp, ebp
lea esi, [eax + 0x4b4]
push edi
mov edi, ebp
cmp dword [esi + 0x134], ebx
jne 0x406366
push dword [esp + 0x27c]
mov ecx, esi
call fcn.0040e491
test al, al
je 0x406366
push 0x10
push dword [esp + 0x288]
lea eax, [esi + 0x102]
push eax
call fcn.0041ed5a
add esp, 0xc
test eax, eax
je 0x406508
inc edi
add esi, 0x178
cmp edi, 4
jb 0x40632c
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.00410fe6
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x10
push dword [esp + 0x298]
lea eax, [esp + 0x8c]
push eax
call fcn.00422570
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00406764
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040e6bf
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push 0x40
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
mov edi, ebx
mov eax, dword [esp + 0x290]
pop ecx
mov dword [ebx + 0x134], eax
lea eax, [ebx + 0x102]
rep movsd dword es:[edi], dword [esi]
push 0x10
push dword [esp + 0x288]
push eax
movsw word es:[edi], word [esi]
call fcn.0041e410
push 0x20
pop edi
push edi
lea eax, [esp + 0x24]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.0041e410
push edi
lea eax, [esp + 0x50]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041e410
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.0041e410
add esp, 0x30
push ebp
push 1
push edi
push esi
call fcn.0040e5ca
cmp dword [esp + 0x290], ebp
je 0x40648c
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.0041e410
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x4064bf
push 8
push ebp
push esi
call fcn.0041e2b0
add esp, 0xc
mov al, byte [esp + ebp + 0x34]
mov ecx, ebp
and ecx, 7
xor byte [ecx + esi], al
inc ebp
cmp ebp, edi
jb 0x4064a3
push edi
lea eax, [esp + 0x38]
push eax
call fcn.0040e6bf
cmp dword [esp + 0x288], 0
je 0x4064f0
push dword [esp + 0x288]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0x100
push eax
push dword [esp + 0x284]
add ecx, 0xa9c
call fcn.0040db49
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0040e6bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 0x20
push 0x20
pop edi
push edi
lea eax, [esi + 0x112]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041e410
add esp, 0xc
lea eax, [esp + 0x14]
push ebp
push ebp
push edi
push eax
call fcn.0040e5ca
push edi
lea eax, [esi + 0x138]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041e410
push edi
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041e410
add esp, 0x18
jmp 0x40646e