joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a76e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push dword [edi]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.0048f76f
mov esi, dword [ebp + 0x14]
push dword [ebp + 0x10]
mov dword [ebp + 8], 0x400
mov byte [ebp - 0x420], bl
mov byte [ebp - 0x524], bl
mov byte [ebp - 0x924], bl
mov byte [ebp - 0xd24], bl
mov byte [ebp - 0x114], bl
mov byte [ebp - 0x218], bl
mov byte [ebp - 0x31c], bl
mov dword [esi], ebx
call fcn.004d9400
push eax
lea eax, [ebp - 0x524]
push eax
push dword [ebp + 0x10]
push edi
call fcn.00491d52
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x524]
push eax
push edi
call fcn.00491c8c
add esp, 0x24
mov dword [ebp + 0x10], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
call fcn.004dd750
lea eax, [ebp - 0x218]
push 0x5459fc
push eax
call fcn.004dd760
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push str._s_d
push eax
call fcn.004dd565
add esp, 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4a787b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x924]
push eax
lea eax, [ebp - 0x114]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x4a787b
push 0x5f
push ebx
lea eax, [ebp - 0x924]
push ebx
push eax
call fcn.004d9400
pop ecx
push eax
lea eax, [ebp - 0xd24]
push eax
lea eax, [ebp - 0x924]
push eax
push edi
call fcn.004a6667
push dword [ebp + 0x1c]
lea eax, [ebp - 0xd24]
push eax
push edi
call fcn.0049149b
mov eax, dword [ebp + 0x1c]
add esp, 0x28
cmp dword [eax], 0xffffffff
je 0x4a7869
cmp dword [eax + 4], ebx
je 0x4a7869
lea ecx, [ebp - 0x31c]
add eax, 8
push ecx
push eax
push edi
call fcn.00491c8c
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004dd6c0
add esp, 0x14
test eax, eax
je 0x4a788d
inc dword [ebp - 4]
jmp 0x4a787b
cmp dword [ebp - 8], ebx
jne 0x4a787b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0x32
jl 0x4a7772
mov eax, dword [ebp + 0x18]
jmp 0x4a789b
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [esi], 1
cmp dword [esi], ebx
jne 0x4a78cd
cmp dword [ebp - 8], 1
jne 0x4a78b0
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x337
jmp 0x4a78cb
mov ecx, dword [ebp - 4]
cmp ecx, 0x32
jne 0x4a78c3
mov dword [esi], 0x336
or dword [eax], 0xffffffff
cmp ecx, ecx
jge 0x4a78cd
mov dword [esi], 0x322
mov dword [eax], ecx
cmp dword [esi], 1
jne 0x4a78d8
mov dword [esi], 0x381
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4a7a96
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1598
call fcn.004dc850
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [eax]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0048f76f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1598]
push eax
call fcn.004904d6
pop ecx
lea edi, [ebp - 0x24]
pop ecx
mov dword [ebp - 4], 3
mov esi, 0x104
push esi
call fcn.004dd48b
push esi
push ebx
push eax
mov dword [edi], eax
call fcn.004d9ad0
add esp, 0x10
add edi, 4
dec dword [ebp - 4]
jne 0x4a7ad8
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.0048facd
pop ecx
lea edi, [ebp - 0x24]
pop ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov esi, 0x400
mov eax, dword [edi]
cmp eax, ebx
je 0x4a7c76
cmp eax, 0x54a0b4
je 0x4a7c76
cmp byte [eax], bl
je 0x4a7c76
lea ecx, [ebp - 0x1598]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004a76e8
mov eax, dword [ebp - 0xc]
add esp, 0x18
cmp eax, 0x336
je 0x4a7c7d
cmp eax, 0x337
je 0x4a7b71
cmp eax, 0x322
je 0x4a7b71
cmp eax, 0x381
jne 0x4a7c63
push dword [edi]
lea eax, [ebp - 0x128]
push eax
call fcn.004dd750
lea eax, [ebp - 0x128]
push 0x5459fc
push eax
call fcn.004dd630
add esp, 0x10
cmp eax, ebx
je 0x4a7bb9
push eax
call fcn.004d9400
lea edi, [ebp - 0x128]
sub edi, eax
lea eax, [ebp - 0x128]
push eax
call fcn.004d9400
pop ecx
mov byte [edi + eax], bl
mov edi, dword [ebp - 0x14]
pop ecx
lea eax, [ebp - 0x128]
push 0x5459fc
push eax
call fcn.004dd760
push dword [ebp - 0x10]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x22c]
push str._s_d
push eax
call fcn.004dd565
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x22c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4a7c9e
push esi
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.004d9ad0
add esp, 0xc
push 0x5f
push ebx
push ebx
push dword [ebp + 0x10]
call fcn.004d9400
pop ecx
push eax
lea eax, [ebp - 0x62c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004a65dc
add esp, 0x1c
lea eax, [ebp - 0x62c]
push esi
push eax
lea eax, [ebp - 0x22c]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x4a7ca7
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 3
mov dword [ebp - 0x14], edi
jl 0x4a7b0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push str.registration_keys
push 3
mov esi, 0x32b
push 2
push esi
push 0x545598
push dword [ebp - 8]
call fcn.0045fd8e
add esp, 0x18
jmp 0x4a7cbf
push 2
mov esi, 0x338
jmp 0x4a7cae
push 2
mov esi, 0x339
push esi
push 0x545598
push dword [ebp - 8]
call fcn.0045fd8e
add esp, 0x10
mov eax, esi
jmp 0x4a7c78
Function at 0x4aa035
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x51b96c
push dword [ebp + 0xc]
call fcn.004de577
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x4aa0af
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004d9ad0
push edi
push 2
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.004de387
mov esi, eax
add esp, 0x1c
cmp esi, 2
je 0x4aa09f
push edi
call fcn.004de06b
pop ecx
call fcn.004df2f0
cmp dword [eax], 2
jne 0x4aa09f
cmp esi, 1
jne 0x4aa09f
cmp dword [ebp - 0x10], 0x3b9aca00
jne 0x4aa0af
push 0x45
pop eax
mov dword [ebp - 0xc], eax
push eax
jmp 0x4aa0b6
push edi
call fcn.004de06b
cmp dword [ebp - 0x10], 0x3b9aca00
pop ecx
je 0x4aa0b3
xor eax, eax
jmp 0x4aa0c9
push dword [ebp - 0xc]
push 0x51bd98
push dword [ebp + 8]
call fcn.004dd565
add esp, 0xc
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x4aa0cd
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 8
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 8], esi
rep stosd dword es:[edi], eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
call fcn.004f17d8
pop ecx
test eax, eax
pop ecx
jne 0x4aa109
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
jmp 0x4aa123
push esi
call fcn.004efa24
mov edi, 0x15180
push esi
sub eax, edi
mov dword [ebp - 8], eax
call fcn.004efa24
pop ecx
sub eax, edi
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call edi
push 0x53f9ac
push dword [ebp + 0xc]
call fcn.004de577
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
je 0x4aa1a3
push ebx
call fcn.004e39b4
push 0x10
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004d9ad0
lea eax, [ebp - 0x14]
mov esi, 0x3b9aca00
push eax
push 0x51bd98
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
call fcn.004dedfb
push 0
push 0
push ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.004de42e
push ebx
push 4
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.004e2f39
add esp, 0x38
cmp eax, 4
push ebx
je 0x4aa1a7
call fcn.004de06b
pop ecx
xor eax, eax
jmp 0x4aa1c5
call fcn.004de06b
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.004f237b
add esp, 0xc
push 2
push dword [ebp + 0xc]
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4aa3ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.004d9400
mov esi, eax
shl esi, 1
push esi
call fcn.004dd48b
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x4aa401
push 0xfffffffffffffffe
pop eax
jmp 0x4aa5a7
push edi
push dword [ebp + 8]
call fcn.004d9400
inc eax
push eax
call fcn.004dd48b
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp - 8], edi
je 0x4aa598
push esi
push ebx
push dword [ebp - 4]
call fcn.004d9ad0
push dword [ebp + 8]
mov byte [edi], bl
push edi
call fcn.004dd750
lea eax, [ebp - 0xc]
mov edi, 0x51b99c
push eax
push edi
push dword [ebp - 8]
call fcn.0043f5bc
add esp, 0x20
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4aa497
push esi
push str.__t
push dword [ebp - 4]
call fcn.0043f70d
push esi
push 0x545b10
push dword [ebp - 4]
call fcn.0043f70d
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0043f70d
push esi
push 0x545b10
push dword [ebp - 4]
call fcn.0043f70d
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
call fcn.0043f5bc
add esp, 0x3c
jmp 0x4aa44a
push dword [ebp - 8]
call fcn.004dce85
lea eax, [ebp - 0x164]
mov dword [esp], 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x164]
push 0x5c
push eax
call fcn.004deef0
pop ecx
cmp eax, ebx
pop ecx
je 0x4aa598
mov byte [eax + 1], bl
lea eax, [ebp - 0x164]
push str.LSMAIL.EXE
push eax
call fcn.004dd760
lea eax, [ebp - 0x164]
push ebx
push eax
call fcn.0044be4d
add esp, 0x10
test eax, eax
jne 0x4aa598
push dword [ebp - 4]
call fcn.004d9400
push dword [ebp + 0xc]
mov esi, eax
call fcn.004d9400
push dword [ebp + 0x10]
add esi, eax
call fcn.004d9400
add esi, eax
lea eax, [ebp - 0x164]
push eax
call fcn.004d9400
lea esi, [esi + eax + 0x19]
push 1
push esi
call fcn.004dd3fc
mov edi, eax
add esp, 0x18
cmp edi, ebx
je 0x4aa598
push dword [ebp + 0x10]
lea eax, [ebp - 0x164]
dec esi
push dword [ebp + 0xc]
push dword [ebp - 4]
push eax
push str._s__s__s___s___m___s_
push esi
push edi
call fcn.004de975
push 0x44
lea eax, [ebp - 0x60]
pop esi
push esi
push ebx
push eax
call fcn.004d9ad0
add esp, 0x28
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x60], esi
mov word [ebp - 0x30], bx
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push 8
push 1
push ebx
push ebx
lea eax, [ebp - 0x164]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.004dce85
cmp esi, 1
pop ecx
je 0x4aa59b
push 0xfffffffffffffffe
pop ebx
push dword [ebp - 4]
call fcn.004dce85
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4adecb
Capabilities:
Query or enumerate registry value
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push 4
pop ebx
xor edi, edi
push 0x64
lea eax, [ebp - 0x80]
push edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.004d9ad0
push 0x51b9c4
push str.slmlog.lib
call fcn.004de577
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x4adf26
lea eax, [ebp - 0xc]
push eax
push 0x51bd9c
push esi
call fcn.004e3b1a
push esi
call fcn.004de06b
jmp 0x4adf39
push 0x53
push 0xe8
push dword [0x545cc0]
push ebx
call fcn.0043ed15
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0xf003f
push 1
push edi
push edi
push str.SOFTWARERainbow_TechnologiesSentinelLMlfe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x18]
mov esi, str.seqNumber
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4adf93
lea eax, [ebp - 4]
push 4
push eax
push 4
push edi
push esi
push dword [ebp - 8]
call ebx
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0
push esi
mov dword [ebp - 0x10], edi
push dword [ebp - 8]
inc edi
mov dword [ebp - 4], edi
call ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, str.slmlog.lib
push 0x545df0
push esi
call fcn.004de577
mov ebx, eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
pop ecx
pop ecx
je 0x4adfd9
test ebx, ebx
je 0x4ae008
push edi
jmp 0x4adfdf
test ebx, ebx
je 0x4ae008
inc eax
push eax
push str._d_r_n
lea eax, [ebp - 0x80]
push 0x63
push eax
call fcn.004de975
lea eax, [ebp - 0x80]
push eax
push 0x51cc00
push ebx
call fcn.004defdd
add esp, 0x1c
push ebx
call fcn.004de06b
pop ecx
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b0760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
cmp ebx, esi
push edi
jne 0x4b07b3
test ebx, ebx
jbe 0x4b0847
mov esi, dword [ebp + 0xc]
mov ecx, ebx
mov eax, ecx
lea edi, [ebp - 0x200]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
mov ecx, ebx
lea edi, [ebp - 0x100]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b0847
jbe 0x4b0802
lea esi, [ebx - 1]
test esi, esi
jl 0x4b0847
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x200]
lea edx, [ebp - 0x100]
sub edi, eax
sub edx, eax
lea ecx, [esi + eax]
mov dword [ebp + 8], edx
mov eax, ebx
xor edx, edx
sub eax, esi
dec eax
div dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
sub eax, edx
mov edx, dword [ebp + 0x18]
dec esi
mov al, byte [eax + edx - 1]
mov edx, dword [ebp + 8]
mov byte [edi + ecx], al
mov al, byte [ecx]
mov byte [edx + ecx], al
dec ecx
test esi, esi
jge 0x4b07d9
jmp 0x4b0847
dec esi
test esi, esi
jl 0x4b0844
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x100]
lea edx, [ebp - 0x200]
sub edi, eax
sub edx, eax
lea ecx, [esi + eax]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x18]
xor edx, edx
sub eax, esi
dec eax
div ebx
mov eax, dword [ebp + 8]
sub eax, edx
mov edx, dword [ebp + 0xc]
dec esi
mov al, byte [eax + ebx - 1]
mov byte [ecx + edi], al
mov al, byte [ecx]
mov byte [edx + ecx], al
dec ecx
test esi, esi
jge 0x4b0820
mov ebx, dword [ebp + 0x18]
and byte [ebp + ebx - 0x100], 0
and byte [ebp + ebx - 0x200], 0
and byte [ebp + ebx - 0x300], 0
xor eax, eax
test ebx, ebx
jbe 0x4b087f
mov cl, byte [ebp + eax - 0x200]
xor cl, byte [ebp + eax - 0x100]
inc eax
cmp eax, ebx
mov byte [ebp + eax - 0x301], cl
jb 0x4b0865
push dword [ebp + 0x1c]
lea eax, [ebp - 0x300]
push dword [ebp + 0x10]
push ebx
push eax
call fcn.004b089a
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b0969
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b0a4e
mov ecx, dword [esi]
test ecx, ecx
je 0x4b0a4e
mov edx, dword [ebp + 0xc]
test edx, edx
jl 0x4b0a4e
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4b0a4e
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x4b09a4
and dword [ebp + 0x18], edi
mov eax, dword [esi + 0x34]
cmp dword [ebp + 0x18], eax
jb 0x4b0a4e
cmp edx, dword [esi + 8]
jl 0x4b09bf
mov eax, 0xdb6
jmp 0x4b0a53
add eax, 0x28
push 0
imul eax, edx
add eax, dword [esi + 0xc]
push eax
push dword [ecx + 0x10]
call fcn.004e42ba
add esp, 0xc
test eax, eax
jl 0x4b0a0b
mov eax, dword [esi]
push 0x28
push ebx
push dword [eax + 0x10]
call fcn.004e4148
add esp, 0xc
cmp eax, 0x28
jne 0x4b0a0b
cmp dword [ebp + 0x18], 0
jbe 0x4b0a12
push dword [esi + 0x34]
mov eax, dword [esi]
push edi
push dword [eax + 0x10]
call fcn.004e4148
add esp, 0xc
cmp eax, dword [esi + 0x34]
je 0x4b0a12
mov eax, 0xdaf
jmp 0x4b0a53
push dword [esi + 0x34]
lea eax, [esi + 0x20]
push edi
push ebx
push 8
push eax
lea eax, [esi + 0x10]
push 0x10
push eax
push dword [esi + 0x2c]
call fcn.004b0a58
add esp, 0x20
test eax, eax
jne 0x4b0a53
push dword [esi + 0x34]
push edi
push ebx
push dword [esi + 0x2c]
call fcn.004b0b40
add esp, 0x10
dec eax
neg eax
sbb eax, eax
and eax, 0xdb7
jmp 0x4b0a53
mov eax, 0xdad
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4b0ca3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x4b0d8a
mov eax, dword [esi]
cmp eax, edi
je 0x4b0d8a
cmp dword [ebp + 0xc], edi
jl 0x4b0d8a
je 0x4b0d86
push 2
push 0xffffffffffffffd8
push dword [eax + 0x10]
call fcn.004e42ba
add esp, 0xc
test eax, eax
jl 0x4b0cfd
lea eax, [ebp - 0x28]
push 0x28
push eax
mov eax, dword [esi]
push dword [eax + 0x10]
call fcn.004e4148
add esp, 0xc
cmp eax, 0x28
je 0x4b0d07
mov eax, 0xdaf
jmp 0x4b0d8f
mov eax, dword [esi]
push 2
push 0xffffffffffffffd8
push dword [eax + 0x10]
call fcn.004e42ba
add esp, 0xc
test eax, eax
jl 0x4b0d69
cmp dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jle 0x4b0d51
lea edi, [esi + 0x20]
lea ebx, [esi + 0x10]
push dword [esi + 0x34]
push dword [esi + 0x2c]
push 8
push edi
push 0x10
push ebx
push dword [esi]
call fcn.004b0d94
add esp, 0x1c
test eax, eax
jne 0x4b0d8f
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jl 0x4b0d2a
xor edi, edi
lea eax, [ebp - 0x28]
push 0x28
push eax
mov eax, dword [esi]
push dword [eax + 0x10]
call fcn.004e4ac9
add esp, 0xc
cmp eax, 0x28
je 0x4b0d70
mov eax, 0xdb0
jmp 0x4b0d8f
mov eax, dword [esi]
push 1
push edi
push dword [eax + 0x10]
call fcn.004e42ba
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [esi + 8], eax
xor eax, eax
jmp 0x4b0d8f
mov eax, 0xdad
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b1686
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4b1769
cmp dword [ebp + 0x10], ebx
je 0x4b1769
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x4b1769
push 0x28
push ebx
push esi
call fcn.004d9ad0
add esp, 0xc
cmp dword [ebp + 0x18], 1
jne 0x4b16c6
push ebx
push ebx
jmp 0x4b16ca
push 2
push 0xffffffffffffffd8
push dword [edi + 0x10]
call fcn.004e42ba
add esp, 0xc
test eax, eax
jl 0x4b16ec
push 0x28
push esi
push dword [edi + 0x10]
call fcn.004e4148
add esp, 0xc
cmp eax, 0x28
je 0x4b16f3
mov eax, 0xdaf
jmp 0x4b176e
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004b1773
add esp, 0x10
cmp eax, ebx
jne 0x4b176e
push 8
lea edi, [esi + 8]
pop ebx
lea eax, [ebp - 8]
push ebx
push edi
push eax
call fcn.004dcb20
push ebx
push 0
push edi
call fcn.004d9ad0
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x28
push esi
push dword [ebp + 0xc]
call fcn.004b3242
add esp, 0x2c
test eax, eax
jne 0x4b1750
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004b0bb2
add esp, 0xc
cmp eax, 1
je 0x4b1757
mov eax, 0xdb4
jmp 0x4b176e
lea eax, [ebp - 8]
push ebx
push eax
push edi
call fcn.004dcb20
add esp, 0xc
xor eax, eax
jmp 0x4b176e
mov eax, 0xdad
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b2417
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x4b255e
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4b255e
cmp byte [edi], 0
je 0x4b255e
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4b255e
push 1
pop esi
cmp dword [ebp + 0xc], esi
jne 0x4b246b
lea eax, [ebp - 0x20]
push 0x10
push eax
xor esi, esi
call fcn.004b2568
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.004b25bf
jmp 0x4b2481
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.004b2616
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.004b266d
add esp, 0x10
push 0x51b96c
push edi
call fcn.004de577
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x4b2549
push dword [ebp + 8]
mov eax, esi
shl eax, 6
push 0x40
add eax, ebx
pop edi
mov dword [ebp + 0x10], eax
push edi
push 1
push eax
call fcn.004de387
add esp, 0x10
cmp eax, edi
push edi
jne 0x4b251e
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0x20]
push 0x10
push eax
push 1
call fcn.004b31f6
push dword [ebp + 8]
lea eax, [esi + 2]
shl eax, 6
add ebx, eax
push edi
push 1
push ebx
call fcn.004de387
add esp, 0x2c
cmp eax, edi
jne 0x4b2510
inc byte [ebp + esi - 0x10]
lea eax, [ebp + esi - 0x10]
push edi
push ebx
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0x20]
push 0x10
push eax
push 1
call fcn.004b31f6
add esp, 0x1c
jmp 0x4b253c
push edi
push 0
push ebx
call fcn.004d9ad0
add esp, 0xc
jmp 0x4b253c
push 0
push dword [ebp + 0x10]
call fcn.004d9ad0
add esi, 2
push edi
shl esi, 6
add esi, ebx
push 0
push esi
call fcn.004d9ad0
add esp, 0x18
push dword [ebp + 8]
call fcn.004de06b
pop ecx
xor eax, eax
jmp 0x4b2563
push 0xdb2
call fcn.004df2f0
push dword [eax]
call fcn.0047dc9b
pop ecx
pop ecx
jmp 0x4b2563
mov eax, 0xdad
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b2705
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x4b2893
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4b2893
cmp byte [eax], 0
je 0x4b2893
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4b2893
cmp dword [ebp + 0xc], 1
push 0x10
pop edi
lea eax, [ebp - 0x24]
push edi
push eax
jne 0x4b275d
call fcn.004b2568
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.004b25bf
jmp 0x4b276c
call fcn.004b2616
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.004b266d
add esp, 0x10
lea eax, [ebp - 0x64]
push 0x40
pop esi
push esi
push ebx
push eax
call fcn.004dcb20
add ebx, 0x80
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.004dcb20
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x24]
push edi
push eax
push 1
call fcn.004b31f6
lea eax, [ebp - 0xa4]
push esi
inc byte [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x24]
push edi
push eax
push 1
call fcn.004b31f6
mov ebx, dword [ebp + 0x10]
add esp, 0x50
push 0
push ebx
call fcn.004e2b50
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x4b281a
push 0x546000
push ebx
call fcn.004de577
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x4b2806
push 0xdb2
call fcn.004df2f0
push dword [eax]
call fcn.0047dc9b
pop ecx
mov dword [ebp - 4], eax
pop ecx
jmp 0x4b288e
push ebx
call fcn.004b2e19
test eax, eax
pop ecx
jne 0x4b2842
mov dword [ebp - 4], 0xdb2
jmp 0x4b2883
push 0x53f8b8
push ebx
call fcn.004de577
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x4b2842
push 0xdb0
call fcn.004df2f0
push dword [eax]
call fcn.0047dc9b
pop ecx
pop ecx
jmp 0x4b2898
push edi
push esi
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.004e2f39
add esp, 0x10
cmp eax, esi
jne 0x4b286d
push edi
push esi
lea eax, [ebp - 0xa4]
push 1
push eax
call fcn.004e2f39
add esp, 0x10
cmp eax, esi
je 0x4b2883
push 0xdb0
call fcn.004df2f0
push dword [eax]
call fcn.0047dc9b
pop ecx
mov dword [ebp - 4], eax
pop ecx
test edi, edi
je 0x4b288e
push edi
call fcn.004de06b
pop ecx
mov eax, dword [ebp - 4]
jmp 0x4b2898
mov eax, 0xdad
pop edi
pop esi
pop ebx
leave
ret