joyce8/EMBER2024-capa huggingface dataset:
Function at 0x81be00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x8318f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x81bed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.008187a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x81be61
mov edx, dword [eax]
jmp 0x81be63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0081a050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x81bebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x81bebf
cmp esi, edi
je 0x81bebf
mov ecx, esi
call fcn.00813a00
push esi
call fcn.008211c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00818990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x81bef5
mov eax, dword [eax]
jmp 0x81bef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00817640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x81bf25
mov eax, dword [eax]
jmp 0x81bf27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x81bf76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x81bf76
cmp esi, edi
je 0x81bf76
mov eax, dword [esi]
cmp eax, edi
je 0x81bf5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x81bf6d
push eax
call fcn.008211c8
add esp, 4
push esi
call fcn.008211c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x81bf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x81bffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x81c035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.0081be00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x81bfc5
mov edi, 0x8368b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x81c035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0081be00
add edi, 4
add esp, 0xc
cmp edi, 0x8368c0
jb 0x81c000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x81c070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00822082
mov esi, eax
add esp, 8
test esi, esi
je 0x81c107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x81c102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00821946
add esp, 8
test eax, eax
je 0x81c0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x81c0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00821946
add esp, 8
test eax, eax
jne 0x81c0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x81c102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x81cf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x8319fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x81d002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00820dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x81d002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.008186e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0082120b
push 0x10
call fcn.008211d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x81cfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0080d1c0
jmp 0x81cfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0081cb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x81cff0
mov ecx, edi
call fcn.0080d2c0
push edi
call fcn.008211c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x81d021
inc ebx
cmp ebx, 0x20
jb 0x81cf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x81e250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x832808
push 0x822288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x81e329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x81e329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.008211d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x81e329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x81e329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x81e32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0081e351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x81ed20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x81ed58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x81ed60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x81ed94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x81ed94
push eax
push esi
call fcn.0082120b
add esp, 8
pop esi
ret 0x10

Function at 0x81eda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x81ee22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x81ee15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x837320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00820dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x81edda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x81ee30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x81eec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x81eeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x837320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00820dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x81eeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x81ee6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x81f000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x81f131
push esi
call fcn.00822145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00811080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x81f131
push 0
push ebp
call fcn.008113a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00811260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x81f08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.008112f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x81f121
push 0x837918
push edi
call fcn.008203f0
push eax
push ebx
push esi
call fcn.0081ef60
push 0x8378f8
push edi
call fcn.008203f0
push eax
push ebx
push esi
call fcn.0081ef60
push 0x8378d8
push edi
call fcn.008203f0
push eax
push ebx
push esi
call fcn.0081ef60
push 0x8378c0
push edi
call fcn.008203f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0081ef60
push 0x8378a0
push edi
call fcn.008203f0
push eax
push ebx
push esi
call fcn.0081ef60
push 0x837888
push edi
call fcn.008203f0
push eax
push ebx
push esi
call fcn.0081ef60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8201b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00820140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00820140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00820140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00820140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x820bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x820c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x83287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x820c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x820c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1007cc6
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x1002130
call fcn.01009278
mov edi, 0x94
mov eax, edi
call fcn.01007f20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x1013170], ecx
mov eax, dword [esi + 4]
mov dword [0x101317c], eax
mov edx, dword [esi + 8]
mov dword [0x1013180], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1013174], esi
cmp ecx, 2
je 0x1007d26
or esi, 0x8000
mov dword [0x1013174], esi
shl eax, 8
add eax, edx
mov dword [0x1013178], eax
cmp word [0x1000000], 0x5a4d
jne 0x1007d62
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1007d62
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1007d7b
cmp ecx, 0x20b
je 0x1007d68
and dword [ebp - 0x1c], 0
jmp 0x1007d8f
cmp dword [eax + 0x84], 0xe
jbe 0x1007d62
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1007d89
cmp dword [eax + 0x74], 0xe
jbe 0x1007d62
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.0100921a
pop ecx
test eax, eax
jne 0x1007dbc
cmp dword [0x1013160], 1
jne 0x1007da9
call fcn.0100890e
push 0x1c
call fcn.01008721
push 0xff
call fcn.01008580
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.0100904a
test eax, eax
jge 0x1007dd1
push 0x1b
call fcn.01007c97
pop ecx
call fcn.01008f9a
mov dword [0x10147f0], eax
call fcn.01008dfb
mov dword [0x101315c], eax
call fcn.01008d5e
test eax, eax
jge 0x1007df6
push 8
call fcn.01007c97
pop ecx
call fcn.01008b1d
test eax, eax
jge 0x1007e07
push 9
call fcn.01007c97
pop ecx
call fcn.010085da
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1007e1a
push eax
call fcn.01007c97
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.01008ac4
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1007e3c
movzx eax, word [ebp - 0x40]
jmp 0x1007e3f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.010074d5
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1007e60
push esi
call fcn.010086ba
call fcn.010086f2
jmp 0x1007e92
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.010092b3
ret
Function at 0x401280
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
inc word [0x44a3b0]
fld dword [0x44a090]
movzx eax, word [0x44a3b0]
movsx edx, ax
add edx, 0x47a05de2
mov dword [ebp - 4], edx
fisub dword [ebp - 4]
fstp dword [0x44a090]
mov dword [ecx], 0
fld dword [0x44a1ac]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44a1ac]
fld dword [0x44a1ac]
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44a1b4], ax
mov dword [ecx + 4], 0
dec word [0x44a2e8]
mov dx, word [0x44a2e8]
movsx eax, dx
mov edx, 0xd850520d
sub edx, eax
movzx eax, word [0x44a0cc]
mov dword [ebp - 4], edx
movsx edx, ax
fild dword [ebp - 4]
sub edx, 0x538e8515
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsub dword [0x44a160]
fcompp
fnstsw ax
fld dword [0x44a160]
fadd st(1)
fstp dword [0x44a160]
test ah, 0x41
jp 0x40134d
mov ax, word [0x44a3e0]
mov edx, dword [0x44a134]
cwde
add eax, 0xbf5c22cf
imul edx, eax
mov dword [0x44a134], edx
mov dword [ecx + 8], 0x67452301
fld dword [0x44a4bc]
movzx eax, word [0x44a32c]
fsubr qword [0x444ee0]
movsx edx, ax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44a32c], ax
mov dword [ecx + 0xc], 0xefcdab89
fld dword [0x44a2b8]
fsub st(1)
fstp dword [0x44a2b8]
fadd dword [0x44a114]
fstp dword [0x44a114]
movzx edx, word [0x44a350]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fld dword [0x44a2b8]
fsub dword [0x44a114]
fadd dword [0x44a440]
fsubp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44a350], dx
mov dword [ecx + 0x10], 0x98badcfe
mov eax, dword [0x44a214]
mov edx, dword [0x44a0bc]
add eax, 0x96fde5a1
add edx, eax
mov dword [0x44a214], edx
mov dword [ecx + 0x14], 0x10325476
fld dword [0x44a290]
fsub qword [0x444ed8]
fsub qword [0x444ed0]
fstp qword [0x44a218]
mov esp, ebp
pop ebp
ret
Function at 0x40ff60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
fld qword [0x44a3b8]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x44a3b8]
mov eax, dword [0x44a0c4]
sub eax, 0x24164256
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld qword [0x44a3b8]
mov ecx, dword [0x44a098]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
mov ecx, 1
add dword [0x44a098], ecx
fsubp st(1)
fsub qword [0x444f18]
fcompp
fnstsw ax
test ah, 0x41
jp 0x40ffd0
mov edx, dword [0x44a404]
mov eax, 0x3fb799c9
sub eax, edx
mov dword [0x44a3f8], eax
add dword [0x44a404], ecx
jmp 0x40ffdc
fld dword [0x444f10]
fstp dword [0x44a114]
mov dword [ebp - 4], 0
add word [0x44a3e0], cx
fld dword [0x44a360]
mov cx, word [0x44a3e0]
mov edx, dword [0x44a134]
push esi
push edi
mov edi, dword [ebp + 0xc]
movsx eax, cx
mov esi, edi
imul esi, dword [ebp + 0x10]
lea eax, [edx + eax + 0x726c122c]
mov dword [ebp - 8], eax
fisub dword [ebp - 8]
fstp dword [0x44a360]
test esi, esi
jne 0x410036
add dword [0x44a2f4], 0xa4ace07e
fstp st(0)
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov cx, word [0x44a32c]
movsx edx, cx
mov ecx, dword [0x44a1a8]
mov eax, 0xeebdebb
sub eax, edx
add ecx, eax
cmp ecx, 0x66b36895
jg 0x41008d
fstp st(0)
fld qword [0x44a1e0]
mov dx, word [0x44a1fc]
fsubr qword [0x444f08]
movsx eax, dx
mov dword [ebp + 0xc], eax
fsub qword [0x444f00]
fild dword [ebp + 0xc]
fmulp st(1)
fistp qword [ebp - 0xc]
mov cx, word [ebp - 0xc]
mov word [0x44a1fc], cx
jmp 0x4100ab
fld dword [0x44a160]
fadd qword [0x44a3e8]
fstp qword [0x44a3e8]
fadd dword [0x44a160]
fstp dword [0x44a160]
mov ecx, dword [ebp + 0x14]
call fcn.0043c960
movzx edx, word [0x44a294]
imul edx, edx, 0x1f64959b
push 0
lea ecx, [ebp - 4]
push ecx
mov word [0x44a294], dx
mov edx, dword [ebp + 8]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
fld qword [0x44a3f0]
mov eax, dword [ebp - 4]
fsub qword [0x444ef8]
div edi
fstp qword [0x44a3f0]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ed00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44a0bc]
sub esp, 0x20
imul eax, eax, 0xb2dc2e79
push ebx
push edi
push 0
mov dword [0x44a0bc], eax
mov cx, word [0x44a458]
movzx edx, word [0x44a3e0]
push 0
push 3
movsx eax, cx
push 0
push 0
sub edx, eax
mov eax, dword [ebp + 8]
push 0
mov word [0x44a3e0], dx
push eax
call dword [0x44a7e8]
mov edi, eax
fld dword [0x44a258]
or ebx, 0xffffffff
fmul qword [0x444028]
fstp dword [0x44a258]
cmp edi, ebx
jne 0x41ed80
mov cx, word [0x44a008]
movsx eax, cx
add eax, 0xfc6eb2a2
add dword [0x44a1d0], eax
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
add dword [0x44a278], ebx
add dword [0x44a0f0], ebx
mov edx, dword [0x44a278]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsub qword [0x44a030]
mov eax, dword [0x44a0f0]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fadd dword [0x44a108]
fucompp
fnstsw ax
fld dword [0x44a108]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44a108]
test ah, 0x44
jnp 0x41edf6
fld dword [0x44a1b8]
fsub qword [0x444020]
fadd qword [0x444018]
fmul dword [0x44a170]
fstp dword [0x44a170]
fsubr dword [0x44a1b8]
fstp dword [0x44a1b8]
jmp 0x41edf8
fstp st(0)
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x41ee47
mov cx, word [0x44a494]
movsx edx, cx
mov eax, 0x15a22f0a
sub eax, edx
add dword [0x44a20c], eax
push edi
call dword [0x44a7e4]
pop edi
fld qword [0x44a0a8]
mov eax, ebx
fsub qword [0x444010]
pop ebx
fstp qword [0x44a0a8]
mov esp, ebp
pop ebp
ret
fld qword [0x44a4a0]
mov eax, dword [ebp - 0x10]
fsub qword [0x444008]
mov ecx, dword [ebp - 0xc]
push esi
add eax, 0x2ac18000
push 0
fstp qword [0x44a4a0]
fld qword [0x444000]
adc ecx, 0xfe624e21
push 0x989680
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
fstp qword [0x44a218]
push eax
call fcn.0043fbd0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ax, word [0x44a008]
movsx ecx, ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
push 0
fild dword [ebp - 4]
push edi
fstp qword [0x44a0d0]
inc word [0x44a008]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov ecx, dword [0x44a164]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fadd qword [0x44a0d8]
fsub qword [0x443ff8]
fstp qword [0x44a308]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
fld qword [0x443ff0]
mov dword [esi + 0x14], eax
fstp qword [0x44a460]
push edi
call dword [0x44a7e4]
fld dword [0x44a260]
fsub qword [0x443f10]
fstp dword [0x44a260]
fld dword [0x44a260]
fadd qword [0x44a2c0]
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [0x44a1c0], edx
cmp dword [esi + 0x14], ebx
pop esi
jne 0x41ef4b
fld qword [0x44a120]
pop edi
fld dword [0x44a3a4]
mov eax, ebx
fsub qword [0x443fe8]
pop ebx
fsubp st(1)
fstp qword [0x44a120]
mov esp, ebp
pop ebp
ret
mov ax, word [0x44a44c]
mov ecx, dword [0x44a278]
cwde
add eax, 0x3f9555c6
imul ecx, eax
mov dword [0x44a278], ecx
add word [0x44a44c], bx
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret