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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.004d9f9d
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x4aac64
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x4aab53
mov eax, dword [esi + 0x40]
jmp 0x4aab56
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.004aa580
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x4aac14
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x4aab98
cmp byte [edi], dl
jmp 0x4aab9c
cmp word [edi], 0
sete dl
test edx, edx
je 0x4aabc6
test eax, eax
je 0x4aabbf
cmp edi, eax
je 0x4aabbf
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.004dc520
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x4aab8b
test eax, eax
je 0x4aabe9
cmp edi, eax
je 0x4aabe9
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.004dc520
add esp, 0xc
test ebp, ebp
je 0x4aac14
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.004aa580
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x4aac56
test byte [esi + 4], 0x80
je 0x4aac56
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004a1b20
mov edx, dword [esp + 0x1c]
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], 0x520408
call fcn.004aa580
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ecx, esi
call fcn.004a6320
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x4ae2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, 7
mov word [esp + 0xc], cx
mov dword [esp + 0x38], ecx
xor edx, edx
lea ecx, [esp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], eax
mov word [esp + 0x28], dx
call fcn.004a3300
push 0
lea ecx, [esp + 0xc]
call fcn.004aa3f0
push str.__xml_version_1.0__encoding_UTF_8___
lea ecx, [esp + 0xc]
call fcn.004aa3f0
push 0
push 0
push str.PostSkinMessage
lea ecx, [esp + 0x14]
call fcn.004a9740
lea ecx, [esp + 8]
call fcn.004a3260
push 0
push 0
push str.SkinItem
lea ecx, [esp + 0x14]
call fcn.004a9740
mov eax, dword [edi + 0x248]
lea esi, [edi + 0x248]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4ae398
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00439760
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
push 0
push eax
push str.SkinName
push ecx
lea ecx, [esp + 0x18]
call fcn.004a70c0
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4ae3cb
push ecx
push eax
call fcn.004d86b3
add esp, 8
test eax, eax
jl 0x4ae486
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4ae486
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x78]
cmp dword [eax - 0xc], ecx
jle 0x4ae442
cmp dword [eax - 4], 1
jle 0x4ae401
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x7c]
call fcn.00439760
mov eax, dword [esp + 0x78]
push 0
push eax
mov eax, dword [esp + 0x4c]
push str.SkinUrl
push eax
lea ecx, [esp + 0x18]
call fcn.004a70c0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004d86b3
add esp, 8
test eax, eax
jl 0x4ae486
mov ecx, dword [esp + 0x78]
cmp eax, dword [ecx - 8]
jg 0x4ae486
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x78]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [esp + 8]
call fcn.004a32a0
mov eax, dword [edi + 0x140]
lea esi, [edi + 0x140]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4ae46b
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00439760
push ecx
mov ecx, dword [esi]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xc]
call fcn.004ad670
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x4ae490
jmp 0x4ae49e
push 0x80070057
call fcn.00438530
push ecx
push eax
call fcn.004d86b3
add esp, 8
test eax, eax
jl 0x4ae486
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4ae486
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [esp + 8]
call fcn.004a8080
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ae4d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x6c
ret 4
Function at 0x4ae840
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x4ec
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x4e8], eax
mov eax, dword [esp + 0x4f0]
push ebp
xor ebp, ebp
cmp dword [eax - 0xc], ebp
jle 0x4ae9e8
push esi
push 0x52be99
lea ecx, [esp + 0xc]
call fcn.00458f60
mov eax, dword [esp + 0x4f8]
cmp dword [eax - 0xc], ebp
jl 0x4ae9c7
push 0x520ce4
push eax
call fcn.004d7608
add esp, 8
test eax, eax
je 0x4ae9c7
sub eax, dword [esp + 0x4f8]
sar eax, 1
cmp eax, 0xffffffff
je 0x4ae9c7
push eax
push ebp
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x504]
call fcn.00456180
push eax
lea ecx, [esp + 0xc]
call fcn.0043a540
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ae8eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ae912
mov ecx, dword [esp + 0x4f8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, 1
jmp 0x4ae9cb
push ebx
push edi
lea ecx, [esp + 0x18]
call fcn.004ce460
push 0x104
lea edx, [esp + 0x3f8]
push 0
push edx
call fcn.004d86e0
mov eax, dword [esp + 0x50c]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetACP]
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [esp + 0x400]
push edx
push ecx
push eax
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
call ebx
push 0x104
lea eax, [esp + 0x2f4]
push 0
push eax
call fcn.004d86e0
mov eax, dword [esi - 0xc]
add esp, 0xc
push 0
push 0
push 0x104
lea ecx, [esp + 0x2fc]
push ecx
push eax
push esi
push 0
call edi
push eax
call ebx
lea edx, [esp + 0x2f0]
push edx
lea eax, [esp + 0x3f8]
push eax
lea ecx, [esp + 0x20]
call fcn.004cf8d0
pop edi
pop ebx
test eax, eax
je 0x4ae9bc
mov ebp, 1
lea ecx, [esp + 0x10]
call fcn.004ce4f0
jmp 0x4ae9cb
mov esi, dword [esp + 8]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x4ae9e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4f4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aea0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4ec]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004d7eb0
add esp, 0x4ec
ret 4
Function at 0x4af060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004d86e0
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4af0fa
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 0x206
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0043a930
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x218
ret
Function at 0x4b06b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x94
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x90], eax
push ebp
push esi
push edi
push 0x527f5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043a930
lea eax, [esp + 0xc]
push eax
call fcn.004846d0
mov ecx, eax
call fcn.004825e0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b08aa
mov eax, 7
mov dword [esp + 0x4c], eax
xor edx, edx
mov dword [esp + 0x68], eax
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
mov dword [esp + 0x64], edx
mov word [esp + 0x54], ax
call fcn.004a3300
push 0
lea ecx, [esp + 0x38]
call fcn.004aa3f0
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
mov ecx, dword [esp + 0xc]
mov edi, eax
add edi, 0x10
cmp dword [ecx - 4], 1
mov dword [esp + 0x14], edi
jle 0x4b0770
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00439760
mov ecx, dword [esp + 0xc]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x38]
call fcn.004ad630
movzx esi, al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004d86b3
add esp, 8
test eax, eax
jl 0x4b08e6
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x4b08e6
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0xc]
xor edx, edx
mov word [ecx + eax*2], dx
test esi, esi
je 0x4b0885
push edx
push edx
mov edx, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x40]
call fcn.004a2b80
push ecx
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], 0
call fcn.004a3b90
mov ebp, 8
push ecx
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], str.FileItem
call fcn.004a3c50
test al, al
je 0x4b0885
mov eax, dword [esp + 0x74]
push str.OpenState
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.004a6fb0
cmp dword [esp + 0x30], ebp
jb 0x4b0827
mov eax, dword [esp + 0x1c]
mov esi, eax
test eax, eax
jne 0x4b082b
jmp 0x4b083f
lea esi, [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b0830
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0043a260
cmp dword [esp + 0x30], ebp
jb 0x4b085d
mov edx, dword [esp + 0x1c]
push edx
call fcn.004d72b6
add esp, 4
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jle 0x4b07e3
push str.open
push edi
call fcn.004d7575
add esp, 8
test eax, eax
jne 0x4b0885
mov dword [esp + 0x10], 1
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b08a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
call fcn.004a8080
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b08ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004d7eb0
add esp, 0x94
ret
push 0x80070057
call fcn.00438530
int3
Function at 0x4b0eb0
Capabilities:
Check if file exists
Delete file
Query or enumerate registry value

Disassembly:
sub esp, 0x424
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.004d86e0
mov eax, dword [esi + 0x140]
add esp, 0xc
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b0f12
mov edx, dword [esi + 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.Skin
push str.SOFTWARE360SafeTheme
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4b10c7
lea eax, [esp + 0x20]
push eax
lea edi, [esi + 0x248]
push 0x517408
push edi
call fcn.0043a600
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax - 0xc], 2
jg 0x4b0f74
add eax, 0xfffffff0
push eax
call fcn.00439080
mov ebp, eax
add esp, 4
add ebp, 0x10
jmp 0x4b0fab
mov eax, dword [eax - 0x10]
test eax, eax
je 0x4b0f88
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x4b0f98
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0x10]
mov ecx, 0x54ffc8
call eax
mov ecx, dword [edi]
push eax
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00452be0
mov ebp, dword [esp + 0x10]
push 0x521028
push ebp
call fcn.004d7575
add esp, 8
test eax, eax
jne 0x4b0fc8
mov dword [esi], 1
jmp 0x4b10ab
push 0x527f5c
lea ecx, [esp + 0x14]
mov dword [esi], 0
call fcn.0043a930
mov edi, dword [edi]
push str.default
push edi
call fcn.004d7575
add esp, 8
test eax, eax
je 0x4b106c
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.004d86e0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x1c]
push eax
push str.skinurl
push str.SOFTWARE360SafeTheme
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 0x208
call ebx
test eax, eax
jne 0x4b106c
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x14]
push 0x517408
push edx
call fcn.0043a600
add esp, 8
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.00439d20
mov ecx, esi
call fcn.004ae2f0
mov edi, dword [esp + 0x10]
push ecx
add edi, 0xfffffff0
mov ebx, esp
push edi
call fcn.00439080
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.004ae2f0
mov dword [esi + 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b10ab
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b10c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x424
ret
Function at 0x4b1d5e
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x54ffc8
xor ebx, ebx
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
cmp dword [ebp + 0x10], ebx
je 0x4b1d5e
push 0x25
push str.https:__cdata.browser.360.cn_api.php_
jmp 0x4b1d65
push 0x24
push str.http:__cdata.browser.360.cn_api.php_
call fcn.0043a260
mov ecx, ebp
call fcn.004b1150
lea eax, [esp + 0x1c]
push str.UtilsBackCenter.zip
push eax
call fcn.004af060
add esp, 4
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00477210
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b1db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b1e14
mov ecx, dword [str.Abandon]
mov edx, dword [0x521168]
push ebx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x64], edx
push 0xa
lea edx, [esp + 0x64]
push edx
xor eax, eax
push esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x74], ax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [edi - 0xc], ebx
jle 0x4b1eb0
lea eax, [esp + 0x20]
push edi
push eax
call fcn.004b8090
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.00425ff0
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x4b1e60
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004d72b6
add esp, 4
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4b1e6e
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x10]
push ebx
push eax
push ecx
add edx, 0xfffffff0
mov esi, esp
push edx
call fcn.00439080
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.004b19f0
mov esi, 1
cmp eax, ebx
jne 0x4b1e9a
mov esi, ebx
cmp dword [esp + 0x54], 0x10
jb 0x4b1eb2
mov eax, dword [esp + 0x40]
push eax
call fcn.004d72b6
add esp, 4
jmp 0x4b1eb2
mov esi, ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1efe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x58
ret
Function at 0x4b3371
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
xor ebx, ebx
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b3399
mov eax, dword [esi + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x20]
cmp dword [ecx - 0xc], ebx
jle 0x4b3408
push edi
xor edi, edi
mov ecx, esi
call fcn.004b31a0
test eax, eax
jne 0x4b33d5
cmp edi, 2
jne 0x4b33b7
mov dword [esi + 0x10], ebx
inc edi
cmp edi, 3
jle 0x4b33a4
mov edx, dword [esp + 0x10]
push edx
push 0
push 2
mov ecx, esi
call fcn.004ad7f0
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4
mov ecx, esi
call fcn.004ae550
mov ecx, esi
call fcn.004b0eb0
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.004b2050
mov edi, eax
test edi, edi
jne 0x4b3400
push ebx
push eax
push 2
mov ecx, esi
call fcn.004ad7f0
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 0xc]
push eax
push 0
push 2
mov ecx, esi
call fcn.004ad7f0
pop esi
mov eax, ebx
pop ebx
ret 4
Function at 0x4ba2a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x94], eax
push ebp
mov ebp, ecx
xor ecx, ecx
push esi
mov eax, 7
mov word [esp + 0x38], cx
mov dword [esp + 0x64], ecx
xor edx, edx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x6c], eax
mov word [esp + 0x58], dx
call fcn.004a3300
push 0
lea ecx, [esp + 0x3c]
call fcn.004aa3f0
push ecx
mov eax, esp
lea ecx, [ebp + 0xa8]
mov dword [eax], ecx
lea ecx, [esp + 0x3c]
call fcn.004ad630
lea ecx, [esp + 0x38]
test al, al
je 0x4ba4b2
mov edx, dword [esp + 0x70]
push 0
push 0
push edx
call fcn.004a2b80
push ecx
mov eax, esp
lea ecx, [esp + 0x3c]
mov dword [eax], 0
call fcn.004a3b90
mov edi, 8
lea esp, [esp]
push ecx
mov eax, esp
lea ecx, [esp + 0x3c]
mov dword [eax], str.TrustItem
call fcn.004a3c50
test al, al
je 0x4ba48c
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
push str.FilePath
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
call fcn.004a6fb0
cmp dword [esp + 0x34], edi
jb 0x4ba3dc
mov eax, dword [esp + 0x20]
mov esi, eax
test eax, eax
jne 0x4ba3e0
jmp 0x4ba3f4
lea esi, [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ba3e5
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.0043a260
cmp dword [esp + 0x34], edi
jb 0x4ba412
mov edx, dword [esp + 0x20]
push edx
call fcn.004d72b6
add esp, 4
mov eax, dword [esp + 0x78]
push str.Type
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
call fcn.004a6fb0
cmp dword [esp + 0x34], edi
jb 0x4ba43c
mov eax, dword [esp + 0x20]
mov esi, eax
test eax, eax
jne 0x4ba440
jmp 0x4ba454
lea esi, [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ba445
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0043a260
cmp dword [esp + 0x34], edi
jb 0x4ba472
mov edx, dword [esp + 0x20]
push edx
call fcn.004d72b6
add esp, 4
lea eax, [esp + 0xc]
push eax
mov ecx, ebp
call fcn.004ba200
lea ecx, [esp + 0xc]
call fcn.004b8d80
jmp 0x4ba340
lea ecx, [esp + 0x38]
call fcn.004a8080
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x98
ret
call fcn.004a8080
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004d7eb0
add esp, 0x98
ret
Function at 0x4bb000
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004bad20
lea eax, [esp + 0x10]
push eax
call fcn.004bae40
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esi], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
add esp, 0x10
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004d7eb0
add esp, 0x6c
ret