joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4824f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48252d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004805ac
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00480584
jmp 0x482539
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x483be6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x483c28
call fcn.00489b8d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x483c28
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x483c1f
xor eax, eax
jmp 0x483c30
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00483c36
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a0bd
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 0x48a0eb
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x48a109
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048a023
jmp 0x48a109
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a109
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048a023
test edi, edi
mov eax, edi
jne 0x48a0f3
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42bb60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp 0x42bb7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42bb81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42bb70
mov eax, 1
add ebx, ebx
jne 0x42bb93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42bb88
jne 0x42bba4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bb88
xor ecx, ecx
sub eax, 3
jb 0x42bbb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42bc2a
mov ebp, eax
add ebx, ebx
jne 0x42bbc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42bbd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42bbf4
inc ecx
add ebx, ebx
jne 0x42bbe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42bbd5
jne 0x42bbf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42bbd5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42bc14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42bc05
jmp 0x42bb76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42bc14
add edi, ecx
jmp 0x42bb76
pop esi
mov edi, esi
mov ecx, 0x659
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42bc32
cmp byte [edi], 0xa
jne 0x42bc32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42bc37
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42bcaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c690]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c76c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42bc64
mov ecx, edi
jns 0x42bc93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c770]
or eax, eax
je 0x42bca9
mov dword [ebx], eax
add ebx, 4
jmp 0x42bc81
call dword [esi + 0x2c780]
mov ebp, dword [esi + 0x2c774]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42bce3
sub esp, 0xffffff80
jmp 0x416fcc
Function at 0x403b10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebx
push ebp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push edi
xor eax, eax
xor ebx, ebx
xor ecx, ecx
shr edi, 3
je 0x403be0
mov al, byte [esi]
xor al, dl
inc esi
movzx ebx, bx
nop
xor al, cl
xor edx, ecx
shr edx, 8
mov bl, byte [esi]
mov ecx, dword [eax*4 + 0x42c480]
xor bl, dl
xor bl, cl
xor edx, ecx
shr edx, 8
mov al, byte [esi + 1]
mov ecx, dword [ebx*4 + 0x42c480]
xor al, dl
xor al, cl
xor edx, ecx
shr edx, 8
mov bl, byte [esi + 2]
mov ecx, dword [eax*4 + 0x42c480]
xor bl, dl
xor bl, cl
xor edx, ecx
shr edx, 8
mov al, byte [esi + 3]
mov ecx, dword [ebx*4 + 0x42c480]
xor al, dl
xor al, cl
xor edx, ecx
shr edx, 8
mov bl, byte [esi + 4]
mov ecx, dword [eax*4 + 0x42c480]
xor bl, dl
xor bl, cl
xor edx, ecx
shr edx, 8
mov al, byte [esi + 5]
mov ecx, dword [ebx*4 + 0x42c480]
xor al, dl
xor al, cl
xor edx, ecx
shr edx, 8
mov bl, byte [esi + 6]
mov ecx, dword [eax*4 + 0x42c480]
xor bl, dl
xor bl, cl
xor edx, ecx
shr edx, 8
mov al, byte [esi + 7]
mov ecx, dword [ebx*4 + 0x42c480]
xor al, dl
add esi, 8
dec edi
jne 0x403b3c
xor edx, ecx
dec esi
pop edi
and edi, 7
test edi, edi
je 0x403bfa
mov al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x42c480]
inc esi
dec edi
jne 0x403be8
mov dword [0x469654], edx
pop esi
pop edi
pop ebp
pop ebx
mov eax, dword [0x469654]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403c80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x469660]
mov ecx, dword [esp + 4]
push eax
push ecx
call fcn.00403c10
mov ecx, dword [0x469664]
mov dword [0x469660], eax
and eax, 0xff
mov edx, dword [0x469668]
add ecx, eax
add esp, 8
imul ecx, ecx, 0x8088405
inc ecx
push edx
mov dword [0x469664], ecx
shr ecx, 0x18
mov byte [esp + 8], cl
mov eax, dword [esp + 8]
push eax
call fcn.00403c10
add esp, 8
mov dword [0x469668], eax
ret

Function at 0x403ce0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x403d0c
push edi
push esi
mov esi, dword [esp + 0x10]
movsx edi, byte [esi]
call fcn.00403d10
mov cl, byte [esi]
push edi
xor cl, al
mov byte [esi], cl
call fcn.00403c80
add esp, 4
inc esi
dec ebx
jne 0x403cef
pop esi
pop edi
pop ebx
ret
Function at 0x403d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov al, byte [0x46966c]
sub esp, 0x100
test al, 1
push ebp
push esi
push edi
jne 0x403d5c
mov dl, al
or dl, 1
mov byte [0x46966c], dl
call sub.KERNEL32.dll_GetTickCount
xor eax, 0xad5302fc
mov dword [0x469670], eax
mov eax, dword [esp + 0x110]
push eax
call fcn.00403c40
mov edi, dword [0x469670]
add esp, 4
mov edx, 0x3f
lea esi, [esp + 0x108]
mov eax, dword [esi]
lea ecx, [edx - 7]
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
test eax, ebp
je 0x403d95
xor edi, eax
jmp 0x403d9b
mov ecx, edi
shr ecx, 1
add edi, ecx
dec edx
sub esi, 4
cmp edx, 2
jae 0x403d7e
mov dword [0x469670], edi
call sub.KERNEL32.dll_GetTickCount
push eax
call fcn.00420530
add esp, 4
call fcn.00420540
mov ebp, dword [0x469670]
mov esi, eax
shl esi, 0x10
xor esi, ebp
call fcn.00420540
or esi, eax
mov dword [0x469678], esi
call fcn.00420540
mov edx, dword [0x469670]
shl eax, 0x10
or eax, edx
xor eax, 0xa183f5e7
mov dword [0x46967c], eax
call fcn.00420540
mov esi, eax
shl esi, 0x10
call fcn.00420540
mov edx, dword [esp + 0x114]
or esi, eax
xor esi, 0x9123bacf
push 0xc
shr edx, 0x18
mov dword [0x469680], esi
push 0x469678
mov byte [0x469683], dl
call fcn.00403ce0
add esp, 8
mov eax, 0x469678
pop edi
pop esi
pop ebp
add esp, 0x100
ret

Function at 0x403e40
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x403e7b
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [0x469668]
mov dl, byte [esi]
or al, 2
and eax, 0xffff
mov ecx, eax
xor ecx, 1
imul ecx, eax
sar ecx, 8
xor dl, cl
mov al, dl
mov byte [esi], dl
push eax
call fcn.00403c80
add esp, 4
inc esi
dec edi
jne 0x403e4e
pop esi
pop edi
ret
Function at 0x417130
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
je 0x41714e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov bl, dl
xor bl, byte [ecx]
inc eax
inc ecx
dec edx
mov byte [eax - 1], bl
jne 0x417141
pop ebx
ret

Function at 0x41add0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dl, byte [eax]
xor dl, cl
mov byte [eax], dl
inc eax
dec ecx
test cx, cx
jne 0x41add8
ret

Function at 0x41af50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x41af60
mov eax, dword [ecx + 0xe]
test eax, eax
je 0x41af80
mov edx, dword [esp + 0xc]
test edx, edx
je 0x41af80
mov eax, dword [esp + 8]
movzx si, byte [eax]
add word [ecx + 0x12], si
movzx si, byte [eax]
xor word [ecx + 0x14], si
inc eax
dec edx
jne 0x41af6c
pop esi
ret 0xc

Function at 0x41dd20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x40]
push edi
mov eax, dword [ebp + 0x5c]
push 0
mov ecx, dword [eax + 0x928]
mov eax, dword [esi]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
lea ecx, [esp + 0x10]
push 0x2e
push ecx
mov ecx, ebp
call fcn.0041dbb0
test eax, eax
jne 0x41de5e
mov edx, dword [ebp + 0x5c]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x660]
mov edi, eax
add esp, 4
test edi, edi
je 0x41de5e
mov ax, word [edi + 0x1c]
cmp ax, 0x50
ja 0x41de5e
xor ebx, ebx
and eax, 0xffff
mov bx, word [edi + 0x20]
xor ecx, ecx
mov cx, word [edi + 0x1e]
add ebx, eax
mov eax, dword [esi + 4]
add ebx, ecx
test eax, eax
je 0x41dda7
mov eax, dword [eax]
mov edx, dword [esi]
sub eax, edx
cmp ebx, eax
jbe 0x41dda7
mov ebx, eax
lea edx, [ebx + 0x33]
push edx
call fcn.00420490
mov esi, eax
add esp, 4
test esi, esi
jne 0x41ddd7
mov ecx, ebp
mov dword [ebp], 1
call fcn.0041d680
push esi
push str._No_memory_available_for_central_records.
push 0x6a
call fcn.0040bde0
add esp, 0xc
mov eax, dword [edi]
mov word [esi + 8], 0x19
mov dword [esi + 4], eax
mov cx, word [edi + 6]
mov word [esi + 0xa], cx
mov dx, word [edi + 8]
mov word [esi + 0xc], dx
mov ax, word [edi + 0xa]
mov word [esi + 0xe], ax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x1c], ecx
mov dx, word [edi + 0x1c]
mov word [esi + 0x20], dx
mov ax, word [edi + 0x1e]
mov word [esi + 0x22], ax
mov cx, word [edi + 0x24]
mov word [esi + 0x28], cx
mov edx, dword [edi + 0x26]
lea eax, [esi + 0x32]
push ebx
push eax
mov ecx, ebp
mov dword [esi + 0x2a], edx
call fcn.0041dbb0
test eax, eax
jne 0x41de5e
mov word [esi + 0x26], ax
mov word [esi + 0x24], ax
mov ecx, dword [edi + 0x2a]
or byte [esi + 0xd], 0x80
mov dword [esi + 0x2e], ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 4
Function at 0x41e760
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov cl, byte [eax]
push edi
mov edi, dword [esp + 0x18]
inc eax
mov bl, byte [eax]
mov dl, cl
xor dl, bl
add cl, 0x83
mov byte [esi], dl
inc esi
inc eax
dec edi
jne 0x41e772
pop edi
pop esi
pop ebx
ret

Function at 0x41e790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov bl, byte [esi]
mov al, byte [esi + 1]
cmp bl, 0x2a
mov byte [esp + 0x18], bl
mov byte [esp + 0x14], al
je 0x41e812
cmp bl, 0x2e
je 0x41e801
cmp bl, 0x3f
je 0x41e7ef
mov al, byte [edi]
mov cl, bl
xor cl, al
test cl, 0x7f
je 0x41e7e7
movsx edx, al
push edx
call fcn.00420400
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
and eax, 0xff
push eax
call fcn.00420400
add esp, 4
cmp ebp, eax
jne 0x41e852
test bl, bl
je 0x41e848
inc esi
inc edi
jmp 0x41e79c
mov al, byte [edi]
inc esi
cmp al, 0x2e
je 0x41e79c
cmp al, 0x2f
je 0x41e79c
test al, al
je 0x41e79c
inc edi
jmp 0x41e79c
mov al, byte [edi]
test al, al
jne 0x41e80a
inc esi
jmp 0x41e79c
cmp al, 0x2e
jne 0x41e852
inc esi
inc edi
jmp 0x41e79c
movsx ecx, byte [edi]
push ecx
call fcn.00420400
mov edx, dword [esp + 0x18]
add esp, 4
and edx, 0xff
mov ebx, eax
push edx
call fcn.00420400
add esp, 4
cmp ebx, eax
je 0x41e842
cmp byte [edi], 0
je 0x41e842
inc edi
jmp 0x41e79c
inc esi
jmp 0x41e79c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x41ed20
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x104
test edx, edx
push esi
push edi
je 0x41ed3e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x41ed68
mov edi, 0x43873c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x114]
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
push 0
push 0x46640c
push edx
call edi
test eax, eax
jne 0x41edb2
push 1
push 0x469650
push 0x15
call fcn.0040bf50
add esp, 0xc
push esi
push 0
push 0x46640c
push 0x43873c
call edi
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
add esp, 0x104
ret
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x41ee80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x46ac30]
test eax, eax
je 0x41eea7
push 0
push 0x469650
push 0xff
mov dword [0x46ac30], 0
call fcn.0040bde0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
cmp eax, 1
setne dl
mov eax, edx
ret
Function at 0x41ef10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x46ac30]
test eax, eax
je 0x41ef37
push 0
push 0x469650
push 0xff
mov dword [0x46ac30], 0
call fcn.0040bde0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
cmp eax, 1
setne dl
mov eax, edx
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 8]
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov dword [ecx], eax
mov eax, edx
ret

Function at 0x41f000
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xa8]
push esi
mov esi, dword [esp + 0xa8]
push ebx
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp eax, 1
je 0x41f039
mov eax, 1
pop esi
pop ebx
add esp, 0x9c
ret
test bh, 8
je 0x41f0c3
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x20], 2
jne 0x41f0c3
test bl, 0x10
push 0
je 0x41f06a
push 0x2000000
jmp 0x41f06c
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f0b5
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0
lea edx, [esp + 0x18]
push 2
push edx
push 0x9c040
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebx
add esp, 0x9c
ret
mov eax, 1
pop esi
pop ebx
add esp, 0x9c
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x9c
ret

Function at 0x41f630
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
sub esp, 0x40
mov dword [eax], 0
mov eax, dword [esp + 0x48]
test ecx, ecx
mov byte [eax], 0
jne 0x41f669
lea ecx, [esp]
push 0x40
push ecx
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
push edx
push ecx
push 0
push 0x104
push eax
push 0
jmp 0x41f69c
mov dl, byte [ecx]
lea ecx, [esp]
mov byte [esp + 0x50], dl
push 0x40
push ecx
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
push edx
push ecx
push 0
push 0x104
lea edx, [esp + 0x68]
push eax
mov byte [esp + 0x6d], 0x3a
mov byte [esp + 0x6e], 0x5c
mov byte [esp + 0x6f], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41f6ac
xor eax, eax
add esp, 0x40
ret
mov eax, 1
add esp, 0x40
ret

Function at 0x41f6c0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
lea edx, [esp + 4]
push edx
mov byte [esp + 9], 0x3a
mov cl, byte [eax]
mov byte [esp + 0xa], 0x5c
mov byte [esp + 8], cl
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x41f6ec.3
jmp dword [eax*4 + 0x41f714]
mov eax, 2
ret
mov eax, 4
ret
mov eax, 5
ret
mov eax, 6
ret
mov eax, 3
ret
Function at 0x41f900
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov edx, 1
mov ecx, eax
push esi
shr ecx, 0x19
add ecx, 0x7bc
mov word [esp + 0x10], cx
mov ecx, eax
shr ecx, 0x15
shr eax, 0x10
and ecx, 0xf
and eax, 0x1f
cmp cx, dx
mov word [esp + 0x12], cx
mov word [esp + 0x16], ax
jb 0x41f940
cmp cx, 0xc
jbe 0x41f945
mov word [esp + 0x12], dx
cmp ax, dx
jb 0x41f950
cmp ax, 0x1f
jbe 0x41f955
mov word [esp + 0x16], dx
lea edx, [esp + 0x24]
push edx
push 0xf003f
push 0
push str.Control_PanelInternational
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f9b1
mov edx, dword [esp + 0x24]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.sDate
push edx
mov dword [esp + 0x1c], 5
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41f9a4
mov byte [esp + 8], 0x2f
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f9b6
mov byte [esp + 8], 0x2f
mov eax, dword [0x46a328]
sub eax, 3
je 0x41fa2a
dec eax
mov eax, dword [esp + 8]
je 0x41f9ea
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x16]
and ecx, 0xffff
and eax, 0xff
push ecx
and edx, 0xffff
push eax
push edx
push eax
mov eax, dword [esp + 0x22]
jmp 0x41fa4f
mov ecx, dword [esp + 0x16]
mov edx, dword [esp + 0x12]
and ecx, 0xffff
and eax, 0xff
push ecx
and edx, 0xffff
mov esi, dword [esp + 0x2c]
push eax
push edx
push eax
mov eax, dword [esp + 0x20]
and eax, 0xffff
push eax
push str._04d_c_02d_c_02d
push esi
call fcn.004209f0
add esp, 0x1c
mov eax, esi
pop esi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x12]
and ecx, 0xffff
and eax, 0xff
push ecx
and edx, 0xffff
push eax
push edx
push eax
mov eax, dword [esp + 0x26]
mov esi, dword [esp + 0x38]
and eax, 0xffff
push eax
push str._02d_c_02d_c_04d
push esi
call fcn.004209f0
add esp, 0x1c
mov eax, esi
pop esi
add esp, 0x1c
ret
Function at 0x41fe40
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x420039
cmp byte [edi], 0xa
jne 0x420039
mov al, byte [edi + 1]
test al, al
jne 0x420039
xor ebx, ebx
mov bh, byte [edi + 3]
mov bl, byte [edi + 2]
test ebx, ebx
je 0x420039
mov eax, dword [esp + 0x1c]
and eax, 0xffff
cmp ebx, eax
ja 0x420039
push 0x18
mov esi, 4
call fcn.00420490
add esp, 4
test eax, eax
jne 0x41feb0
push 1
push 0x469650
push 0x1b
call fcn.0040bf50
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebx, 4
jbe 0x42003b
xor ecx, ecx
xor edx, edx
mov ch, byte [esi + edi + 5]
mov dh, byte [esi + edi + 7]
mov cl, byte [esi + edi + 4]
mov dl, byte [esi + edi + 6]
add esi, 4
cmp ecx, 1
mov ebp, edx
jne 0x42002a
cmp ebp, 0x18
jne 0x42002a
movsx ecx, byte [esi + edi + 7]
shl ecx, 0x18
mov dword [eax + 0x10], ecx
mov dl, byte [esi + edi + 6]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x10], edx
mov ch, byte [esi + edi + 5]
or ecx, edx
mov dword [eax + 0x10], ecx
mov dl, byte [esi + edi + 4]
and edx, 0xff
or edx, ecx
mov dword [eax + 0x10], edx
movsx ecx, byte [esi + edi + 0xb]
shl ecx, 0x18
mov dword [eax + 0x14], ecx
mov dl, byte [esi + edi + 0xa]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x14], edx
mov ch, byte [esi + edi + 9]
or ecx, edx
mov dword [eax + 0x14], ecx
mov dl, byte [esi + edi + 8]
and edx, 0xff
or edx, ecx
mov dword [eax + 0x14], edx
movsx ecx, byte [esi + edi + 0xf]
shl ecx, 0x18
mov dword [eax + 8], ecx
mov dl, byte [esi + edi + 0xe]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov ch, byte [esi + edi + 0xd]
or ecx, edx
mov dword [eax + 8], ecx
mov dl, byte [esi + edi + 0xc]
and edx, 0xff
or edx, ecx
mov dword [eax + 8], edx
movsx ecx, byte [esi + edi + 0x13]
shl ecx, 0x18
mov dword [eax + 0xc], ecx
mov dl, byte [esi + edi + 0x12]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
mov ch, byte [esi + edi + 0x11]
or ecx, edx
mov dword [eax + 0xc], ecx
mov dl, byte [esi + edi + 0x10]
and edx, 0xff
or edx, ecx
mov dword [eax + 0xc], edx
movsx ecx, byte [esi + edi + 0x17]
shl ecx, 0x18
mov dword [eax], ecx
mov dl, byte [esi + edi + 0x16]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax], edx
mov ch, byte [esi + edi + 0x15]
or ecx, edx
mov dword [eax], ecx
mov dl, byte [esi + edi + 0x14]
and edx, 0xff
or edx, ecx
mov dword [eax], edx
movsx ecx, byte [esi + edi + 0x1b]
shl ecx, 0x18
mov dword [eax + 4], ecx
mov dl, byte [esi + edi + 0x1a]
and edx, 0xff
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov ch, byte [esi + edi + 0x19]
or ecx, edx
mov dword [eax + 4], ecx
mov dl, byte [esi + edi + 0x18]
and edx, 0xff
or edx, ecx
mov dword [eax + 4], edx
add esi, ebp
cmp esi, ebx
jb 0x41feb9
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret