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

Disassembly:
sub esp, 0x128
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push str.IsWow64Process
xor ebx, ebx
push str.kernel32
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x44d5e8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push edi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, 1
cmp eax, edx
jne 0x44d6c4
cmp edi, 4
jne 0x44d6c4
cmp ecx, ebx
jne 0x44d6c4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp eax, edx
jne 0x44d6e6
cmp edi, 4
jne 0x44d6e6
cmp ecx, 0x5a
jne 0x44d6e6
mov dword [esp + 0x18], edx
xor ebp, ebp
cmp eax, 2
jne 0x44d666
cmp edi, 4
jne 0x44d707
cmp ecx, ebx
jne 0x44d707
mov ebx, edx
xor esi, esi
cmp eax, 2
jne 0x44d67a
cmp edi, 5
jne 0x44d67a
cmp ecx, edx
je 0x44d728
xor edx, edx
cmp eax, 2
jne 0x44d728
cmp edi, 5
jne 0x44d728
cmp ecx, eax
jne 0x44d728
lea ecx, [edx + 1]
xor eax, eax
cmp dword [esp + 0x14], 0
pop edi
je 0x44d744
pop esi
pop ebp
mov eax, 0xb
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
mov dword [esp + 0x1c], ebx
cmp eax, edx
jne 0x44d62a
cmp edi, 4
jne 0x44d62a
cmp ecx, 0xa
jne 0x44d62a
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
cmp eax, 2
jne 0x44d64c
cmp edi, 3
jne 0x44d64c
cmp ecx, 0x33
jne 0x44d64c
mov ebp, edx
cmp eax, 2
jne 0x44d666
cmp edi, 5
jne 0x44d666
test ecx, ecx
jne 0x44d666
mov esi, edx
jmp 0x44d67a
xor ecx, ecx
cmp eax, 2
jne 0x44d699
cmp edi, 6
jne 0x44d699
lea eax, [ecx + 1]
jmp 0x44d69b
cmp dword [esp + 0x18], 0
je 0x44d768
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
cmp dword [esp + 0xc], 0
je 0x44d78c
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
cmp dword [esp + 0x14], 0
je 0x44d7b0
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
test ebp, ebp
je 0x44d7d1
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
test ebx, ebx
je 0x44d7f2
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
test esi, esi
je 0x44d813
pop esi
pop ebp
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
test edx, edx
je 0x44d834
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
test ecx, ecx
je 0x44d855
pop esi
pop ebp
mov eax, 8
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00471f66
add esp, 0x128
ret
mov ecx, dword [esp + 0x130]
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 3
pop ebx
xor ecx, esp
add eax, 7
call fcn.00471f66
add esp, 0x128
ret
Function at 0x44e790
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47998b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov esi, dword [esp + 0x438]
mov edi, dword [esp + 0x43c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x226]
push ecx
mov word [esp + 0x228], ax
call sub.MSVCR90.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call sub.MSVCR90.dll_memset
add esp, 0x18
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x430], 0
test esi, esi
je 0x44e8ff
test edi, edi
je 0x44e8ff
lea ecx, [esp + 0x21c]
push ecx
push 0x104
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44e882
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, 0xffff0000
jne 0x44e904
test esi, esi
jle 0x44e904
and esi, 0xffff
or esi, 0x80070000
jmp 0x44e904
lea edx, [esp + 0x14]
push edx
push 0
push str.DeviceIcon
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44e8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, 0xffff0000
jne 0x44e904
test esi, esi
jle 0x44e904
and esi, 0xffff
or esi, 0x80070000
jmp 0x44e904
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x487acc
push esi
call eax
mov esi, eax
test esi, esi
jl 0x44e904
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push 5
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
test esi, esi
jl 0x44e904
lea ecx, [esp + 0x14]
push ecx
call ebx
jmp 0x44e904
mov esi, 0x80070057
cmp word [esp + 0x21c], 0
je 0x44e916
lea edx, [esp + 0x14]
push edx
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x430], 0xffffffff
test eax, eax
je 0x44e931
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00471f66
add esp, 0x424
ret

Function at 0x44f250
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4502e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x424
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x420], eax
push esi
mov esi, dword [esp + 0x42c]
push 0x44
push 0
push 0x49f2c8
call sub.MSVCR90.dll_memset
push esi
lea ecx, [esp + 0x24]
xor eax, eax
push str.regsvr32__s___s_
push ecx
mov dword [0x49f2c8], 0x44
mov word [0x49f2f8], ax
call dword [sym.imp.MSVCR90.dll__swprintf]
add esp, 0x18
lea edx, [esp + 4]
push edx
push 0x49f2c8
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x424]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00471f66
add esp, 0x424
ret
Function at 0x450390
Capabilities:
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x479b40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
mov dword [esp + 0x20], 0
jge 0x4503f8
push edi
lea ecx, [esp + 0x18]
call fcn.00401eb0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x450407
push 0x80070057
call fcn.00401120
push 1
push 0x2b
xor eax, eax
push esi
mov dword [esi - 0xc], edi
push eax
mov word [esi + 0x208], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x450516
mov eax, dword [esi - 8]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_wcsnlen]
add esp, 8
test eax, eax
jl 0x4503fd
cmp eax, dword [esi - 8]
jg 0x4503fd
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x26
mov word [esi + eax*2], cx
push str.SamsungDeviceServiceDCAM_DSC_Codec_
lea ecx, [esp + 0x1c]
call fcn.00404500
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x14]
push str._sPxtrAACD.dll
push ecx
mov byte [esp + 0x2c], 1
call fcn.00402eb0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004502e0
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x10
test eax, eax
jne 0x4504a5
push str.PxtrAACD.dll_reg_failed
call ebp
push esi
lea eax, [esp + 0x14]
push str._sPxtrMP4S.dll
push eax
call fcn.00402eb0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004502e0
add esp, 0x10
test eax, eax
jne 0x4504cd
push str.PxtrMP4S.dll_reg_failed
call ebp
push esi
lea edx, [esp + 0x14]
push str._sPxtrVDF.dll
push edx
call fcn.00402eb0
mov edi, dword [esp + 0x1c]
push edi
call fcn.004502e0
add esp, 0x10
test eax, eax
jne 0x4504f5
push str.PxtrVDF.dll_reg_failed
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45053a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x450960
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x479bc8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call fcn.00455790
mov eax, dword [eax + 0x14]
xor ecx, ecx
mov dword [esp + 4], ecx
test eax, eax
je 0x4509aa
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x489ac8
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4509f8
mov edx, dword [ecx]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [edx + 0x18]
call ecx
test eax, eax
jl 0x4509f4
push str._LC___HandleDeviceArrival__RemoveDevice
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [esp + 8]
push edx
call fcn.00455790
mov ecx, eax
call fcn.00455130
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], 0xffffffff
test ecx, ecx
je 0x450a0c
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4

Function at 0x450ed0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x450eec
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x450e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x450f14
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4517c0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x49f358], 0
push esi
mov esi, ecx
je 0x4517d5
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.00451640
cmp al, 1
jne 0x451805
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.004514f0
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x454ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479f41
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov esi, 1
mov ecx, 0x49f4e4
mov dword [esp + 0x24], esi
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp + 0x1c], esp
mov ebx, esp
push ecx
mov dword [esp + 0x20], esp
mov ebp, esp
push ecx
mov dword [esp + 0x20], esi
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401530
add esp, 4
add eax, 0x10
push ebp
mov dword [esi], eax
call fcn.00454950
add esp, 8
push ebx
call fcn.00454840
add esp, 8
call fcn.00454600
add esp, 4
test eax, eax
je 0x454f88
push 0x49f44c
mov ecx, edi
call fcn.00404480
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45c370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a98e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [ebx], vtable.CXmlParserWMModelProfile.0
mov ebp, dword [ebx + 0x70]
lea edi, [ebx + 0x60]
mov dword [esp + 0x30], 2
cmp dword [edi + 0xc], ebp
jbe 0x45c3bc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp esi, dword [edi + 0x10]
jbe 0x45c3d0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
push ebp
push ecx
push esi
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.0045be20
mov ebp, dword [ebx + 0x88]
cmp dword [ebx + 0x84], ebp
lea esi, [ebx + 0x78]
jbe 0x45c3fd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x45c419
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push ebp
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0045ac20
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0045af10
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.0045bf40
mov ecx, ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00459210
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x45ce50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47aa58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push 0x47e738
push eax
lea ecx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCR90.dll__wfopen_s]
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push ebx
push edx
call esi
add esp, 0x18
cmp eax, ebx
je 0x45ceec
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45cebd
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45cfea
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_ftell]
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
mov edi, eax
call esi
lea eax, [edi + 2]
push eax
call fcn.00463d88
mov ecx, dword [esp + 0x28]
push ecx
push edi
mov esi, eax
push 1
push esi
call dword [sym.imp.MSVCR90.dll_fread]
mov byte [eax + esi], bl
mov byte [eax + esi + 1], bl
mov al, byte [esi]
add esp, 0x24
cmp al, 0xff
jne 0x45cf3e
cmp byte [esi + 1], 0xfe
jne 0x45cf3e
lea edx, [esi + 2]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x45cfa3
cmp al, 0xef
jne 0x45cf9d
cmp byte [esi + 1], 0xbb
jne 0x45cf9d
cmp byte [esi + 2], 0xbf
jne 0x45cf9d
push ebx
push ebx
push 0xffffffffffffffff
lea edi, [esi + 3]
push edi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00463d88
add esp, 4
push ebp
mov ebx, eax
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x45cfa3
push esi
call fcn.00463480
push esi
mov edi, eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x45cfc0
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cfe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x45d2e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47aa9b
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
mov dword [esp + 0x824], 1
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x830]
push eax
lea ecx, [esp + 0x14]
push str._s_version.dat
push ecx
mov byte [esp + 0x830], 2
call fcn.00402eb0
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d408
lea eax, [edi - 0x10]
mov byte [esp + 0x824], 1
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d3a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x82c]
add eax, 0xfffffff0
mov byte [esp + 0x824], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d3d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x830]
add eax, 0xfffffff0
mov dword [esp + 0x824], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45d4f1
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call sub.MSVCR90.dll_memset
mov ebp, dword [esp + 0x838]
lea edx, [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x14], 0
mov eax, ebp
sub edx, ebp
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d440
mov eax, dword [ebp - 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
add eax, eax
push eax
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x824], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d493
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x82c]
add eax, 0xfffffff0
mov byte [esp + 0x824], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d4be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x830]
add eax, 0xfffffff0
mov dword [esp + 0x824], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d4ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00471f66
add esp, 0x818
ret 8
Function at 0x45de60
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x476d00
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x30], 0
call fcn.00401530
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push str.Static_
push str.Cache_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00407b20
mov ebx, dword [esp + 0x14]
push ecx
lea edi, [ebx - 0x10]
mov dword [esp + 0x1c], esp
mov ebp, esp
push edi
call fcn.00401530
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebp], eax
call fcn.0045dca0
fst qword [esp + 0x1c]
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x45df30
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebp, esp
push eax
call fcn.00401530
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebp], eax
call fcn.0045dca0
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x45df30
mov eax, dword [esp + 0x34]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x2c], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45df4e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45df76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4