joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb540
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
mov eax, 0x8664
push edi
cmp word [esi + 4], ax
je 0x4cb5fa
cmp dword [esi + 0xa0], 0
movzx ecx, word [esi + 0x14]
lea eax, [ecx + esi + 0x18]
je 0x4cb68c
cmp dword [esi + 0xa4], 0
je 0x4cb68c
mov edx, dword [esi + 0x38]
xor ecx, ecx
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
cmp cx, word [esi + 6]
jae 0x4cb5ec
lea edi, [eax + 0xc]
jmp 0x4cb5a0
lea ebx, [edi - 0xc]
push str..rsrc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb5da
push str..reloc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb5da
mov eax, dword [edi + 0x28]
sub eax, dword [edi - 4]
sub eax, dword [edi]
shr eax, 2
cmp eax, dword [ebp + 8]
jae 0x4cb5da
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
movzx edx, word [esi + 6]
inc eax
add edi, 0x28
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x4cb5a0
mov eax, dword [ebp + 8]
pop edi
add eax, eax
pop esi
add eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xb0], 0
movzx eax, word [esi + 0x14]
lea eax, [eax + esi + 0x18]
je 0x4cb68c
cmp dword [esi + 0xb4], 0
je 0x4cb68c
mov ecx, dword [esi + 0x38]
xor edx, edx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
cmp dx, word [esi + 6]
jae 0x4cb67c
lea edi, [eax + 0xc]
lea ebx, [edi - 0xc]
push str..rsrc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb66a
push str..reloc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb66a
mov eax, dword [edi + 0x28]
sub eax, dword [edi - 4]
sub eax, dword [edi]
shr eax, 3
cmp eax, dword [ebp + 8]
jae 0x4cb66a
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 6]
inc eax
add edi, 0x28
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x4cb630
mov eax, dword [ebp + 8]
add eax, eax
pop edi
add eax, eax
pop esi
add eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cb6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax + 0xe]
lea edx, [eax + 0x10]
movzx eax, word [eax + 0xc]
add ecx, eax
mov dword [ebp + 0x10], edx
mov dword [ebp - 4], ecx
je 0x4cb74b
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
lea esp, [esp]
mov eax, dword [edx + 4]
test eax, eax
jns 0x4cb6fe
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4cb6e4
cmp word [edx], 0x18
je 0x4cb73a
inc ecx
push ecx
mov ecx, dword [ebp + 8]
and eax, 0x7fffffff
push edi
add eax, ebx
push eax
push ebx
push ecx
call fcn.004cb6a0
add esp, 0x14
jmp 0x4cb73a
and eax, 0x7fffffff
mov esi, dword [eax + ebx + 4]
mov ecx, dword [eax + ebx]
add ecx, dword [ebp + 8]
shr esi, 2
test esi, esi
je 0x4cb73a
mov edx, dword [edi]
xor dword [ecx], edx
mov eax, dword [edi]
xor edx, edx
mov ebx, 0x38f40
div ebx
add ecx, 4
imul edx, edx, 0x2455
add edx, 0xc091
dec esi
mov dword [edi], edx
jne 0x4cb714
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add edx, 8
dec dword [ebp - 4]
mov dword [ebp + 0x10], edx
jne 0x4cb6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb750
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0x110], eax
movzx eax, word [esi + 0x14]
xor ecx, ecx
xor ebx, ebx
push edi
lea edi, [eax + esi + 0x18]
cmp cx, word [esi + 6]
jae 0x4cb7ae
jmp 0x4cb790
push str..rsrc
push edi
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb7ae
movzx edx, word [esi + 6]
inc ebx
add edi, 0x28
cmp ebx, edx
jl 0x4cb790
movzx eax, word [esi + 6]
cmp ebx, eax
jge 0x4cb8b6
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.004ff6f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [ebp - 0x108]
push str.QA1Q0ZWQIE__d
push edx
call fcn.004ff1e4
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
mov dword [ebp - 0x118], ebx
test ebx, ebx
je 0x4cb8b6
push 0x3e8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4cb8af
mov esi, dword [edi + 0xc]
add esi, dword [ebp - 0x110]
mov eax, dword [esi]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x4cb8a8
mov ecx, eax
shr ecx, 0x10
xor cl, 0x76
cmp al, cl
jne 0x4cb8a8
mov edx, eax
shr edx, 0x18
xor dl, 0x5a
shr eax, 8
cmp al, dl
jne 0x4cb8a8
mov ecx, dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10c]
push eax
push 4
push ecx
push esi
call ebx
mov eax, dword [ebp - 0x110]
push 0
lea edx, [ebp - 0x114]
push edx
push esi
push esi
push eax
mov dword [esi], 0
call fcn.004cb6a0
mov edx, dword [ebp - 0x10c]
mov eax, dword [edi + 0x10]
add esp, 0x14
lea ecx, [ebp - 0x10c]
push ecx
push edx
push eax
push esi
call ebx
mov ebx, dword [ebp - 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4cb8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x3c]
movzx eax, word [edi + esi + 0x14]
add edi, esi
xor edx, edx
lea ecx, [eax + edi + 0x18]
xor ebx, ebx
mov dword [ebp - 8], ecx
cmp dx, word [edi + 6]
jae 0x4cb919
mov eax, dword [ebp - 8]
push str..rsrc
push eax
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cb919
movzx ecx, word [edi + 6]
add dword [ebp - 8], 0x28
inc ebx
cmp ebx, ecx
jl 0x4cb8f7
movzx edx, word [edi + 6]
cmp ebx, edx
jge 0x4cb9fc
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xc]
add ebx, esi
cmp dword [ebx], 0
jne 0x4cb9fc
push 0
call fcn.004ff06e
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, edi
mov dword [ebp - 4], eax
mov cl, byte [ebp - 1]
shr eax, 0x10
xor al, 0x76
mov byte [ebp - 4], al
xor cl, 0x5a
mov byte [ebp - 3], cl
mov edx, dword [ebp - 4]
movzx eax, word [ebx + 0xe]
mov dword [ebx], edx
movzx edx, word [ebx + 0xc]
lea ecx, [ebx + 0x10]
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
je 0x4cb9fc
mov edx, dword [ebp - 4]
nop
mov eax, dword [ecx + 4]
test eax, eax
jns 0x4cb9aa
cmp word [ecx], 0x18
je 0x4cb9ee
push 1
lea ecx, [ebp - 4]
push ecx
and eax, 0x7fffffff
add eax, ebx
push eax
push ebx
push esi
call fcn.004cb6a0
mov edx, dword [ebp - 4]
add esp, 0x14
jmp 0x4cb9ee
and eax, 0x7fffffff
mov edi, dword [eax + ebx + 4]
mov ecx, dword [eax + ebx]
shr edi, 2
add ecx, esi
test edi, edi
je 0x4cb9ee
nop
xor dword [ecx], edx
mov esi, dword [ebp - 4]
mov eax, 0x8fd66c05
mul esi
imul esi, esi, 0x2455
shr edx, 0x11
imul edx, edx, 0x7eac6fc0
lea edx, [edx + esi + 0xc091]
add ecx, 4
dec edi
mov dword [ebp - 4], edx
jne 0x4cb9c0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
add ecx, 8
dec dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jne 0x4cb980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cba10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546800
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x3c]
add esi, ebx
mov eax, 0x8664
mov ecx, dword [esi + 0x50]
push ecx
cmp word [esi + 4], ax
je 0x4cbac8
call fcn.00480850
mov edi, eax
mov dword [ebp - 0x14], edi
mov edx, dword [esi + 0x50]
push edx
push 0
push edi
call fcn.004ff6f0
mov eax, dword [esi + 0x54]
push eax
push ebx
push edi
call fcn.004fe210
add esp, 0x1c
mov esi, dword [edi + 0x3c]
add esi, edi
movzx ecx, word [esi + 0x14]
lea edx, [ecx + esi + 0x18]
mov dword [ebp - 0x18], edx
xor edi, edi
mov dword [ebp - 0x1c], edi
movzx eax, word [esi + 6]
cmp edi, eax
jae 0x4cbb32
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4cbac5
mov edx, dword [eax + 0x10]
push edx
add ecx, ebx
push ecx
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x14]
push eax
call fcn.004fe210
add esp, 0xc
inc edi
jmp 0x4cba90
call fcn.00480850
mov edi, eax
mov dword [ebp - 0x14], edi
mov edx, dword [esi + 0x50]
push edx
push 0
push edi
call fcn.004ff6f0
mov eax, dword [esi + 0x54]
push eax
push ebx
push edi
call fcn.004fe210
add esp, 0x1c
mov esi, dword [edi + 0x3c]
add esi, edi
movzx ecx, word [esi + 0x14]
lea edx, [ecx + esi + 0x18]
mov dword [ebp - 0x18], edx
xor edi, edi
mov dword [ebp - 0x1c], edi
movzx eax, word [esi + 6]
cmp edi, eax
jae 0x4cbb32
lea ecx, [edi + edi*4]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4cbb2f
mov edx, dword [eax + 0x10]
push edx
add ecx, ebx
push ecx
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x14]
push eax
call fcn.004fe210
add esp, 0xc
inc edi
jmp 0x4cbafe
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cbb80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546820
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
mov eax, dword [ebp + 8]
cmp word [eax], dx
jne 0x4cbc1c
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x4cbc1c
movzx eax, word [esi + 0x14]
lea edi, [eax + esi + 0x18]
mov dword [ebp - 0x14], ecx
movzx edx, word [esi + 6]
cmp ecx, edx
jge 0x4cbbf1
lea eax, [ecx + ecx*4]
lea edx, [edi + eax*8]
mov eax, dword [edx + 0xc]
add eax, dword [edx + 8]
cmp eax, dword [esi + 0x50]
ja 0x4cbc1c
inc ecx
jmp 0x4cbbd2
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cbc70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
movzx ecx, word [esi + eax + 0x14]
add esi, eax
push edi
xor edx, edx
xor edi, edi
lea ebx, [ecx + esi + 0x18]
cmp dx, word [esi + 6]
jae 0x4cbcb2
push str..rsrc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cbcaf
movzx eax, word [esi + 6]
inc edi
add ebx, 0x28
cmp edi, eax
jl 0x4cbc91
mov eax, dword [ebp + 8]
movzx ecx, word [esi + 6]
cmp edi, ecx
jl 0x4cbcc1
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + edx]
test eax, eax
je 0x4cbcba
mov ecx, eax
xor edx, edx
shr ecx, 0x18
cmp al, cl
sete dl
pop edi
pop esi
pop ebx
mov eax, edx
pop ebp
ret
Function at 0x4cbf90
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x3c]
push 0
push 0
push 2
push 0
add ebx, edi
mov eax, 0x8664
push 0
push 0x40000000
cmp word [ebx + 4], ax
je 0x4cc070
movzx ecx, word [ebx + 0x14]
mov eax, dword [ebp + 8]
lea edx, [ecx + ebx + 0x18]
push eax
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cbffc
mov edx, dword [ebx + 0x54]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x54]
je 0x4cc008
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 8], 0
cmp cx, word [ebx + 6]
jae 0x4cc106
mov edi, dword [ebp - 0xc]
add edi, 0x10
mov edx, dword [edi + 4]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [edi - 4]
mov ecx, dword [edi]
add edx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jne 0x4cbff5
mov eax, dword [ebp - 8]
movzx ecx, word [ebx + 6]
inc eax
add edi, 0x28
mov dword [ebp - 8], eax
cmp eax, ecx
jb 0x4cc021
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [ebx + 0x14]
mov ecx, dword [ebp + 8]
lea eax, [edx + ebx + 0x18]
push ecx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cbffc
mov eax, dword [ebx + 0x54]
push 0
lea edx, [ebp - 4]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x54]
jne 0x4cbff5
xor edx, edx
mov dword [ebp - 8], 0
cmp dx, word [ebx + 6]
jae 0x4cc106
mov edi, dword [ebp - 0xc]
add edi, 0x10
mov eax, dword [edi + 4]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi - 4]
mov edx, dword [edi]
add eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
cmp ecx, dword [edi]
jne 0x4cbff5
mov eax, dword [ebp - 8]
movzx edx, word [ebx + 6]
inc eax
add edi, 0x28
mov dword [ebp - 8], eax
cmp eax, edx
jb 0x4cc0c3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc130
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546840
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x4cc278
cmp byte [esi], bl
je 0x4cc278
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, ebx
je 0x4cc278
push str.CheckSumMappedFile
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4cc25c
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cc229
push ebx
push ebx
push ebx
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x4cc222
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4cc218
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push edi
call dword [ebp - 0x18]
test eax, eax
je 0x4cc211
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], edx
mov dword [ebp - 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc7e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5468b6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [eax], edx
mov dword [eax + 4], edi
mov esi, dword [edx + 0x3c]
add esi, edx
mov ecx, 0x8664
cmp word [esi + 4], cx
je 0x4cc89b
cmp dword [esi + 0x88], edi
je 0x4cc92c
cmp dword [esi + 0x8c], edi
je 0x4cc92c
movzx ecx, word [esi + 0x14]
lea ebx, [ecx + esi + 0x18]
xor ecx, ecx
cmp cx, word [esi + 6]
jae 0x4cc874
nop
push str..rsrc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cc86e
movzx edx, word [esi + 6]
inc edi
add ebx, 0x28
cmp edi, edx
jl 0x4cc850
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
movzx ecx, word [esi + 6]
cmp edi, ecx
jge 0x4cc92c
mov esi, dword [ebx + 0xc]
push 8
add esi, edx
call fcn.00480850
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4cc908
cmp dword [esi + 0x98], edi
je 0x4cc92c
cmp dword [esi + 0x9c], edi
je 0x4cc92c
movzx ecx, word [esi + 0x14]
lea ebx, [ecx + esi + 0x18]
xor ecx, ecx
cmp cx, word [esi + 6]
jae 0x4cc8e7
push str..rsrc
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cc8e1
movzx edx, word [esi + 6]
inc edi
add ebx, 0x28
cmp edi, edx
jl 0x4cc8c3
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
movzx ecx, word [esi + 6]
cmp edi, ecx
jge 0x4cc92c
mov esi, dword [ebx + 0xc]
push 8
add esi, edx
call fcn.00480850
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4cc91b
mov edx, dword [ebp + 8]
push esi
push esi
push edx
mov ecx, eax
call fcn.004cc4f0
jmp 0x4cc91d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cdfb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x4ce05d
cmp byte [eax], 0
je 0x4ce05d
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ce055
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x1000
jb 0x4ce007
mov esi, 0x1000
push esi
call fcn.00480850
add esp, 4
push 0
mov ebx, eax
lea eax, [ebp + 8]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ce043
cmp esi, dword [ebp + 8]
jne 0x4ce043
push ebx
call fcn.004cbb80
add esp, 4
test eax, eax
je 0x4ce043
push ebx
call fcn.004cd090
add esp, 4
mov dword [ebp - 4], eax
push ebx
call fcn.004808a0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4ce0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546970
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x11c], esi
mov byte [ebp - 0x118], 0
push 0x103
push esi
lea eax, [ebp - 0x117]
push eax
call fcn.004ff6f0
add esp, 0xc
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
cmp edi, esi
jne 0x4ce137
lea ecx, [ebp - 0x118]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x118]
push edx
mov ecx, ebx
call fcn.004ce0b0
lea edi, [ebp - 0x118]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ce140
sub eax, edx
je 0x4ce1b5
lea edx, [ebx + 0x24]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ce153
sub eax, esi
jne 0x4ce1b5
mov ecx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4ce160
lea esi, [ebx + 0x24]
push esi
call fcn.004bf2e0
add esp, 4
lea eax, [esi - 1]
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4ce180
mov ecx, dword [str.AE52FVSF.HTM]
mov dword [eax], ecx
mov edx, dword [0x5778cc]
mov dword [eax + 4], edx
mov ecx, dword [0x5778d0]
mov dword [eax + 8], ecx
mov dl, byte [0x5778d4]
mov byte [eax + 0xc], dl
mov dword [ebp - 0x11c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546a6b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
lea edi, [esi + 0x24]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4ce591
sub eax, edx
je 0x4ce5be
push edi
call fcn.004c4aa0
add esp, 4
test eax, eax
je 0x4ce5be
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4ce5be
push ebx
push edi
call fcn.004cabd0
add esp, 8
mov eax, dword [esi]
cmp eax, ebx
je 0x4ce5cf
push eax
call fcn.004808a0
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4ce5e2
push eax
call fcn.004808a0
add esp, 4
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
jmp 0x4ce5f7
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.004bfa40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret