joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475850
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
mov eax, 0x4758b8
call fcn.00405068
test eax, eax
jne 0x4758a9
mov edx, dword [ebp - 4]
mov eax, 0x4758c4
call fcn.00405068
test eax, eax
jne 0x4758a9
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 4]
call fcn.00409ee8
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4758a9
test byte [ebp - 0xc], 0x10
je 0x4758a9
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x476998
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xa]
dec eax
test eax, eax
jl 0x4769f5
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x4a85a0]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4769c4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x476a04
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x4a85a0]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x478270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4782cc
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4a975c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4782a0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x47b34c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b3fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x47b3e4
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00475218
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404ab4
mov edx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0040964c
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jg 0x47b3dc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404f24
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dl, 1
mov eax, dword [0x473efc]
call fcn.00474b7c
call fcn.004043d0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b401
lea eax, [ebp - 8]
call fcn.00404a60
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x47f8f4
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
xor edx, 1
imul edx, dword [ebp - 0x14]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
call fcn.00476a04
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0xff
add dword [ebp - 0x24], eax
imul eax, dword [ebp - 0x24], 0x8088405
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov edx, dword [ebp - 0x20]
call fcn.00476a04
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x47f88b
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret
Function at 0x47f914
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f9e0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, 1
imul dword [ebp - 0x18]
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x24], al
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.00476a04
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.00476a04
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x47f933
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 0x19]
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47fa21
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x47fa91
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.00476a04
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.00476a04
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x47fa32
mov esp, ebp
pop ebp
ret
Function at 0x481ffc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4820ca
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
or ax, 2
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x12]
mov dx, word [ebp - 0x12]
xor dx, 1
movzx edx, dx
imul edx
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor byte [edx + ecx], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.00476a04
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 8], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 8], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
shr eax, 0x18
mov edx, dword [ebp - 4]
xor al, byte [edx + 0xc]
and eax, 0xff
mov edx, dword [0x4a975c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x482022
mov esp, ebp
pop ebp
ret
Function at 0x4821c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0041b8f0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
jmp 0x48229e
mov eax, dword [ebp - 4]
call fcn.00482148
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x10]
mov ecx, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004820d0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor byte [ecx + edx + 0x10], al
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax + 0x10]
call fcn.004822d8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xc
jne 0x482218
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
je 0x482263
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
sete byte [ebp - 0xd]
jmp 0x482288
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
jne 0x48227f
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1a]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1e]
je 0x482283
xor eax, eax
jmp 0x482285
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x48229b
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
inc byte [ebp - 0xe]
cmp byte [ebp - 0xd], 0
jne 0x4822b3
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x34]
jb 0x4821e5
cmp byte [ebp - 0xd], 0
jne 0x4822ca
mov dl, 1
mov eax, dword [0x473c00]
call fcn.004746f0
call fcn.004043d0
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov al, byte [ebp - 1]
call fcn.00476a04
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 4], 0x8088405
inc eax
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.00476a04
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x4846a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x4846e9
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb8]
mov dl, 1
mov eax, dword [0x481eac]
call fcn.00481f1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48472a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xf0]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0xf4]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb8]
call fcn.00404ab4
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xbc]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x34], al
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 4]
mov dl, 1
mov eax, dword [0x482ab0]
call fcn.00482b44
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x484834
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0047ca3c
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x20], al
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0047ca00
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x18], al
mov eax, dword [ebp - 8]
call fcn.0047cbf8
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x94]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x100]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x104]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x44], 0
je 0x484813
mov eax, dword [ebp - 0x18]
add eax, 0x3c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00404ab4
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xaa]
mov edx, dword [ebp - 0x18]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x3c]
mov edx, dword [ebp - 0x18]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0x18]
call fcn.00482c64
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48483b
mov eax, dword [ebp - 0x18]
call fcn.00403b5c
ret
Function at 0x488fec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48905c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.004051ac
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x489026
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.00404f24
push eax
push esi
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.004051ac
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00488ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489063
lea eax, [ebp - 8]
call fcn.00404a60
ret

Function at 0x48d5f8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48d652
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048d5e8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004861b4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00485dac
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d659
lea eax, [ebp - 4]
call fcn.00404a60
ret
Function at 0x498b9c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x498ba4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x498d96
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x498dac
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404ab4
lea ecx, [ebp - 0x10]
mov edx, 0x498dc0
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404ab4
lea ecx, [ebp - 0x14]
mov edx, 0x498dd8
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404ab4
lea ecx, [ebp - 0x18]
mov edx, 0x498df4
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404ab4
lea ecx, [ebp - 0x1c]
mov edx, 0x498e10
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404ab4
lea ecx, [ebp - 0x24]
mov edx, 0x498e28
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f68
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004093c4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x498e40
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x28]
call fcn.004899b8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x498e50
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x2c]
call fcn.004899b8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x498e68
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004093c4
inc eax
je 0x498d39
lea ecx, [ebp - 0x34]
mov edx, 0x498e68
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x34]
call fcn.00409388
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
call fcn.0040ae80
fstp qword [ebp - 0x3c]
wait
call fcn.0040b1e8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x498d54
lea ecx, [ebp - 0x40]
mov edx, 0x498e68
mov eax, esi
call fcn.0048bf0c
mov eax, dword [ebp - 0x40]
call fcn.004899b8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x498e78
mov eax, esi
call fcn.0048bf0c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498d9d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404a84
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404a84
ret
Function at 0x49e324
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x109]
push eax
push 0
push 0
push 0x801c
push 0
call sub.shell32.dll_SHGetFolderPathA
test eax, eax
jne 0x49e360
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd0
jmp 0x49e368
mov eax, dword [ebp - 4]
call fcn.00404a60
mov esp, ebp
pop ebp
ret

Function at 0x49e36c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x109]
push eax
push 0
push 0
push 0x801a
push 0
call sub.shell32.dll_SHGetFolderPathA
test eax, eax
jne 0x49e3a8
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd0
jmp 0x49e3b0
mov eax, dword [ebp - 4]
call fcn.0049e324
mov esp, ebp
pop ebp
ret

Function at 0x49e53c
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f14
xor eax, eax
push ebp
push 0x49e62a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov dword [ebp - 0x18], eax
test byte [ebp - 0x15], 0x80
sete byte [ebp - 0x19]
cmp byte [ebp - 0x19], 0
je 0x49e607
mov eax, 0x104
call fcn.0040a07c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push 0
call sub.kernel32.dll_SetLastError
push 0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.00404c58
push dword [ebp - 0x24]
push 0x49e640
push dword [ebp - 4]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404de4
mov eax, dword [ebp - 0x20]
call fcn.00404f24
push eax
call sub.kernel32.dll_CreateDirectoryA_1
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x49e5f3
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x49e5f7
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
call fcn.0049e4d8
mov eax, dword [ebp - 0x14]
call fcn.0040a0c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e631
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404a84
lea eax, [ebp - 4]
call fcn.00404a60
ret