joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac980
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4ac9b4
push str.SetFilePointerEx__
push eax
push 0xed
push str..QHImageHlp.c
call fcn.004aa320
add esp, 0x10
xor eax, eax
ret
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ac9e7
push str.ReadFile__
push eax
push 0xf0
push str..QHImageHlp.c
call fcn.004aa320
add esp, 0x10
xor eax, eax
ret
cmp edi, dword [esp + 4]
je 0x4aca09
push 0x54d648
push 1
push 0xf2
push str..QHImageHlp.c
call fcn.004aa390
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4adfa0
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 0x4af080
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4af0b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4af0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4b02f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004b0ac0
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4b0370
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.004b0a79
add esp, 0x80c
ret
push str.360ver.dll
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b0356
lea edx, [esp + 8]
push edx
call fcn.004b0220
add esp, 4
test eax, eax
je 0x4b0356
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x4b03ce
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.004b0a79
add esp, 0x80c
ret
push edi
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x810]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004b0a79
add esp, 0x80c
ret
Function at 0x4b0400
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004b0ac0
push 0x800
lea ecx, [esp + 0x18]
push 0x54da28
push ecx
call fcn.004b0f2e
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.004ba638
push 0x800
lea eax, [esp + 0x30]
push 0x54d9fc
push eax
call fcn.004ba638
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004ba638
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.004ba638
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004ba638
push 0x800
lea ecx, [esp + 0x18]
push 0x54d9bc
push ecx
call fcn.004ba638
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x4b0512
call fcn.004b0200
test eax, eax
je 0x4b04fa
call fcn.004b02f0
test eax, eax
je 0x4b04fa
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x4b0505
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x4b0523
push 0
call fcn.004ba5a0
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b0a79
add esp, 0x1004
ret

Function at 0x4b0540
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b0592
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004b0a79
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x4b061b
cmp dword [esp + 0xc], 0x40
jne 0x4b061b
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x4b061b
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x4b061b
push 0
lea ecx, [esp + 0x10]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x4b061b
cmp dword [esp + 0xc], 0xf8
jne 0x4b061b
cmp dword [esp + 0x10], 0x4550
jne 0x4b061b
cmp word [esp + 0x16], bx
je 0x4b061b
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004b0a79
add esp, 0x140
ret
Function at 0x4b0650
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4b0a79
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58c758]
jne 0x4b0a83
repz ret
jmp fcn.004badac

Function at 0x4caa00
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004ba6ea
and dword [ebp - 4], 0
cmp dword [0x591b44], 0
mov ebx, eax
jne 0x4caab1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cab62
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x550030
push edi
call esi
test eax, eax
je 0x4cab62
push eax
call fcn.004ba678
mov dword [esp], 0x550020
push edi
mov dword [0x591b44], eax
call esi
push eax
call fcn.004ba678
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x591b48], eax
call esi
push eax
call fcn.004ba678
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x591b4c], eax
call esi
push eax
call fcn.004ba678
pop ecx
mov dword [0x591b54], eax
test eax, eax
je 0x4caab1
push 0x54ffd8
push edi
call esi
push eax
call fcn.004ba678
pop ecx
mov dword [0x591b50], eax
mov eax, dword [0x591b50]
cmp eax, ebx
je 0x4cab09
cmp dword [0x591b54], ebx
je 0x4cab09
push eax
call fcn.004ba6f3
push dword [0x591b54]
mov esi, eax
call fcn.004ba6f3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4cab09
test edi, edi
je 0x4cab09
call esi
test eax, eax
je 0x4cab00
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cab00
test byte [ebp - 0xc], 1
jne 0x4cab09
or dword [ebp + 0x10], 0x200000
jmp 0x4cab42
mov eax, dword [0x591b48]
cmp eax, ebx
je 0x4cab42
push eax
call fcn.004ba6f3
pop ecx
test eax, eax
je 0x4cab42
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4cab42
mov eax, dword [0x591b4c]
cmp eax, ebx
je 0x4cab42
push eax
call fcn.004ba6f3
pop ecx
test eax, eax
je 0x4cab42
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x591b44]
call fcn.004ba6f3
pop ecx
test eax, eax
je 0x4cab62
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cab64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d0210
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x40010
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x4000c], eax
mov eax, dword [esp + 0x40014]
push edi
mov edi, dword [esp + 0x4001c]
mov dword [esp + 0xc], 0
test edi, edi
jne 0x4d025d
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4000c]
xor ecx, esp
call fcn.004b0a79
add esp, 0x40010
ret 8
push esi
push 0
push 0
push 3
push 0
push 1
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d0282
xor eax, eax
jmp 0x4d030d
push ebx
push ebp
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x40000
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
test eax, eax
je 0x4d02f3
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d02f3
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x28]
push eax
push edi
call ebp
test eax, eax
je 0x4d02fa
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x4d02fa
push 0
lea edx, [esp + 0x14]
push edx
push 0x40000
lea eax, [esp + 0x28]
push eax
push esi
call ebx
test eax, eax
jne 0x4d02b5
mov edi, 1
jmp 0x4d02fe
mov edi, dword [esp + 0x18]
pop ebp
pop ebx
test esi, esi
je 0x4d030b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x40014]
pop esi
pop edi
xor ecx, esp
call fcn.004b0a79
add esp, 0x40010
ret 8

Function at 0x4d0410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x258
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
test esi, esi
je 0x4d04ca
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d0440
sub eax, edx
sar eax, 1
je 0x4d04ca
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d04ca
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d048b
not al
movzx eax, al
shr eax, 4
and eax, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004b0a79
add esp, 0x258
ret 4
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4d04ca
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [esp + 8]
not cl
movzx eax, cl
shr eax, 4
and eax, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004b0a79
add esp, 0x258
ret 4
mov ecx, dword [esp + 0x258]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004b0a79
add esp, 0x258
ret 4
Function at 0x4d0870
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x638]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d0906
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d08a6
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x4d09b4
mov ecx, 0x5c
cmp cx, word [edi + eax*2 + 0x638]
jne 0x4d08d7
xor edx, edx
mov word [edi + eax*2 + 0x638], dx
push str.360verify.dll
push esi
push 0x5503d4
push 0x104
push ebx
call fcn.004d0800
add esp, 0x14
push ebx
mov ecx, edi
call fcn.004d0410
test eax, eax
je 0x4d0906
mov eax, 1
jmp 0x4d09b6
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.004b0ac0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4d09b4
lea eax, [esp + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d0960
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x4d09b4
lea eax, [esp + eax*2 + 0x14]
mov edx, 0x5c
cmp dx, word [eax]
jne 0x4d0987
xor ecx, ecx
mov word [eax], cx
push str.360verify.dll
lea edx, [esp + 0x18]
push edx
push 0x5503d4
push 0x104
push ebx
call fcn.004d0800
add esp, 0x14
push ebx
mov ecx, edi
call fcn.004d0410
test eax, eax
jne 0x4d08fc
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0a79
add esp, 0x214
ret 4
Function at 0x4d09d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x28], ebx
je 0x4d0a09
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004b0a79
add esp, 0x20c
ret
push ebp
push edi
push 0
call fcn.004b539d
add esp, 4
lea ebp, [esi + 0x430]
push ebp
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d0a30
mov dword [esi + 0x1c], ebx
jmp 0x4d0adc
push str..log
push edi
push str.360_tmp_
push ebp
push str._s_s_d_s
lea eax, [esp + 0x24]
push 0x104
push eax
inc ebx
call fcn.004d0800
add esp, 0x1c
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004d0410
test eax, eax
je 0x4d0a6e
inc edi
cmp ebx, 0x64
jl 0x4d0a30
xor eax, eax
jmp 0x4d0adc
lea ebx, [esi + 0x840]
lea edi, [esp + 0x10]
mov edx, 0x104
mov eax, ebx
sub edi, ebx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4d0aa1
movzx ecx, word [edi + eax]
test cx, cx
je 0x4d0aa1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4d0a81
jmp 0x4d0aa5
test edx, edx
jne 0x4d0aa8
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0x28]
push eax
push ebx
mov ecx, esi
call fcn.004d0330
test eax, eax
je 0x4d0a6a
push 0
mov dword [esi + 0xb64], 0
call fcn.004b539d
mov dword [esi + 0xb68], eax
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.004b0a79
add esp, 0x20c
ret
Function at 0x4d0b00
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x674]
push ebp
push esi
push edi
mov edi, dword [esp + 0x67c]
push str..log
mov ebp, ecx
push str.360_formal_
lea esi, [ebp + 0x430]
push esi
push str._s_s_s
lea edx, [esp + 0x47c]
xor ecx, ecx
push 0x104
push edx
mov dword [esp + 0x28], eax
mov word [edi], cx
call fcn.004d0800
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4d0c5f
push ebx
lea esp, [esp]
test byte [esp + 0x18], 0x10
jne 0x4d0bf0
lea edx, [esp + 0x44]
push edx
push esi
push 0x5503d4
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004d0800
add esp, 0x14
cmp dword [esp + 0x688], 0
je 0x4d0bd8
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.004b5730
mov ecx, dword [esp + 0x38]
xor ebx, ebx
add eax, ecx
adc edx, ebx
test edx, edx
jg 0x4d0bf0
jl 0x4d0bd8
cmp eax, 0x200000
ja 0x4d0bf0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.004d0330
test eax, eax
jne 0x4d0c0a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d0b80
jmp 0x4d0c4c
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4d0c40
movzx ecx, word [esi + eax]
test cx, cx
je 0x4d0c40
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4d0c20
jmp 0x4d0c44
test edx, edx
jne 0x4d0c47
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop ebx
jmp 0x4d0c61
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004b0a79
add esp, 0x66c
ret 0xc

Function at 0x4d0cf0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov eax, ebx
push edi
mov edi, ecx
xor ebp, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d0d02
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
add eax, eax
push eax
mov dword [esp + 0x20], eax
call fcn.004a9062
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
mov ecx, edi
call fcn.004d04f0
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jbe 0x4d0d3d
dec ebx
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4d0d7b
cmp ebx, dword [esp + 0x10]
jne 0x4d0d7b
push esi
call fcn.004b2811
mov eax, dword [esp + 0x14]
add esp, 4
add dword [edi + 0xb64], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
push esi
call fcn.004b2811
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4d10c0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x1e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x24], ax
call fcn.004b0ac0
add esp, 0xc
push str.i18n.dll
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, eax
cmp esi, ebx
jne 0x4d1199
push 0x104
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4d1135
xor eax, eax
jmp 0x4d1214
push str...i18n.dll
lea eax, [esp + 0x1c]
push eax
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x4d1180
push str.....i18n.dll
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x4d1180
push str.......i18n.dll
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
je 0x4d112e
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004d10a0
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
test esi, esi
je 0x4d112e
push str.CreateI18N
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d11f2
lea ecx, [esp + 0x10]
push ecx
call eax
add esp, 4
test eax, eax
je 0x4d11f2
push 0x55047c
lea edx, [esp + 0x1c]
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x4d11f2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov dword [edi + 0xb6c], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d1201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call edx
test esi, esi
je 0x4d1210
test ebx, ebx
je 0x4d1210
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b0a79
add esp, 0x214
ret
Function at 0x4d1300
Capabilities:
Delete file

Disassembly:
mov eax, 0x1014
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1024]
push edi
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push 4
push ebx
push 3
push 0x12019f
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4d134e
xor eax, eax
jmp 0x4d13e9
lea eax, [esp + 0xc]
push eax
push 0
call fcn.004b539d
add esp, 4
push eax
mov ecx, esi
call fcn.004d00c0
mov ecx, dword [esp + 0x1028]
mov edx, dword [esi + 0xb6c]
push ecx
push str.log_file_is_too_big_to_merge_
push edx
lea eax, [esi + 0xa48]
push eax
movzx eax, word [esp + 0x28]
lea ecx, [esi + 0x230]
push ecx
movzx ecx, word [esp + 0x2a]
lea edx, [esi + 0x30]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
push ecx
push edx
push str._t_4d__02d__02d__02d:_02d:_02d__p_s__c_s__m_s__lan_d__warning_s__logfile_len_d_bytes__n
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.004d0800
add esp, 0x3c
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004d0cf0
test eax, eax
je 0x4d13dc
mov ebx, 1
test edi, edi
je 0x4d13e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0a79
add esp, 0x1014
ret 8

Function at 0x4d1410
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x58c758]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
push edi
mov edi, dword [esp + 0x428]
mov esi, ecx
mov dword [esp + 8], 0
test edi, edi
je 0x4d152b
xor eax, eax
cmp ax, word [edi]
je 0x4d152b
push 1
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x220]
push edx
mov ecx, esi
call fcn.004d0b00
xor eax, eax
cmp ax, word [esp + 0x218]
jne 0x4d149f
lea ecx, [esp + 0x218]
push ecx
mov ecx, esi
call fcn.004d0c80
test eax, eax
je 0x4d152b
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x21c]
push eax
mov ecx, esi
call fcn.004d0330
test eax, eax
je 0x4d152b
push 0x550634
push edi
push 0x550628
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.004d0800
add esp, 0x14
push 1
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4d151f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004d0190
test eax, eax
je 0x4d151f
mov eax, dword [esp + 0xc]
cmp eax, 0x300000
jbe 0x4d14ff
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004d1300
test eax, eax
je 0x4d1514
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004d0210
test eax, eax
je 0x4d151f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004d03b0
mov ecx, dword [esp + 0x420]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004b0a79
add esp, 0x41c
ret 4