joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430d50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f251d
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x150], 0
push 1
mov dword [ebp - 0x14], 0
call fcn.004e9692
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x144]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x430de9
cmp dword [ebp - 0x144], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
call fcn.004b9a40
mov dword [ebp - 0x154], eax
cmp eax, 0xffffffff
jne 0x430e22
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x150], 1
jmp 0x430f19
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004ba690
test al, al
mov eax, dword [ebp - 0x14c]
je 0x430ec5
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.004ba750
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x430eb0
mov ecx, eax
call fcn.0040b220
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x1c], xmm0
mov word [edi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call fcn.0040b220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x430ed0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x150], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b9900
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
ret
Function at 0x433de0
Capabilities:
Delete directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2ca8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x38], 0
je 0x433f4d
lea esi, [ecx + 0x28]
mov ecx, esi
call fcn.004a8790
test al, al
je 0x433f4d
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x44]
call fcn.004e7920
cmp dword [esi + 0x10], 0
je 0x433f3a
push 0xffffffffffffffff
push 0x50a0e8
mov ecx, esi
call fcn.0040a4c0
cmp eax, 0xffffffff
je 0x433f3a
inc eax
lea ecx, [ebp - 0x5c]
push 0xffffffffffffffff
push eax
mov edx, esi
call fcn.004a7c00
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov edx, str.2345hotfix
cmovae ecx, dword [ebp - 0x5c]
call fcn.004a7740
test al, al
je 0x433f2e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x433edf
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x433f2e
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.004cd7c0
test al, al
je 0x433f22
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040b220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004e6f00
mov al, 1
jmp 0x433f4f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x43c1a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4248
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x53b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
jne 0x43c290
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push str.wintrust.dll
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.0040b290
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.004bcdd0
mov ecx, eax
call fcn.004bce90
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040b220
test ebx, ebx
jne 0x43c249
mov dword [edi + 0x18], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43eca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f47d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x43ede9
cmp byte [eax + 0x54], 0
je 0x43ede9
add eax, 0x1c
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.00435950
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x43ed0a
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43edbd
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.004af070
add esp, 4
mov byte [ebp - 4], 1
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
push 0
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x43edab
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43eda1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43eda1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004e96c2
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x43ede2
cmp byte [ebp - 0x18], 0
je 0x43ede2
mov eax, dword [esi]
test eax, eax
je 0x43edde
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
ret 4
Function at 0x440760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x440801
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xc], xmm0
call fcn.004bd860
test al, al
je 0x440801
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x4407a0
cmp esi, 0x20
jb 0x440801
cmp esi, 0x20
jne 0x4407b6
test eax, eax
jne 0x4407b6
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 4]
add esi, 0xffffffe0
test ecx, ecx
je 0x4407d7
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x20
movlpd qword [ebp - 0xc], xmm0
call fcn.004bd8e0
push 0x53ca28
push esi
call fcn.004e9cf6
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x440801
push esi
push ebx
mov ecx, edi
call fcn.004416a0
test al, al
jne 0x44080c
push ebx
call fcn.004e9cc5
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
test esi, esi
je 0x440837
mov edi, ebx
or eax, 0xffffffff
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
mov edx, eax
movzx ecx, cl
shr edx, 8
mov eax, dword [ecx*4 + 0x513650]
xor eax, edx
sub esi, 1
jne 0x440817
not eax
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ecx], eax
call fcn.004e9cc5
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4450f0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5567
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ecx + 8]
push 4
mov dword [ebp - 0x58], 0
call fcn.004e9692
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.004b9730
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004bdcf0
test al, al
jne 0x44517b
mov byte [ebp - 0x51], al
jmp 0x44518b
mov edx, dword [ebp - 0x30]
mov ecx, edi
and edx, 0xfffffffe
call fcn.004ccc60
mov byte [ebp - 0x51], al
mov esi, dword [ebp - 0x58]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x4451a6
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4451a6
mov dword [esi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4451d1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4451d1
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004e96c2
add esp, 8
mov dword [ebp - 0x58], 0
cmp byte [ebp - 0x51], 0
je 0x44523a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4451f3
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x445211
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44520e
mov eax, dword [edi]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x445219
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x445223
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x44523e
cmp dword [ebx + 0x14], 8
jb 0x445237
mov ebx, dword [ebx]
push ebx
call esi
xor al, al
jmp 0x445240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
ret 4
Function at 0x456c10
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f80e7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004e9692
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00458c80
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00458c80
mov dword [esi], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.0040ed70
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45f4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x4f95c6
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
mov edi, dword [esi]
test edi, edi
jne 0x45f533
xor al, al
jmp 0x45f6e8
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0045f710
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
je 0x45f6ab
cmp dword [ebp - 0x34], 0
je 0x45f6ab
cmp dword [ebp - 0x2c], 0
jne 0x45f67d
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x45f619
lea eax, [ebp]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp + 0x24], xmm0
call fcn.00458860
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x45f5fd
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
push 0
cmovae eax, dword [ebp]
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45f5fd
test edi, edi
je 0x45f5fd
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push 8
lea eax, [ebp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45f5f6
xorps xmm0, xmm0
movlpd qword [ebp + 0x24], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x28]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040b220
mov dword [esi + 8], edi
mov edx, edi
mov dword [esi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x45f6a4
lea ecx, [ebp + 0x1c]
call fcn.004b2220
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
cmp edx, esi
ja 0x45f63f
jb 0x45f6a4
cmp eax, ecx
jb 0x45f6a4
push esi
push ecx
push edx
push eax
call fcn.0045f9b0
test al, al
je 0x45f6ab
lea ecx, [ebp + 0x1c]
call fcn.004b2420
test eax, eax
js 0x45f6a4
lea ecx, [ebp + 0x1c]
call fcn.004b2420
cmp eax, 3
jg 0x45f6a4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x45f6ab
mov bl, dl
jmp 0x45f6ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45f6a8
cmp ecx, eax
jbe 0x45f6a8
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x2c]
jb 0x45f6ab
mov bl, 1
jmp 0x45f6ad
mov dword [esi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b220
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040b220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.0040b220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040b220
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.004e9681
lea esp, [ebp + 0x30]
pop ebp
ret 4
Function at 0x45f7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9648
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x45f898
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.00458860
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x45f889
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45f889
test esi, esi
je 0x45f889
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040b220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
ret 4
Function at 0x467310
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa323
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00458c80
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b4a0
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b410
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b4a0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428f50
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b380
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b380
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.0046b380
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea eax, [edi + 0x40]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0x19
xor eax, eax
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4674b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa433
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.0040b220
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
call fcn.0040b220
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0046ae30
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.0046ae30
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0046af30
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x12
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00428fd0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x16
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.004386f0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.0046b020
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.004e96c2
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1b
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.004386f0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.004e96c2
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1d
mov ecx, ebx
call fcn.00458a40
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.004e96c2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret