joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ff50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
cmp eax, dword [esp]
jge 0x49ff7f
mov ecx, 0xeb
mov edx, 0x4a00a0
mov eax, 0x4a00f0
call fcn.00404208
mov eax, dword [esp + 4]
cmp eax, dword [esp]
je 0x49ffa6
mov eax, dword [esp]
dec eax
cmp eax, dword [esp + 4]
je 0x49ffa6
mov ecx, 0xed
mov edx, 0x4a00a0
mov eax, 0x4a0138
call fcn.00404208
mov eax, dword [ebx + 0x28]
mov edx, dword [esp]
cmp edx, dword [esp + 4]
jle 0x49ffb3
inc eax
mov edx, dword [ebx + 0x18]
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 4]
dec esi
test esi, esi
jl 0x49fff3
inc esi
shl edx, 5
movzx edi, byte [eax + 2]
xor edx, edi
and edx, 0x3fff
mov edi, eax
and edi, dword [ebx + 0x58]
mov ebp, dword [esp + 8]
lea ebp, [ebp + edi*4]
mov edi, dword [ecx + edx*4]
mov dword [ebp], edi
mov dword [ecx + edx*4], eax
inc eax
dec esi
jne 0x49ffca
mov esi, dword [esp + 8]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x28], eax
cmp byte [ebx + 4], 0
je 0x4a002c
mov eax, dword [esp]
add dword [ebx + 0x44], eax
mov eax, dword [esp]
add dword [ebx + 0x48], eax
cmp byte [ebx + 0x34], 0
je 0x4a0046
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x4a0046
mov eax, ebx
call fcn.004a04c0
jmp 0x4a0046
mov edx, eax
sub edx, dword [ebx + 0x44]
cmp edx, dword [ebx + 0x5c]
jl 0x4a0046
mov byte [ebx + 4], 1
sub eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x44]
add dword [ebx + 0x44], eax
add dword [ebx + 0x48], eax
cmp word [ebx + 0x3a], 0
je 0x4a007e
mov eax, dword [esp]
add dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
test esi, 0xfff
jne 0x4a007e
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fmul dword [0x4a0174]
fild dword [ebx + 0x50]
fdivp st(1)
call fcn.00402c24
mov edx, eax
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x4a008d
mov eax, ebx
call fcn.004a04c0
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a3310
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
test esi, esi
jne 0x4a3338
mov ecx, 0xf4
mov edx, 0x4a33c0
mov eax, 0x4a3410
call fcn.00404208
mov edx, esi
mov eax, ebx
call fcn.004a3444
mov dword [ebp - 8], 0xc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
mov al, byte [esi]
call fcn.00494e9c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 8]
jne 0x4a334e
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 9]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.0040456c
mov esi, eax
test esi, esi
jle 0x4a34b2
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.00494e9c
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x4a3476
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a376c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x4a3797
mov ecx, 0x188
mov edx, 0x4a395c
mov eax, 0x4a39ac
call fcn.00404208
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a3b40
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov eax, pe_nt_image_headers32
call fcn.00402e88
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.00494e9c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x4a37ab
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a3b40
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov al, byte [edi]
mov edx, dword [ebx + 8]
call fcn.00494e9c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
mov eax, esi
xor byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x4a3826
mov al, byte [ebp + 0xa]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.00494e9c
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x12], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.00494e9c
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x11], al
mov byte [ebx + 4], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3b40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.0040456c
mov esi, eax
test esi, esi
jle 0x4a3bae
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.00494e9c
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.00494e9c
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x4a3b72
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a8e18
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x4a8e8e
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.00494e9c
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4d3f2c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x4a8e28
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a8f20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
call fcn.0041ec10
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x4a8fb7
mov eax, edi
call fcn.004a8edc
xor ecx, ecx
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [edi + 0x10]
mov ecx, 0xc
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor esi, esi
mov eax, edi
call fcn.004a8e94
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.004a8fe4
inc esi
cmp esi, 0xc
jne 0x4a8f63
cmp byte [edi + 0x20], 0
je 0x4a8f91
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x4a8fa7
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x4a8fa1
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x4a8fa5
xor ebx, ebx
jmp 0x4a8fa7
mov bl, 1
test bl, bl
jne 0x4a8fb4
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x4a8fc7
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x4a8f3c
test bl, bl
jne 0x4a8fdc
mov dl, 1
mov eax, dword [0x49121c]
call fcn.0049246c
call fcn.00403c44
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a8fe4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.00494e9c
mov esi, eax
mov dword [edi], esi
and esi, 0xff
add dword [edi + 4], esi
imul esi, dword [edi + 4], 0x8088405
inc esi
mov dword [edi + 4], esi
mov eax, esi
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.00494e9c
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4aaf80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x4aafbb
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebx + 0xb8]
mov dl, 1
mov eax, dword [0x4a8d1c]
call fcn.004a8d8c
mov edi, eax
test edi, edi
je 0x4aafe8
mov eax, dword [ebx + 0xf0]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0xf4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
mov edx, dword [ebx + 0xb8]
call fcn.00404300
mov al, byte [ebx + 0xbc]
mov byte [edi + 0x34], al
mov eax, dword [ebp - 4]
push eax
push edi
lea ecx, [ebx + 4]
mov dl, 1
mov eax, dword [0x4a97d4]
call fcn.004a9868
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ab0d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0049c0f8
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, esi
call fcn.0049c0e4
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x18], al
mov eax, esi
call fcn.0049c1d0
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x90]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x94]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x100]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x104]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x40], ebx
cmp byte [ebx + 0x44], 0
je 0x4ab0b1
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebx + 0xc]
call fcn.00404300
mov ax, word [ebx + 0xaa]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x39], 1
mov ax, word [ebx + 0x3c]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0xc]
call fcn.004a9940
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab0d9
mov eax, dword [ebp - 0xc]
call fcn.00403478
ret
Function at 0x4aeae4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042911c
cmp ebx, dword [ebp - 8]
jge 0x4aeb47
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042950c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042950c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00429538
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4aeb0d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4aeb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042911c
cmp ebx, dword [ebp - 8]
jge 0x4aebb3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042950c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042950c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00429538
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4aeb79
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b2164
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b23c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4b21c7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b1c7c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d3c0
cmp al, 1
jne 0x4b21c7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004b1f44
test al, al
je 0x4b2353
cmp dword [ebp - 8], 0
jge 0x4b21e5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004b1c7c
mov eax, dword [ebp - 0x210]
call fcn.0040456c
cmp ebx, eax
jge 0x4b222f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b1c7c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d447c]
and eax, 0xff
bt dword [edx], eax
jae 0x4b222f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4b2243
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b2140
cmp ebx, dword [ebp - 8]
je 0x4b2345
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4b226f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403674
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d38f4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4b2332
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403674
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d38f4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046222c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403674
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d38f4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046222c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2339
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4b23a6
cmp dword [ebp - 8], 0
jge 0x4b235e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b1c7c
mov eax, dword [ebp - 0x218]
call fcn.0040456c
cmp eax, dword [ebp - 8]
jg 0x4b2398
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b1c7c
mov eax, dword [ebp - 0x21c]
call fcn.0040456c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b2140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b23cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004042d0
ret
Function at 0x4c7e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c7ef1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d3e98]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4c7edb
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004c7e70
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c6654]
call fcn.004c8d40
mov dword [0x4d3f00], eax
mov eax, dword [ebp - 4]
call fcn.004c7cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7ef8
lea eax, [ebp - 8]
call fcn.00405d58
ret

Function at 0x4c7f90
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4c7fa3
or esi, 2
test dl, dl
je 0x4c7fac
or esi, 0
jmp 0x4c7faf
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x4c8bcc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040475c
xor eax, eax
push ebp
push 0x4c8d24
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4c643c]
call fcn.004181dc
test eax, eax
jl 0x4c8c33
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.004c7f74
and eax, 0x7f
mov eax, dword [eax*4 + 0x4d3e98]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4c8c96
mov eax, dword [ebx]
call fcn.0040456c
test eax, eax
jle 0x4c8c96
mov eax, dword [ebx]
call fcn.0040456c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4c8c5a
mov eax, ebx
mov edx, 0x4c8d3c
call fcn.00404574
mov eax, dword [ebx]
call fcn.0040456c
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.004050d4
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.004c7e70
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4c8ce1
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d3f84]
call fcn.0040621c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.00409f40
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404300
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4079b4]
call fcn.0040c9bc
call fcn.00403c44
mov eax, dword [ebp - 8]
call fcn.004c8b44
mov ebx, eax
test edi, edi
je 0x4c8cf6
mov eax, edi
call fcn.00403478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8d2b
lea eax, [ebp - 0x1c]
call fcn.004042ac
lea eax, [ebp - 0x18]
call fcn.00405d58
lea eax, [ebp - 0x14]
call fcn.004042ac
lea eax, [ebp - 4]
call fcn.004042ac
ret
Function at 0x4ca424
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ca58e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d4468]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4d4468]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004797b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004427bc
xor edx, edx
push ebp
push 0x4ca571
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4ca4e1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00405d58
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004c858c
push eax
mov eax, dword [0x4d429c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4ca4d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403cf0
jmp 0x4ca578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca51d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0044239c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004ca2b4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4ca4f9
push 0
mov edx, 0x4ca24c
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00441f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca578
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00442808
mov eax, dword [0x4d4468]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.004797b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca595
lea eax, [ebp - 0x10]
call fcn.00405d58
ret