joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f3d0
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 0x44f3ec
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x44f340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x44f414
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 0x44fcc0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x4a4280], 0
push esi
mov esi, ecx
je 0x44fcd5
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.0044fb40
cmp al, 1
jne 0x44fd05
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.0044f9f0
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4

Function at 0x44fd10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47a4f2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
mov dword [esp + 0x10], 0
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
mov dword [esp + 0x22c], 0
mov dword [esp + 0x14], esi
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareSamsungKies2.0
push SysReAllocString
mov dword [esp + 0x240], 0
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44fe04
push 0x104
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x18], 0x104
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.LocalVer
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fdf3
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00403430
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00473c8a
add esp, 0x228
ret
Function at 0x44ffd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a576
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x328], eax
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x136]
push ecx
mov word [esp + 0x138], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 0x130]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x10]
call fcn.004062c0
push str.ErrorReport.exe
push 0x489464
lea ecx, [esp + 0x14]
mov dword [esp + 0x348], 0
call fcn.00407e00
cmp eax, 1
jne 0x450191
push 0x2000
call fcn.00465a98
mov esi, eax
add esp, 4
test esi, esi
je 0x450191
push 0x1000
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x34c]
mov edx, dword [esp + 0x348]
push ecx
push edx
lea eax, [esp + 0x18]
push str.CM_RegiError_d_HR_x
push eax
mov byte [esp + 0x350], 1
call fcn.00402e30
lea ecx, [esp + 0x24]
push ecx
call fcn.0044fd10
mov edi, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push str.ConnectionManagerError_
push edi
push edx
push str.UnKnown
push eax
push ecx
push str.0.0.0.0
push str.ModuleNameDeviceManager_HiddenIP_sOS_Version_d._dOS_Locale_sSW_Version_sError_sComments_s
push 0xfff
push esi
call dword [sym.imp.MSVCR90.dll__snwprintf]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x3c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45014d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 1
push 0
push esi
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x340], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x340], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4501b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.00473c8a
add esp, 0x338
ret
Function at 0x450530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 4], 0
jne 0x45055a
push 0x4a26ec
lea ecx, [esp + 8]
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x49a5f4
lea eax, [esp + 8]
push eax
call sub.MSVCR90.dll__CxxThrowException
xor edx, edx
cmp dword [edi + 0x3cc], edx
jle 0x450580
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [ecx]
mov cl, byte [esi]
xor byte [eax], cl
inc edx
inc esi
inc eax
cmp edx, dword [edi + 0x3cc]
jl 0x450570
pop esi
pop edi
add esp, 0xc
ret 8
Function at 0x453710
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push edi
lea eax, [esp + 8]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x453730
pop edi
pop ebx
add esp, 0xc
ret
push esi
push edi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4537bb
mov ecx, dword [esp + 0xc]
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4537b1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x47faf8
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4537b1
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xa]
mov edx, dword [esp + 0x20]
mov word [edx], cx
movzx ecx, word [eax + 8]
mov edx, dword [esp + 0x24]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [esp + 0x28]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [esp + 0x2c]
push esi
mov word [ecx], ax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0xc
ret
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x453830
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47a7b2
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x248]
xor ebp, ebp
lea eax, [esp + 0x2c]
push eax
push 1
push ebp
push 0x25
mov dword [esp + 0x30], ebp
push ebp
mov dword [esp + 0x254], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4538e9
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
jmp 0x4538b0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4538b0
mov ecx, 7
mov esi, 0x48eb00
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00453710
add esp, 0x14
movzx esi, word [esp + 0x18]
movzx edi, word [esp + 0x14]
push esi
push edi
push str.GetOSVersion
push str._s____d._d
call fcn.00403120
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x4a440c
call edx
add eax, 0x10
mov dword [ebx], eax
push esi
push edi
push str._d._d
push ebx
mov dword [esp + 0x250], ebp
mov dword [esp + 0x30], 1
call fcn.00402e30
add esp, 0x10
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00473c8a
add esp, 0x230
ret
Function at 0x454c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a891
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov esi, 1
mov ecx, 0x4a440c
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.00401510
add esp, 4
add eax, 0x10
push ebp
mov dword [esi], eax
call fcn.004129d0
add esp, 8
push ebx
call fcn.00454b50
add esp, 8
call fcn.00454910
add esp, 4
test eax, eax
je 0x454d08
push 0x4a4374
mov ecx, edi
call fcn.00404410
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 0x454d2d
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 0x45bf70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b30e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
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 0x45bfbc
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 0x45bfd0
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.0045ba20
mov ebp, dword [ebx + 0x88]
cmp dword [ebx + 0x84], ebp
lea esi, [ebx + 0x78]
jbe 0x45bffd
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 0x45c019
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.0045a820
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0045ab10
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.0045bb40
mov ecx, ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00458da0
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 0x45ca50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b3d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push 0x47f7f8
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 eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x45cadd
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cac7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push ebx
push eax
call esi
add esp, 0xc
cmp eax, ebx
je 0x45cb20
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45cb02
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
jmp 0x45cabb
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.00465a98
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 0x45cb72
cmp byte [esi + 1], 0xfe
jne 0x45cb72
lea edx, [esi + 2]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x45cbd7
cmp al, 0xef
jne 0x45cbd1
cmp byte [esi + 1], 0xbb
jne 0x45cbd1
cmp byte [esi + 2], 0xbf
jne 0x45cbd1
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.00465a98
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 0x45cbd7
push esi
call fcn.00465190
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 0x45cbf4
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 0x45cc1c
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
Function at 0x45d0d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b45b
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
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.00402e30
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 0x45d1f8
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 0x45d198
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 0x45d1c3
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 0x45d1f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45d2e1
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 0x45d230
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 0x45d283
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 0x45d2ae
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 0x45d2dc
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.00473c8a
add esp, 0x818
ret 8
Function at 0x45d9a0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x47b520
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x2c], 0
call fcn.00401510
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push str.Static_
push str.Cache_
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00407e00
mov ebp, dword [esp + 0x10]
push ecx
lea esi, [ebp - 0x10]
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.00401510
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0045d7f0
fst qword [esp + 0x1c]
fldz
add esp, 4
fcompp
fnstsw ax
test ah, 5
jp 0x45da6d
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0045d7f0
fcomp qword [esp + 0x1c]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x45da6d
mov eax, dword [esp + 0x30]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x28], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45da8b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x45e260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47b630
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, eax
push ecx
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00403470
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
mov dword [esp + 0x28], ebx
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
push ecx
push 0x48fbb4
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
mov dword [esp + 0x24], ebx
call fcn.0045dad0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call fcn.00403040
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
jmp 0x45e320
push 0x485f84
push edi
call dword [sym.imp.MSVCR90.dll__mbscmp]
add esp, 8
test eax, eax
setne al
test al, al
je 0x45e3fd
mov eax, ebx
sub eax, 1
je 0x45e3ef
cmp ebx, 1
je 0x45e3fd
lea ecx, [esp + 0x18]
push ecx
push 0x48fbb4
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.0045dad0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
mov byte [esp + 0x28], 3
cmp eax, esi
je 0x45e3c4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45e3b2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45e3b2
push eax
call fcn.00401580
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45e3a9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov dword [esp + 0x34], edi
jmp 0x45e3c4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402b50
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e3e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
jmp 0x45e320
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e41e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8