joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b1a0
Capabilities:
Get file size

Disassembly:
mov edx, dword [ecx]
sub esp, 8
lea eax, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x48b1ba
xor edx, edx
add esp, 8
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x48b210
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
ret 4

Function at 0x48b440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push edi
mov edi, eax
cmp byte [edi + 4], 0
je 0x48b49b
push 0xffffffffffffffff
push 1
push 0x2000
mov ecx, edi
call fcn.0048ee30
test al, al
je 0x48b497
mov al, byte [ebp + 8]
push 0
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x10], al
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push 1
lea edx, [esp + 0x14]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0xc], 1
jne 0x48b497
call fcn.0048ef40
test al, al
jne 0x48b49b
mov byte [edi + 4], 0
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x48b4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x48b505
push 0xffffffffffffffff
push 2
push eax
call fcn.0048ee30
test al, al
je 0x48b501
mov ecx, dword [ebp + 8]
push 0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], ecx
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
push 4
lea eax, [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0xc], 4
jne 0x48b501
call fcn.0048ef40
test al, al
jne 0x48b505
mov byte [edi + 4], 0
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x48ee30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
cmp byte [ebx + 4], 0
push esi
push edi
je 0x48ef2b
cmp dword [ebp + 0x10], 0xffffffff
je 0x48ee7f
mov edi, dword [ebx + 7]
test edi, edi
je 0x48ee7f
cmp dword [edi + 0x1c], 0
je 0x48ee7f
mov esi, dword [edi + 0x1c]
mov eax, dword [ebp + 0x10]
cmp dword [esi + 0x18], eax
jge 0x48ee7f
mov eax, ebx
call fcn.00492050
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x48ee79
mov ecx, dword [eax]
mov dword [edi + 0x1c], ecx
cmp dword [edi + 0x1c], 0
jne 0x48ee5b
mov dx, word [ebp + 0xc]
mov di, word [ebp + 8]
xor eax, eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x1e], dx
mov edx, dword [ebx]
push 0xc
lea ecx, [esp + 0x20]
mov word [esp + 0x20], di
mov eax, dword [edx + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 0xc
jne 0x48ef27
push 0x20
call fcn.0069e704
mov esi, eax
add esp, 4
test esi, esi
jne 0x48eee3
call fcn.004b05b0
mov edx, dword [ebx + 7]
mov dword [esi], edx
mov dword [ebx + 7], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx]
add ecx, 0x10
push ecx
call fcn.0048b230
mov word [esi + 4], di
mov di, word [ebp + 0xc]
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi], ecx
mov word [esi + 6], di
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], ecx
mov edx, dword [ebx + 7]
mov dword [esi], edx
mov dword [ebx + 7], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebx + 4], 0
mov al, byte [ebx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48ef40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
cmp byte [edi + 4], 0
push ebx
push esi
je 0x48eff9
mov esi, dword [edi + 7]
test esi, esi
je 0x48ef61
mov eax, dword [esi]
mov dword [edi + 7], eax
mov ecx, dword [edi]
add ecx, 0x10
push ecx
call fcn.0048b230
mov ecx, dword [esi + 0xc]
mov ebx, eax
mov eax, dword [esi + 8]
push 0
sub eax, 8
push 0
sbb ecx, 0
push ecx
mov dword [esp + 0x28], edx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, dword [esi + 8]
push 0
sbb edx, dword [esi + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push 8
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0xc], 8
jne 0x48efec
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push 0
push 0
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push esi
call fcn.0069d0cc
add esp, 4
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov byte [edi + 4], 0
call fcn.0069d0cc
add esp, 4
mov al, byte [edi + 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491610
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x40], 0
push edi
je 0x491636
cmp dword [esi], 0xffffffff
je 0x491636
cmp dword [esi + 4], 0
jle 0x491636
cmp dword [esi + 8], 0
jg 0x491648
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
fldz
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x491636
mov eax, 0xcccccccd
mul ecx
xor edi, edi
mov ebx, edx
push edi
shr ebx, 3
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.004d39b0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x491636
cmp esi, dword [esp + 0x30]
jb 0x491636
cmp esi, dword [esp + 0x34]
ja 0x491636
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x4916b9
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4917a9
cmp esi, dword [esp + 0x30]
jb 0x4917a9
cmp esi, dword [esp + 0x34]
ja 0x4917a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x32
jbe 0x491705
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x4916a7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
lea eax, [esi + ecx*4]
cmp esi, eax
jae 0x491754
sub eax, esi
sub eax, 1
shr eax, 2
add eax, 1
lea ecx, [esi + 1]
mov edx, eax
movzx eax, byte [ecx - 1]
movzx ebx, byte [ecx + 1]
imul eax, eax, 0x4c
imul ebx, ebx, 0x19
add eax, ebx
movzx ebx, byte [ecx]
imul ebx, ebx, 0x9b
add eax, ebx
sar eax, 8
mov byte [ecx + 1], al
mov byte [ecx], al
mov byte [ecx - 1], al
add ecx, 4
sub edx, 1
jne 0x491722
mov ebx, dword [esp + 0x24]
add esi, dword [esp + 0x3c]
add edi, 1
cmp edi, dword [esp + 0x20]
jbe 0x4916c3
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
lea edx, [ebx + edi]
mov dword [esp + 0x20], edx
mov edx, edi
test edx, edx
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
jge 0x491785
fadd qword [0x7235b8]
mov edx, dword [esp + 0x28]
fild dword [esp + 0x28]
test edx, edx
jge 0x491797
fadd qword [0x7235b8]
fdivp st(1)
mov eax, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call eax
jmp 0x4916c3
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4917c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x40], 0
push edi
je 0x4917e6
cmp dword [esi], 0xffffffff
je 0x4917e6
cmp dword [esi + 4], 0
jle 0x4917e6
cmp dword [esi + 8], 0
jg 0x4917f8
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
fldz
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x4917e6
mov eax, 0xcccccccd
mul ecx
xor edi, edi
mov ebx, edx
push edi
shr ebx, 3
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.004d39b0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4917e6
cmp esi, dword [esp + 0x30]
jb 0x4917e6
cmp esi, dword [esp + 0x34]
ja 0x4917e6
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x491869
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x491967
cmp esi, dword [esp + 0x30]
jb 0x491967
cmp esi, dword [esp + 0x34]
ja 0x491967
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x32
jbe 0x4918b5
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x491857
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
lea edx, [esi + eax*2]
add edx, eax
cmp esi, edx
jae 0x491912
sub edx, esi
sub edx, 1
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea ecx, [esi + 1]
add edx, 1
jmp 0x4918e0
movzx eax, byte [ecx]
movzx ebx, byte [ecx + 1]
imul eax, eax, 0x9b
imul ebx, ebx, 0x4c
add eax, ebx
movzx ebx, byte [ecx - 1]
imul ebx, ebx, 0x19
add eax, ebx
sar eax, 8
mov byte [ecx + 1], al
mov byte [ecx], al
mov byte [ecx - 1], al
add ecx, 3
sub edx, 1
jne 0x4918e0
mov ebx, dword [esp + 0x24]
add esi, dword [esp + 0x3c]
add edi, 1
cmp edi, dword [esp + 0x20]
jbe 0x491873
lea ecx, [ebx + edi]
mov eax, edi
test eax, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x491943
fadd qword [0x7235b8]
mov eax, dword [esp + 0x28]
fild dword [esp + 0x28]
test eax, eax
jge 0x491955
fadd qword [0x7235b8]
fdivp st(1)
mov edx, dword [edx + 0x24]
sub esp, 8
fstp qword [esp]
call edx
jmp 0x491873
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x491980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x40], 0
push esi
push edi
je 0x4919a6
cmp dword [ebx], 0xffffffff
je 0x4919a6
cmp dword [ebx + 4], 0
jle 0x4919a6
cmp dword [ebx + 8], 0
jg 0x4919b8
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
fldz
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call edx
mov ecx, dword [ebx + 8]
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x4919a6
mov eax, 0xcccccccd
mul ecx
shr edx, 3
push 0
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
call fcn.004d39b0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4919a6
cmp edi, dword [esp + 0x30]
jb 0x4919a6
cmp edi, dword [esp + 0x34]
ja 0x4919a6
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
je 0x491a2f
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
jmp 0x491a46
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x491afa
cmp edi, dword [esp + 0x30]
jb 0x491afa
cmp edi, dword [esp + 0x34]
ja 0x491afa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x32
jbe 0x491a87
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
jne 0x491a1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
lea ebx, [edi + eax*2]
cmp edi, ebx
mov esi, edi
jae 0x491aa0
push esi
call fcn.00494e50
add esi, 2
cmp esi, ebx
jb 0x491a93
mov eax, dword [esp + 0x18]
add edi, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jbe 0x491a40
mov ecx, dword [esp + 0x24]
add ecx, eax
test eax, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x491ad6
fadd qword [0x7235b8]
mov eax, dword [esp + 0x28]
fild dword [esp + 0x28]
test eax, eax
jge 0x491ae8
fadd qword [0x7235b8]
fdivp st(1)
mov edx, dword [edx + 0x24]
sub esp, 8
fstp qword [esp]
call edx
jmp 0x491a40
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x491b10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x40], 0
push esi
push edi
je 0x491b36
cmp dword [ebx], 0xffffffff
je 0x491b36
cmp dword [ebx + 4], 0
jle 0x491b36
cmp dword [ebx + 8], 0
jg 0x491b48
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
fldz
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call edx
mov ecx, dword [ebx + 8]
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x491b36
mov eax, 0xcccccccd
mul ecx
shr edx, 3
push 0
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
call fcn.004d39b0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x491b36
cmp edi, dword [esp + 0x30]
jb 0x491b36
cmp edi, dword [esp + 0x34]
ja 0x491b36
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
je 0x491bbf
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
jmp 0x491bd6
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x491c8a
cmp edi, dword [esp + 0x30]
jb 0x491c8a
cmp edi, dword [esp + 0x34]
ja 0x491c8a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x32
jbe 0x491c17
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
jne 0x491bad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
lea ebx, [edi + eax*2]
cmp edi, ebx
mov esi, edi
jae 0x491c30
push esi
call fcn.00494ee0
add esi, 2
cmp esi, ebx
jb 0x491c23
mov eax, dword [esp + 0x18]
add edi, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jbe 0x491bd0
mov ecx, dword [esp + 0x24]
add ecx, eax
test eax, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x491c66
fadd qword [0x7235b8]
mov eax, dword [esp + 0x28]
fild dword [esp + 0x28]
test eax, eax
jge 0x491c78
fadd qword [0x7235b8]
fdivp st(1)
mov edx, dword [edx + 0x24]
sub esp, 8
fstp qword [esp]
call edx
jmp 0x491bd0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x491ca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x40], 0
push esi
push edi
je 0x491cc6
cmp dword [ebx], 0xffffffff
je 0x491cc6
cmp dword [ebx + 4], 0
jle 0x491cc6
cmp dword [ebx + 8], 0
jg 0x491cd8
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
fldz
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call edx
mov ecx, dword [ebx + 8]
test ecx, ecx
mov dword [esp + 0x2c], ecx
je 0x491cc6
mov eax, 0xcccccccd
mul ecx
xor edi, edi
shr edx, 3
push edi
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edx
call fcn.004d39b0
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x491cc6
cmp ebx, dword [esp + 0x30]
jb 0x491cc6
cmp ebx, dword [esp + 0x34]
ja 0x491cc6
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
je 0x491d4c
mov eax, dword [ebp + 8]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
jmp 0x491d63
mov esi, dword [ebp + 0x10]
test ebx, ebx
je 0x491e23
cmp ebx, dword [esp + 0x30]
jb 0x491e23
cmp ebx, dword [esp + 0x34]
ja 0x491e23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
cmp eax, 0x32
jbe 0x491da4
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
jne 0x491d3a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
lea eax, [ebx + ecx*2]
cmp ebx, eax
mov esi, ebx
mov dword [esp + 0x24], eax
jae 0x491dcb
mov edi, esi
call fcn.00494f70
add esi, 2
cmp esi, dword [esp + 0x24]
jb 0x491db7
mov edi, dword [esp + 0x1c]
add ebx, dword [esp + 0x3c]
add edi, 1
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jbe 0x491d60
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
add edx, edi
mov dword [esp + 0x20], edx
mov edx, edi
test edx, edx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
jge 0x491dff
fadd qword [0x7235b8]
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test edx, edx
jge 0x491e11
fadd qword [0x7235b8]
fdivp st(1)
mov eax, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call eax
jmp 0x491d60
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x492050
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
sub esp, 8
push ebp
push edi
mov edi, eax
cmp byte [edi + 4], 0
je 0x4920b0
cmp dword [esi + 0x14], 0
je 0x4920b0
movzx ecx, word [esi + 6]
mov eax, dword [esi + 0x18]
movzx edx, word [esi + 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0048ee30
cmp byte [edi + 4], 0
mov ebp, dword [esi + 0x14]
mov dword [esp + 0xc], 0
je 0x4920ab
mov ecx, dword [esi + 0x10]
mov edx, dword [edi]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [edx + 0x10]
push ebp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 8], ebp
je 0x4920ab
mov byte [edi + 4], 0
call fcn.0048ef40
pop edi
pop ebp
add esp, 8
ret

Function at 0x492640
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov al, byte [ebp + 2]
mov dl, byte [ebp + 1]
push esi
movzx esi, byte [ebp]
movzx ebx, al
movzx eax, byte [ecx + 4]
push edi
imul eax, ebx
movzx edi, dl
movzx edx, byte [ecx + 7]
imul edx, edi
add eax, edx
movzx edx, byte [ecx + 0xa]
imul edx, esi
add eax, edx
sar eax, 8
cmp eax, 0xff
mov byte [esp + 0x14], 0xff
jg 0x492684
mov byte [esp + 0x14], al
movzx edx, byte [ecx + 5]
movzx eax, byte [ecx + 8]
imul edx, ebx
imul eax, edi
add edx, eax
movzx eax, byte [ecx + 0xb]
imul eax, esi
add edx, eax
sar edx, 8
cmp edx, 0xff
jle 0x4926ac
or al, 0xff
jmp 0x4926ae
mov al, dl
movzx edx, byte [ecx + 6]
imul edx, ebx
movzx ebx, byte [ecx + 9]
movzx ecx, byte [ecx + 0xc]
imul ebx, edi
imul ecx, esi
add edx, ebx
add edx, ecx
sar edx, 8
cmp edx, 0xff
jle 0x4926d5
or dl, 0xff
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
mov dl, byte [esp + 0x14]
pop edi
pop esi
mov byte [ecx + 1], al
mov byte [ecx + 2], dl
mov al, byte [ebp + 3]
pop ebp
mov byte [ecx + 3], al
pop ebx
ret 8

Function at 0x492700
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov al, byte [ebp]
mov dl, byte [ebp + 1]
push esi
movzx esi, byte [ebp + 2]
movzx ebx, al
movzx eax, byte [ecx + 4]
push edi
imul eax, ebx
movzx edi, dl
movzx edx, byte [ecx + 7]
imul edx, edi
add eax, edx
movzx edx, byte [ecx + 0xa]
imul edx, esi
add eax, edx
sar eax, 8
cmp eax, 0xff
mov byte [esp + 0x14], 0xff
jg 0x492744
mov byte [esp + 0x14], al
movzx edx, byte [ecx + 5]
movzx eax, byte [ecx + 8]
imul edx, ebx
imul eax, edi
add edx, eax
movzx eax, byte [ecx + 0xb]
imul eax, esi
add edx, eax
sar edx, 8
cmp edx, 0xff
jle 0x49276c
or al, 0xff
jmp 0x49276e
mov al, dl
movzx edx, byte [ecx + 6]
imul edx, ebx
movzx ebx, byte [ecx + 9]
movzx ecx, byte [ecx + 0xc]
imul ebx, edi
imul ecx, esi
add edx, ebx
add edx, ecx
sar edx, 8
cmp edx, 0xff
jle 0x492795
or dl, 0xff
mov ecx, dword [esp + 0x18]
mov byte [ecx + 2], dl
mov dl, byte [esp + 0x14]
pop edi
pop esi
mov byte [ecx + 1], al
mov byte [ecx], dl
mov al, byte [ebp + 3]
pop ebp
mov byte [ecx + 3], al
pop ebx
ret 8
Function at 0x496490
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3cc
call fcn.004af5a0
test al, al
je 0x4964f9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4964a4
sub eax, edx
cmp eax, 0x3ca
jb 0x4964f9
mov al, byte [esi]
xor ecx, ecx
test al, al
lea edx, [esi + 1]
je 0x4964d8
cmp ecx, 0x3c9
jae 0x4964d8
mov byte [esp + ecx], al
mov al, byte [edx]
add ecx, 1
add edx, 1
test al, al
jne 0x4964c1
push 1
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
mov byte [esp + ecx + 0x18], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x3cc
ret
push 1
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x3cc
ret

Function at 0x496520
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallDebut
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x496566
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.EstimatedSize
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x4965e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp]
push eax
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x49661e
jne 0x496615
cmp dword [esp + 8], 1
jne 0x496615
cmp word [esp + 0x94], 3
jae 0x49661e
xor eax, eax
add esp, 0x9c
ret
mov eax, 1
add esp, 0x9c
ret

Function at 0x496f40
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x496f76
or eax, 0xffffffff
mov edx, SysReAllocString
shrd eax, edx, 0xa
shr edx, 0xa
add esp, 0x18
ret 4
mov eax, dword [esp]
mov edx, dword [esp + 4]
shrd eax, edx, 0xa
shr edx, 0xa
add esp, 0x18
ret 4

Function at 0x497040
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
push edi
mov edi, eax
lea esi, [edi + 0x7f]
push ebx
shr esi, 7
call ebp
test eax, eax
jne 0x497086
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x49708f
cmp eax, 3
je 0x49708f
cmp edi, esi
jbe 0x49708f
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, esi
push ebx
add esi, esi
call ebp
test eax, eax
je 0x497060
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4

Function at 0x497180
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 4
lea edx, [esp + 0xc]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
ret 4