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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0x52ec72
mov dword [esp + 8], 0x52e9fc
mov dword [esp + 4], 0x400
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043102c
mov eax, dword [ebx + 4]
test eax, eax
je 0x46e80e
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004338b8
mov dword [ebx + 0x1c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x20], eax
test eax, eax
je 0x46e86e
mov dword [esp + 4], 0x52ea37
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x1c]
jne 0x46e838
test esi, esi
je 0x46e7fb
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x44]
add esp, 0x30
pop ebx
pop esi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
test esi, esi
je 0x46e844
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x46e8dc
cmp edx, 2
je 0x46e93f
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52ec72
mov dword [esp + 8], 0x52ea75
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043102c
call fcn.00509b8c
xor eax, eax
jmp 0x46e807
mov dword [esp], eax
call fcn.005099c0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x52ec72
mov dword [esp + 8], 0x52ea3c
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043102c
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0046e6f0
call fcn.00509b8c
xor eax, eax
test esi, esi
jne 0x46e807
jmp 0x46e804
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52ec72
mov dword [esp + 8], 0x52ea5e
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043102c
jmp 0x46e8d0
Function at 0x46f634
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0046f584
test al, al
jne 0x46f66c
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0046f584
test al, al
je 0x46f661
mov eax, dword [ebp - 0x1c]
and eax, 0x20
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [esp], ebx
call fcn.0046f1c4
test al, al
je 0x46f661
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.0046ed9c
Function at 0x470ed8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.00442564
mov dword [ebx + 0x5c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x18], eax
test eax, eax
je 0x470f76
mov dword [esp + 4], 0x52ed1b
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
test eax, eax
je 0x470f6c
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x5c]
jne 0x470fa0
xor edi, edi
test esi, esi
je 0x470f5d
mov dword [esp], esi
call sub.msvcrt.dll_fclose
test edi, edi
sete al
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov al, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x471015
cmp edx, 2
je 0x471072
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52eedf
mov dword [esp + 8], 0x52ee99
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043fcd8
call fcn.00509b8c
mov edi, 1
jmp 0x470f51
mov dword [esp], eax
call fcn.005099c0
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x52eedf
mov dword [esp + 8], 0x52ee60
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043fcd8
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0046fa10
call fcn.00509b8c
jmp 0x470f51
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52eedf
mov dword [esp + 8], 0x52ee82
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0043fcd8
jmp 0x471006
Function at 0x471734
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0x52f15c
mov dword [esp + 8], 0x52eee8
mov dword [esp + 4], 0x400
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov eax, dword [ebx + 4]
test eax, eax
je 0x4717f2
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00442564
mov dword [ebx + 0x1c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x20], eax
test eax, eax
je 0x471852
mov dword [esp + 4], 0x52ef23
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x1c]
jne 0x47181c
test esi, esi
je 0x4717df
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x44]
add esp, 0x30
pop ebx
pop esi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
test esi, esi
je 0x471828
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x4718c0
cmp edx, 2
je 0x471923
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52f15c
mov dword [esp + 8], 0x52ef61
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
call fcn.00509b8c
xor eax, eax
jmp 0x4717eb
mov dword [esp], eax
call fcn.005099c0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x52f15c
mov dword [esp + 8], 0x52ef28
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004716d4
call fcn.00509b8c
xor eax, eax
test esi, esi
jne 0x4717eb
jmp 0x4717e8
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52f15c
mov dword [esp + 8], 0x52ef4a
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
jmp 0x4718b4
Function at 0x472618
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00472568
test al, al
jne 0x472650
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00472568
test al, al
je 0x472645
mov eax, dword [ebp - 0x1c]
and eax, 0x20
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [esp], ebx
call fcn.004721a8
test al, al
je 0x472645
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.00471d80

Function at 0x472d14
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xb4]
mov dword [esp], eax
call fcn.00453150
mov dword [ebx + 0x60], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x18], eax
test eax, eax
je 0x472db2
mov dword [esp + 4], 0x52f203
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
test eax, eax
je 0x472da8
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x60]
jne 0x472ddc
xor edi, edi
test esi, esi
je 0x472d99
mov dword [esp], esi
call sub.msvcrt.dll_fclose
test edi, edi
sete al
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov al, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x472e51
cmp edx, 2
je 0x472eae
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52f3f6
mov dword [esp + 8], 0x52f271
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xb4]
mov dword [esp], eax
call fcn.004508c4
call fcn.00509b8c
mov edi, 1
jmp 0x472d8d
mov dword [esp], eax
call fcn.005099c0
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x52f3f6
mov dword [esp + 8], 0x52f238
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xb4]
mov dword [esp], eax
call fcn.004508c4
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00472ad0
call fcn.00509b8c
jmp 0x472d8d
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52f3f6
mov dword [esp + 8], 0x52f25a
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xb4]
mov dword [esp], eax
call fcn.004508c4
jmp 0x472e42
Function at 0x474a0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0x52f674
mov dword [esp + 8], 0x52f400
mov dword [esp + 4], 0x400
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004508c4
mov eax, dword [ebx + 4]
test eax, eax
je 0x474aca
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00453150
mov dword [ebx + 0x1c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x20], eax
test eax, eax
je 0x474b2a
mov dword [esp + 4], 0x52f43b
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x1c]
jne 0x474af4
test esi, esi
je 0x474ab7
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x44]
add esp, 0x30
pop ebx
pop esi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
test esi, esi
je 0x474b00
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x474b98
cmp edx, 2
je 0x474bfb
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52f674
mov dword [esp + 8], 0x52f479
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004508c4
call fcn.00509b8c
xor eax, eax
jmp 0x474ac3
mov dword [esp], eax
call fcn.005099c0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x52f674
mov dword [esp + 8], 0x52f440
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004508c4
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004749ac
call fcn.00509b8c
xor eax, eax
test esi, esi
jne 0x474ac3
jmp 0x474ac0
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52f674
mov dword [esp + 8], 0x52f462
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004508c4
jmp 0x474b8c
Function at 0x4758f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00475840
test al, al
jne 0x475928
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00475840
test al, al
je 0x47591d
mov eax, dword [ebp - 0x1c]
and eax, 0x20
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [esp], ebx
call fcn.00475480
test al, al
je 0x47591d
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.00475058
Function at 0x477ab8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0045dfac
mov dword [ebx + 0x5c], eax
mov dword [esp], eax
call fcn.0050963c
mov dword [ebx + 0x18], eax
test eax, eax
je 0x477b56
mov dword [esp + 4], 0x52f807
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov esi, eax
test eax, eax
je 0x477b4c
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, dword [ebx + 0x5c]
jne 0x477b80
xor edi, edi
test esi, esi
je 0x477b3d
mov dword [esp], esi
call sub.msvcrt.dll_fclose
test edi, edi
sete al
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov al, 1
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x477bf5
cmp edx, 2
je 0x477c52
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52f9cb
mov dword [esp + 8], 0x52f985
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0045b720
call fcn.00509b8c
mov edi, 1
jmp 0x477b31
mov dword [esp], eax
call fcn.005099c0
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x52f9cb
mov dword [esp + 8], 0x52f94c
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0045b720
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004765ec
call fcn.00509b8c
jmp 0x477b31
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52f9cb
mov dword [esp + 8], 0x52f96e
mov dword [esp + 4], 8
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call fcn.0045b720
jmp 0x477be6
Function at 0x478b48
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], str.InitOsipHdr
mov dword [esp + 8], 0x52f9d4
mov dword [esp + 4], 0x400
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
mov dword [esp + 8], str.Init_OSIP_header_...
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [ebx + 0x14], 0x200
mov dword [esp], 0x200
call fcn.0050963c
mov dword [ebx + 0x30], eax
test eax, eax
je 0x478bfc
mov edx, dword [ebx + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov esi, eax
mov dword [esp + 8], str._After_fread_osip_hdr
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
cmp esi, dword [ebx + 0x14]
jne 0x478c26
mov al, 1
add esp, 0x30
pop ebx
pop esi
leave
ret
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x478c94
cmp edx, 2
je 0x478cf2
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], str.InitOsipHdr
mov dword [esp + 8], 0x52fb91
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
call fcn.00509b8c
xor eax, eax
jmp 0x478bf5
mov dword [esp], eax
call fcn.005099c0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.InitOsipHdr
mov dword [esp + 8], 0x52fb58
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0047841c
call fcn.00509b8c
test esi, esi
sete al
jmp 0x478bf5
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.InitOsipHdr
mov dword [esp + 8], 0x52fb7a
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00421b78
jmp 0x478c88
Function at 0x4799d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00478e80
test al, al
jne 0x479a10
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00478e80
test al, al
je 0x479a05
mov eax, dword [ebp - 0x1c]
and eax, 0x20
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [esp], ebx
call fcn.00478828
test al, al
jne 0x479a50
mov dword [ebp + 8], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.00479544
mov dword [esp], ebx
call fcn.00478b48
jmp 0x479a41
Function at 0x493320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
test ebx, ebx
mov dword [esp + 8], edi
sete al
cmp esi, ecx
sete dl
or eax, edx
xor edi, edi
test al, 1
jne 0x493380
test esi, esi
setne al
test ecx, ecx
setne dl
xor eax, edx
test al, 1
jne 0x493391
test ebx, ebx
je 0x493374
movzx eax, word [esi]
movzx edx, word [ecx]
cmp ax, dx
jne 0x4933ad
add esi, 2
add ecx, 2
dec ebx
jne 0x493360
xor edi, edi
lea esi, [esi]
lea edi, [edi]
mov eax, edi
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret
cmp ecx, 1
mov ebx, dword [esp]
sbb eax, eax
and eax, 2
mov esi, dword [esp + 4]
lea edi, [eax - 1]
mov eax, edi
mov edi, dword [esp + 8]
add esp, 0xc
ret
movzx edi, ax
movzx eax, dx
sub edi, eax
jmp 0x493380
Function at 0x4de16c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebx, eax
cmp eax, 0xffffffff
je 0x4de1a4
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
call sub.msvcrt.dll__errno
cmp dword [eax], 4
je 0x4de17b
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret