joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438710
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x620], eax
mov eax, dword [esp + 0x62c]
push edi
mov edi, dword [esp + 0x62c]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x48f8fc
push eax
call fcn.0046c2c8
add esp, 0x10
cmp eax, 2
je 0x438768
xor eax, eax
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0046be7b
add esp, 0x624
ret
lea eax, [esp + 0x41c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x438750
push esi
lea ecx, [esp + 0x420]
push ecx
push str._sTrueCrypt_Write_Protection_Removal.cmd
lea edx, [esp + 0x18]
push 0x208
push edx
call fcn.0046f340
lea eax, [esp + 0x430]
push eax
push str._sTrueCrypt_Write_Protection_Removal.diskpart
lea ecx, [esp + 0x230]
push 0x208
push ecx
call fcn.0046f340
lea edx, [esp + 0x30]
push 0x48fa9c
push edx
call fcn.0046cbeb
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4387f5
push edi
call fcn.00434ad0
add esp, 4
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0046be7b
add esp, 0x624
ret
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x21c]
push ecx
mov edx, ecx
push edx
push str._diskpart__s___s__n_pause_n_del___s____s_
push esi
call fcn.0046c8fc
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00435860
push esi
call fcn.0046c880
lea ecx, [esp + 0x238]
push 0x48fa9c
push ecx
call fcn.0046cbeb
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x438869
push edi
call fcn.00434ad0
add esp, 4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0046be7b
add esp, 0x624
ret
mov eax, dword [esp + 8]
push eax
push str.select_disk__d_nattributes_disk_clear_readonly_n
push esi
call fcn.0046c8fc
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x438893
push eax
push str.select_partition__d_nattributes_volume_clear_readonly_n
push esi
call fcn.0046c8fc
add esp, 0xc
push str.exit_n
push esi
call fcn.0046c8fc
lea ecx, [esp + 0x220]
push ecx
push esi
call fcn.00435860
push esi
call fcn.0046c880
add esp, 0x14
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4388cd
call fcn.004378f0
test eax, eax
mov eax, 0x490664
jne 0x4388d2
mov eax, 0x493b68
push 5
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x628]
pop esi
pop edi
xor ecx, esp
mov eax, 1
call fcn.0046be7b
add esp, 0x624
ret
Function at 0x439270
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x104], eax
call fcn.00437a30
test eax, eax
jne 0x4392a3
lea eax, [esp]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x4392c7
push 0x104
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp]
push 0x5c
push eax
call fcn.0046e4b0
add esp, 8
mov byte [eax + 1], 0
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046be7b
add esp, 0x108
ret
Function at 0x43aea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4008
call fcn.0046be90
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x4004], eax
cmp dword [0x4dceac], 0
push ebx
mov ebx, dword [esp + 0x4010]
mov dword [esp + 4], 0
mov eax, str.PASSWORD_OR_KEYFILE_WRONG
jne 0x43aedb
mov eax, str.PASSWORD_WRONG
push eax
call fcn.0044c960
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00404a70
add esp, 0xc
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x43af44
push str.PASSWORD_WRONG_CAPSLOCK_ON
call fcn.0044c960
add esp, 4
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43af10
push esi
push edi
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43af26
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
xor ecx, ecx
lea eax, [esp + 8]
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
mov word [ebx + 4], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43af60
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, ebx
call fcn.00403870
mov ecx, dword [esp + 0x4008]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0046be7b
add esp, 0x4008
ret

Function at 0x43bf00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48d1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x4b77c0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov esi, dword [esp + 0x164]
mov edi, dword [esp + 0x168]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
call fcn.00434150
test eax, eax
je 0x43bf7c
push str.GetSystemWow64DirectoryA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
lea ecx, [esp + 0x50]
push ecx
call eax
jmp 0x43bf8c
push 0x104
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x4c]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bfa3
sub eax, edx
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.0040c450
push 0x492e7c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x168], ebx
call fcn.004211b0
push edi
push eax
push esi
mov byte [esp + 0x174], 1
call fcn.004211b0
mov edi, 0x10
add esp, 0x18
cmp dword [esp + 0x48], edi
jb 0x43c001
mov eax, dword [esp + 0x34]
push eax
call fcn.0046b849
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], edi
jb 0x43c024
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046b849
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0046be7b
add esp, 0x150
ret
Function at 0x43cab0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 1
xor ebx, ebx
push 0x492df8
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.0040c450
mov eax, dword [esp + 0x6c]
push 0x492df8
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004211b0
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004211b0
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x43cb12
mov eax, dword [eax + 4]
jmp 0x43cb15
add eax, 4
mov ebp, dword [esp + 0x68]
push 1
push ebx
push eax
push str.isoburn.exe
push 0x493b68
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp dword [esp + 0x44], esi
jb 0x43cb43
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0046b849
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x60], esi
jb 0x43cb66
mov edx, dword [esp + 0x4c]
push edx
call fcn.0046b849
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x28], esi
jb 0x43cb89
mov eax, dword [esp + 0x14]
push eax
call fcn.0046b849
add esp, 4
cmp edi, 0x20
jg 0x43cba8
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebp
call fcn.00434ad0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
Function at 0x441270
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x860], eax
mov eax, dword [0x4dcf10]
push ebx
push esi
mov esi, dword [esp + 0x870]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x87c]
mov dword [esp + 0xc], ebx
test eax, eax
jne 0x4412b5
push 0x7f8a
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dcf10], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [0x4dcf10]
mov dword [0x4dcedc], eax
cmp dword [esp + 0x878], ebx
je 0x441301
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 3
call fcn.00440d60
push eax
lea edx, [esp + 0x18]
push str.os
push edx
call fcn.004210f0
add esp, 0x10
cmp dword [eax + 0x18], 0x10
jb 0x4412fc
mov eax, dword [eax + 4]
jmp 0x441306
add eax, 4
jmp 0x441306
mov eax, 0x48fa08
push esi
push edi
push eax
push str.http:__www.truecrypt.org_applink_version7.1a_s_sdest_s
lea eax, [esp + 0x58]
push 0x824
push eax
call fcn.0046bf68
add esp, 0x18
test bl, 2
je 0x441351
and ebx, 0xfffffffd
cmp dword [esp + 0x28], 0x10
jb 0x44133c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046b849
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
pop edi
pop esi
test bl, 1
pop ebx
je 0x44136d
cmp dword [esp + 0x38], 0x10
jb 0x44136d
mov edx, dword [esp + 0x24]
push edx
call fcn.0046b849
add esp, 4
push 1
push 0
push 0
lea eax, [esp + 0x48]
push eax
push 0x493b68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4dcf0c]
test eax, eax
jne 0x4413aa
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dcf0c], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x860]
xor ecx, esp
mov dword [0x4dcedc], 0
call fcn.0046be7b
add esp, 0x864
ret
Function at 0x4438e0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
push 0x4b96f8
push 0x493b68
push 0
call esi
cmp eax, 2
jne 0x443919
push 1
push 0
push 0
push 0x4dcd48
push 0x493b68
push 0
call esi
cmp eax, 2
je 0x44394f
cmp eax, 0x1f
jne 0x443963
cmp dword [0x4dce74], 0
jne 0x443963
mov eax, dword [0x4dce70]
push 0x24
push eax
push str.HELP_READER_ERROR
call fcn.0044c960
mov ecx, dword [0x4dce6c]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x443963
push 0x48fa08
push 1
push str.help
call fcn.00441270
add esp, 0xc
pop esi
ret
Function at 0x447a40
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov eax, dword [0x4dffcc]
sub esp, 0x24
test eax, eax
je 0x447a55
mov eax, 1
add esp, 0x24
ret
push ebp
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov ebp, eax
cmp eax, ecx
jbe 0x447a73
sub eax, ecx
mov ebp, eax
cmp ebp, 2
jae 0x447a82
mov eax, 1
pop ebp
add esp, 0x24
ret
cmp ebp, 0x40
jbe 0x447a8c
mov ebp, 0x40
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
mov dword [0x4dffd0], ebx
push ebx
mov dword [0x4ddeb8], ebx
push ebx
mov dword [0x4dffc8], ebx
call edi
mov dword [0x4ddeb0], eax
cmp eax, ebx
je 0x447ac6
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [0x4dffc0], eax
cmp eax, ebx
jne 0x447acf
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x24
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebx
push ebx
push ebx
call esi
mov dword [0x4ddebc], eax
cmp eax, ebx
je 0x447b8a
push ebx
push ebx
push ebx
call esi
mov dword [0x4dffc4], eax
cmp eax, ebx
je 0x447b8a
push 0x2000
push ebx
push 0x4ddec0
call fcn.0046bf90
add esp, 0xc
xor esi, esi
nop
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x4ddec0], ebx
call edi
mov dword [esi + 0x4ddec8], eax
cmp eax, ebx
je 0x447b85
add esi, 0x40
cmp esi, 0x2000
jb 0x447b10
mov dword [0x4ddeb4], ebx
cmp ebp, ebx
jbe 0x447b6e
jmp 0x447b40
push ebx
push ebx
push ebx
push 0x4473f0
push ebx
push ebx
call fcn.004705a7
mov ecx, dword [0x4ddeb4]
add esp, 0x18
mov dword [ecx*4 + 0x4dfec0], eax
cmp eax, ebx
je 0x447b85
inc ecx
mov dword [0x4ddeb4], ecx
cmp ecx, ebp
jb 0x447b40
pop esi
pop edi
pop ebx
mov dword [0x4dffcc], 1
mov eax, 1
pop ebp
add esp, 0x24
ret
call fcn.00447640
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x24
ret

Function at 0x447c90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
shr edx, 2
test edx, edx
je 0x447cc9
mov ecx, dword [esp + 4]
push esi
push edi
mov eax, dword [ecx]
mov esi, eax
shr esi, 8
mov edi, eax
shl edi, 8
xor esi, edi
and esi, 0xff00ff
shl eax, 8
xor esi, eax
dec edx
rol esi, 0x10
mov dword [ecx], esi
add ecx, 4
test edx, edx
jne 0x447ca1
pop edi
pop esi
ret
Function at 0x448ae0
Capabilities:
Create thread

Disassembly:
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
xor edi, edi
push edi
push 1
push edi
push edi
mov dword [0x4dffe4], edi
mov dword [0x4dffd4], edi
mov dword [0x4dffdc], edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [0x4dffe4], eax
cmp eax, edi
je 0x448b64
push edi
push edi
push edi
push edi
call esi
mov dword [0x4dffd4], eax
cmp eax, edi
je 0x448b64
mov eax, dword [0x4b57b0]
push eax
call fcn.0046bdb1
add esp, 4
mov dword [0x4dffdc], eax
cmp eax, edi
jne 0x448b3f
push 0xe
call ebp
jmp 0x448b64
push edi
push edi
mov dword [0x4dffd8], edi
push 0x448a10
mov dword [0x4dffe8], edi
call fcn.0046d420
add esp, 0xc
mov dword [0x4dffe0], eax
cmp eax, 0xffffffff
jne 0x448ba7
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov eax, dword [0x4dffe4]
cmp eax, edi
je 0x448b7f
push eax
call esi
mov eax, dword [0x4dffd4]
cmp eax, edi
je 0x448b8b
push eax
call esi
mov eax, dword [0x4dffdc]
cmp eax, edi
je 0x448b9d
push eax
call fcn.0046bcd4
add esp, 4
push ebx
call ebp
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret
pop edi
pop esi
mov dword [0x4dfff4], 1
mov eax, 1
pop ebp
ret

Function at 0x448c30
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, dword [edi]
test esi, esi
je 0x448d48
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x4dfff8]
push ebx
push ecx
push edx
push 0
push eax
call fcn.0046bca0
mov ecx, eax
mov ebx, edx
mov eax, esi
cdq
push 0
sub ecx, eax
push 0x200
sbb ebx, edx
push ebx
push ecx
call fcn.0046bbf0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
push edx
mov eax, esi
mov esi, dword [esp + 0x20]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
push eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0042c1b0
mov ecx, dword [0x4dfff4]
add esp, 0x10
pop ebx
test ecx, ecx
je 0x448d28
mov edx, dword [0x4dffe4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x448ce5
mov eax, dword [0x4dffe8]
test eax, eax
je 0x448ced
mov ecx, dword [0x4dffe4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x4dffe8]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [edi]
mov ecx, dword [0x4dffdc]
push eax
push esi
push ecx
call fcn.0046dd00
mov edx, dword [esp + 0x20]
mov ecx, dword [0x4dffd4]
mov eax, dword [edi]
add esp, 0xc
mov dword [0x4dfff0], edx
push ecx
mov dword [0x4dffec], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x448d42
pop edi
pop esi
add esp, 8
ret
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x448ce5
mov dword [edi], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x448d60
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [0x4dfff8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
add dword [esi], 1
push edi
mov edi, dword [esp + 0x20]
adc dword [esi + 4], 0
mov ecx, dword [edi]
push ebx
push eax
add ecx, ebp
push ecx
call fcn.0046dd00
add dword [edi], ebx
mov eax, dword [edi]
add esp, 0xc
cmp eax, dword [0x4b57b0]
jne 0x448dbc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push edx
push esi
push edi
push ebp
push eax
call fcn.00448c30
add esp, 0x14
test eax, eax
jne 0x448dbc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x4dfffc]
cmp eax, 0x19
jbe 0x448df8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [0x4dfff8]
push ecx
push edx
push 0
push eax
call fcn.0046bca0
push edx
push eax
call fcn.0044f660
add esp, 8
test eax, eax
jne 0x448db5
call edi
mov dword [0x4dfffc], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x44a260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 0x1000
push 0
push esi
call fcn.0046bf90
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x44a31c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi + 0x180], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x184], edx
mov edi, 4
lea eax, [edi + 0x10]
shl eax, 4
lea ecx, [eax + esi]
lea eax, [edi + 8]
shl eax, 5
mov edx, dword [eax + esi]
mov dword [ecx], edx
mov eax, dword [eax + esi + 4]
push ecx
mov dword [ecx + 4], eax
call fcn.00449fa0
sar edi, 1
add esp, 4
test edi, edi
jg 0x44a2a3
mov ecx, dword [esi + 0x110]
mov edx, dword [esi + 0x114]
lea eax, [esi + 0x80]
push eax
mov dword [eax], ecx
mov dword [eax + 4], edx
call fcn.00449fa0
add esp, 4
mov edi, 4
mov eax, edi
shl eax, 4
lea ecx, [eax + esi]
mov eax, edi
shl eax, 5
mov edx, dword [eax + esi]
mov dword [ecx], edx
mov eax, dword [eax + esi + 4]
push ecx
mov dword [ecx + 4], eax
call fcn.00449fa0
sar edi, 1
add esp, 4
test edi, edi
jg 0x44a2f2
jmp 0x44a38b
cmp ebp, 1
jle 0x44a38b
lea ecx, [ebp - 2]
shl ecx, 4
mov eax, ebp
shl eax, 4
mov edi, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x44a348
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add ecx, edi
shl ecx, 4
mov edx, dword [ecx + esi]
mov ecx, dword [ecx + esi + 4]
add eax, edi
shl eax, 4
add eax, esi
mov dword [eax + 4], ecx
mov ebx, ecx
mov ebp, edx
shl ecx, 8
shr ebp, 0x18
or ebp, ecx
mov dword [eax], edx
shr ebx, 0x18
mov dword [eax + 4], ebp
movzx ecx, word [ebx*2 + 0x496640]
shl edx, 8
xor ecx, edx
sar edi, 1
mov dword [eax], ecx
test edi, edi
jg 0x44a340
mov ebp, dword [esp + 0x14]
mov edx, ebp
shl edx, 8
mov ebx, ebp
lea eax, [edx + esi + 0x10]
shl ebx, 4
mov edi, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
lea ecx, [ebx + edi]
shl ecx, 4
cmp edi, 1
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 0x10]
jle 0x44a402
lea ebx, [edi - 1]
mov edi, edi
mov ebp, dword [ecx]
xor ebp, dword [edx]
add ecx, 4
mov dword [eax], ebp
mov ebp, dword [ecx]
xor ebp, dword [edx + 4]
add eax, 4
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
xor ebp, dword [edx + 8]
add ecx, 4
add eax, 4
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
xor ebp, dword [edx + 0xc]
add ecx, 4
add eax, 4
mov dword [eax], ebp
add eax, 4
add ecx, 4
sub ebx, 1
jne 0x44a3c0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
add edi, edi
cmp edi, 0x10
jl 0x44a3a6
inc ebp
cmp ebp, 0x10
mov dword [esp + 0x14], ebp
jl 0x44a281
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x44b0c0
Capabilities:
Hash data with crc32
Read file on windows
Timestomp file

Disassembly:
mov eax, 0x10038
call fcn.0046be90
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x10034], eax
mov eax, dword [esp + 0x1003c]
push ebx
push ebp
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push eax
mov dword [esp + 0x3c], eax
or ebx, 0xffffffff
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
mov dword [esp + 0x24], ebp
cmp ebp, 0xffffffff
je 0x44b13b
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x44b13b
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
push 0x496c40
push eax
mov dword [esp + 0x20], ebp
call fcn.0046cbeb
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44b17c
lea eax, [esp + 0x18]
call fcn.0044afe0
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10034]
xor ecx, esp
call fcn.0046be7b
add esp, 0x10038
ret
push eax
push 0x10000
lea ecx, [esp + 0x48]
push 1
push ecx
call fcn.00470975
mov ebp, eax
add esp, 0x10
test ebp, ebp
jbe 0x44b236
jmp 0x44b1a0
mov edx, dword [esp + 0x10]
push edx
call fcn.0046f168
add esp, 4
test eax, eax
jne 0x44b247
xor ecx, ecx
test ebp, ebp
jbe 0x44b213
mov eax, ebx
shr eax, 8
movzx edx, byte [esp + ecx + 0x40]
xor edx, ebx
and edx, 0xff
mov ebx, dword [edx*4 + 0x4b4958]
xor ebx, eax
mov eax, ebx
shr eax, 0x18
add byte [edi + esi], al
inc esi
mov edx, ebx
shr edx, 0x10
add byte [edi + esi], dl
inc esi
mov eax, ebx
shr eax, 8
add byte [edi + esi], al
add byte [edi + esi + 1], bl
inc esi
inc esi
cmp esi, 0x40
jl 0x44b1fd
xor esi, esi
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
cmp edx, 0x100000
jae 0x44b268
inc ecx
cmp ecx, ebp
jb 0x44b1c0
mov eax, dword [esp + 0x10]
push eax
push 0x10000
lea ecx, [esp + 0x48]
push 1
push ecx
call fcn.00470975
mov ebp, eax
add esp, 0x10
test ebp, ebp
ja 0x44b1a0
mov edx, dword [esp + 0x10]
push edx
call fcn.0046f168
add esp, 4
test eax, eax
je 0x44b251
mov dword [esp + 0xc], 0
jmp 0x44b268
cmp dword [esp + 0x14], 0
jne 0x44b268
push 0x26
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0046c880
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x44b2af
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004347d0
add esp, 4
test eax, eax
jne 0x44b2af
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
call fcn.0044afe0
mov ecx, dword [esp + 0x10040]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046be7b
add esp, 0x10038
ret