joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034fc
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x418894]
sub esi, dword [0x40c800]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x42630c], eax
jle 0x403664
push dword [0x4208a4]
call fcn.004036ad
push ebx
push ebx
push dword [0x40c800]
push dword [0x40a670]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x4208a0], esi
mov dword [0x418890], ebx
mov ebp, 0x40c890
mov eax, dword [0x418898]
mov edi, 0x4000
sub eax, dword [0x4208a4]
cmp eax, edi
jg 0x403571
mov edi, eax
mov esi, 0x414890
push edi
push esi
call fcn.0040367b
test eax, eax
je 0x40364c
add dword [0x4208a4], edi
mov dword [0x40c820], esi
mov dword [0x40c824], edi
cmp dword [0x426310], ebx
je 0x4035c8
cmp dword [0x4263a0], ebx
jne 0x4035c8
mov eax, dword [0x4208a0]
push ebx
sub eax, dword [0x418894]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40c800]
mov dword [0x418890], eax
call fcn.0040308c
pop ecx
mov ecx, 0x40c808
mov dword [0x40c828], ebp
mov dword [0x40c82c], 0x8000
call fcn.004067f4
test eax, eax
jl 0x403676
mov esi, dword [0x40c828]
sub esi, ebp
je 0x403626
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40a670]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403651
cmp esi, dword [esp + 0x10]
jne 0x403651
add dword [0x40c800], esi
cmp dword [0x40c824], ebx
jne 0x403597
jmp 0x403632
cmp dword [0x40c824], ebx
jne 0x403676
cmp edi, ebx
je 0x403676
mov eax, dword [0x418894]
mov ecx, eax
sub ecx, dword [0x40c800]
add ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x403655
jmp 0x40355b
or eax, 0xffffffff
jmp 0x40366e
push 0xfffffffffffffffe
jmp 0x403678
push ebx
push ebx
push eax
push dword [0x40a670]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.0040308c
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0xfffffffffffffffd
pop eax
jmp 0x40366e
Function at 0x4059c7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x423ce8], 0x44
push eax
xor eax, eax
push 0x423ce8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405a02
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x405db9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4230e8
push esi
call fcn.004061ed
push esi
call fcn.00405d6a
mov edi, eax
test edi, edi
jne 0x405dda
xor eax, eax
jmp 0x405e2c
push edi
call fcn.00406479
test byte [0x426318], 0x80
je 0x405df3
mov al, byte [edi]
test al, al
je 0x405dd6
cmp al, 0x5c
je 0x405dd6
sub edi, esi
push esi
call fcn.00406203
cmp eax, edi
push esi
jle 0x405e16
call fcn.004066bf
test eax, eax
je 0x405e0e
test byte [eax], 0x10
je 0x405dd6
push esi
call fcn.00405d1d
jmp 0x405df5
call fcn.00405cd6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ea3
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405ebf
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405ec2
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405ef1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x63
pop edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405f36
mov eax, edi
dec edi
test eax, eax
jne 0x405efc
and byte [esi], al
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405f30
Function at 0x405f3a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.004066e6
test eax, eax
mov esi, dword [esp + 0x18]
je 0x405f5e
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x406097
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x423e70], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x423e70
je 0x405fa2
push 1
push 0
push esi
call fcn.00405ec2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40609d
cmp eax, edi
jg 0x40609d
mov esi, 0x4238e8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40609d
cmp eax, edi
jg 0x40609d
push esi
push ebp
push str._s_s_r_n
push 0x4234e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x426310]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406221
push 4
push 0xc0000000
push esi
call fcn.00405ec2
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x406097
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406090
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406090
cmp edi, dword [esp + 0x18]
jne 0x406090
push str._Rename__r_n
push esi
call fcn.00405e31
test eax, eax
jne 0x4060a4
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.004061ed
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x4234e8
push eax
call fcn.00405e7d
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x426390]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x40aaf0
push eax
call fcn.00405e31
test eax, eax
je 0x40605b
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x4060cb
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4060c0
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40605d
Function at 0x4060d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406144
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406133
cmp dword [ebp + 0x14], 1
je 0x406135
cmp dword [ebp + 0x14], 2
je 0x406135
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x406512
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406537
mov eax, dword [0x40a8c0]
cmp eax, 0xffffffff
je 0x40652e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8c0], 0xffffffff
jmp 0x4065aa
cmp dword [0x424a80], ebx
je 0x4065aa
cmp byte [0x424680], bl
je 0x406576
cmp dword [0x40a8c0], 0xffffffff
jne 0x40657f
push 4
push 0x40000000
push 0x424680
call fcn.00405ec2
cmp eax, 0xffffffff
mov dword [0x40a8c0], eax
je 0x4065aa
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8c0], 0xffffffff
je 0x4065aa
push esi
mov esi, 0x4252a0
push 0x40ab08
push esi
call fcn.00406210
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00406203
push eax
push esi
push dword [0x40a8c0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x424274], esi
push edi
jne 0x406796
mov ecx, 0x424270
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406772
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x424670
jl 0x40676d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4067cb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x424270]
xor eax, esi
inc ecx
dec edx
jne 0x4067ae
pop edi
pop esi
not eax
ret 0xc
Function at 0x4045d2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x497a26
call fcn.00497330
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x14]
mov dword [edi + 8], eax
lea ecx, [edi + 0x14]
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], 0x4b3420
mov dword [edi + 4], ebx
mov dword [edi + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404378
mov dword [ebp - 4], ebx
lea esi, [edi + 0x40]
mov dword [edi + 0x2c], 0x60
mov dword [edi + 0x38], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x34], ebx
mov dword [ebp + 0x14], esi
and dword [esi], ebx
push 0x28
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00403d08
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00405528
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x60], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x405db9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x497ad1
call fcn.00497330
sub esp, 0x60
xor eax, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx], 0x4b34f8
mov word [ebx + 4], 0x100
mov byte [ebx + 6], al
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], 7
mov word [ebx + 0x44], ax
mov dword [ebp - 4], 1
mov esi, dword [0x49e3fc]
push 8
call esi
push 0xb
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], 0xffffff
call esi
push 0x1a
mov dword [ebx + 0xc], eax
call esi
push 0xf
mov dword [ebx + 0x14], eax
call esi
mov dword [ebx + 0x18], eax
lea edi, [ebx + 0x34]
xor eax, eax
lea ecx, [ebp - 0x6c]
stosd dword es:[edi], eax
push 5
push 0
push 0
stosd dword es:[edi], eax
push 0xa
pop edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040c06a
add esp, 0xc
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
call fcn.00405ec9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41b68b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x4992a2
call fcn.00497330
mov eax, 0x1398
call fcn.00470b60
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], esi
xor eax, eax
inc ebx
push edi
mov dword [esi], eax
mov byte [esi + 4], bl
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
push ecx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0041ba22
mov byte [ebp - 4], 2
call fcn.0046e949
or dword [ebp - 0x20], 0xffffffff
mov ecx, eax
mov dword [ebp - 0x13a0], ecx
mov edx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [ebp + ebx*4 - 0x13a0], ecx
inc ebx
cmp ebx, edx
jb 0x41b6e8
push dword [esi + 0x24]
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x13a4]
push dword [esi + 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x13a4], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
call fcn.0041bac8
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41bba1
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x41bbe9
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41bbb1
jmp 0x41bbf6
cmp dword [esi], 0x4e0
jb 0x41bbf6
call fcn.0041bc30
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret
Function at 0x41bc30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x41bc42
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x41bc87
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret

Function at 0x422247
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x318]
mov dword [esi], 0x4b7e6c
mov ecx, ebx
mov dword [esi + 4], 0x4b7e60
mov dword [esi + 8], 0x4b7e54
mov byte [esi + 0x738], 1
call fcn.004129b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [esi + 0x400]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add esi, 0x440
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0042286b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + 0x720]
call fcn.004045a0
mov ecx, esi
call fcn.00411f18
mov ecx, edi
call fcn.00413eac
mov ecx, ebx
call fcn.0041293f
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x170]
call fcn.004221b1
lea esi, [ebx + 0x138]
lea ecx, [esi + 8]
call fcn.0040e4ba
mov ecx, esi
call fcn.00423d28
lea ecx, [ebx + 0x38]
call fcn.004327cb
lea ecx, [ebx + 0x30]
call fcn.0040c4e7
lea ecx, [ebx + 0x14]
call fcn.004045a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x452510
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0x70d], 0
je 0x452596
cmp dword [edi + 0x1b0], 0
je 0x45255d
push esi
push 1
push edi
call fcn.004457a0
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.004457a0
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x452596
push dword [edi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x4a12b8
push 2
push eax
call fcn.0047dd05
push dword [edi + 0x148]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0047dd05
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x45a7e0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x45a7fc
cmp dword [esi + 0x78], 0
je 0x45a7fc
push 2
push 3
push esi
call fcn.00455bd0
add esp, 0xc
push dword [esp + 0xc]
call fcn.0045a2f0
add esp, 4
test esi, esi
je 0x45a81d
cmp dword [esi + 0x78], 0
je 0x45a81d
push 3
push esi
call fcn.00455c10
add esp, 8
pop esi
ret
Function at 0x48c092
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048bd43

Function at 0x48c09d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048becd
Function at 0x401140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406e], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.timecraft
push str.named
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401188
xor eax, eax
jmp 0x4011a3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46e930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5a000]
push edi
jmp 0x46e94a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46e951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e940
mov eax, 1
add ebx, ebx
jne 0x46e963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46e974
jne 0x46e993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e993
dec eax
add ebx, ebx
jne 0x46e980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46e958
add ebx, ebx
jne 0x46e98f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46e9e5
xor ecx, ecx
sub eax, 3
jb 0x46e9ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46ea1a
sar eax, 1
mov ebp, eax
jmp 0x46e9b6
add ebx, ebx
jne 0x46e9b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e984
inc ecx
add ebx, ebx
jne 0x46e9c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46e984
add ebx, ebx
jne 0x46e9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46e9c6
jne 0x46e9e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46e9c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46ea04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46e9f6
jmp 0x46e946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46ea04
add edi, ecx
jmp 0x46e946
pop esi
mov edi, esi
mov ecx, 0x213a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46ea22
cmp byte [edi], 6
jne 0x46ea22
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 0x46ea27
lea edi, [esi + 0x6b000]
mov eax, dword [edi]
or eax, eax
je 0x46ea9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46ea54
mov ecx, edi
jns 0x46ea83
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 + 0x6e11c]
or eax, eax
je 0x46ea99
mov dword [ebx], eax
add ebx, 4
jmp 0x46ea71
call dword [esi + 0x6e12c]
mov ebp, dword [esi + 0x6e120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x46ead3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x40216d
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
push edi
push dword [0x40378f]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40219c
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401512], eax
ret