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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
mov esi, ecx
push edi
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call ebx
mov edx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [esi + 0x1d0]
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x2c]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call ebx
mov edx, dword [0x67a8cc]
lea ebx, [esi + 0x1d4]
push edx
push 1
push 0x1c
push ebx
call edi
mov al, byte [esi + 0x1d8]
add esp, 0x48
cmp al, 3
jne 0x4733c0
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4733b8
lea ecx, [esi + 0x1dc]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x4733ba
xor eax, eax
mov dword [esi + 0x114], eax
cmp dword [ebx], 1
jge 0x4733cb
mov dword [ebx], 1
mov edx, dword [esi + 0x1ec]
push 0
mov ecx, esi
mov dword [esi + 0x1f0], edx
call fcn.004d9bd0
pop edi
pop esi
pop ebx
ret 4

Function at 0x4733f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [0x67a8cc]
push edi
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edx
push 1
lea eax, [esp + 0x24]
push 0x10
push eax
call esi
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x28]
push ecx
push 1
push 4
push edx
call esi
mov eax, dword [0x67a8cc]
lea edi, [ebx + 0x1f8]
push eax
push 1
push 4
push edi
call esi
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x60]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x70], 0
call esi
add esp, 0x4c
lea eax, [esp + 0xc]
push 4
push str.flag
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x473485
mov dword [edi], 0
mov ecx, dword [0x67a8f0]
mov eax, dword [edi]
test eax, ecx
jne 0x473499
mov dword [esp + 0x24], 0
test byte [ebx + 0x1db], 1
je 0x4734c8
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4734c0
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, eax
call fcn.00495db0
jmp 0x4734c2
xor eax, eax
mov dword [ebx + 0x12c], eax
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x473533
push 0x58
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4734ec
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, eax
call fcn.004406b0
jmp 0x4734ee
xor eax, eax
mov dword [ebx + 0x1fc], eax
mov cl, byte [eax]
test cl, 1
je 0x473533
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x47352b
mov edx, dword [ebx + 0x1fc]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00495db0
pop edi
mov dword [ebx + 0x200], eax
pop esi
pop ebx
add esp, 0x14
ret 4
xor eax, eax
mov dword [ebx + 0x200], eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x473900
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x547306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.00473130
lea edi, [esi + 0x204]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [edi + 0x10], ebp
push 0x24
mov byte [esp + 0x24], 1
mov dword [esi + 0x218], ebp
mov dword [esi + 0x21c], ebp
mov dword [esi], 0x550cac
call fcn.004784b0
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x47397e
mov ecx, dword [0x67a8cc]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, ebx
push eax
call fcn.00495d60
jmp 0x473980
xor eax, eax
mov edx, dword [esp + 0x28]
mov ecx, edi
push edx
mov dword [esi + 0xc4], eax
call fcn.0049dea0
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x10]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, esi
push eax
call fcn.004733f0
test byte [esi + 0x1f8], 4
je 0x4739ee
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebp
je 0x4739e6
push 1
push edi
mov ecx, eax
call fcn.00495db0
jmp 0x4739e8
xor eax, eax
mov dword [esi + 0xcc], eax
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x473e70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x547338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00473130
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x550da0
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x204]
push ecx
push 1
push 4
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x2c]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x3c], 0
call edi
mov edx, dword [0x67a8cc]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.004733f0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x473fe0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x547378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00473130
lea ebx, [esi + 0x218]
push 0x24
mov dword [esp + 0x20], 0
mov dword [esi], 0x550e94
mov dword [ebx], 0
call fcn.004784b0
mov ebp, dword [sym.imp.MSVCRT.dll_ftell]
mov edi, eax
add esp, 4
test edi, edi
je 0x474052
mov ecx, dword [0x67a8cc]
push 0
push ecx
call ebp
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
jmp 0x474054
xor eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0xc4], eax
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x204]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x208]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x20c]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x210]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea edx, [esi + 0x214]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [0x67a8cc]
lea ecx, [esp + 0x34]
push eax
push 1
push 4
push ecx
mov dword [esp + 0x44], 0
call edi
mov eax, dword [0x67a7f0]
add esp, 0x20
cmp eax, 0x1c
jl 0x47410d
mov edx, dword [0x67a8cc]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [0x67a8cc]
push eax
call ebp
add esp, 0x14
mov ecx, esi
push eax
call fcn.004733f0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4742e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5473b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
lea edi, [esi + 0x1d8]
xor ebx, ebx
mov dword [esi + 0x1d4], ebx
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [edi], ebx
mov word [esi + 0x1dc], bx
mov word [esi + 0x1de], bx
mov dword [esi], 0x550f88
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1d0]
push ecx
push 1
push 2
push edx
mov dword [esp + 0x2c], ebx
call ebp
mov eax, dword [0x67a8cc]
push 1
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x67a8cc]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x20
mov ecx, esi
push eax
call fcn.0043ede0
cmp dword [0x67a7f0], 0x1a
jl 0x4743e3
mov edx, dword [0x67a8cc]
push edx
push 1
push 4
push edi
call ebp
mov al, byte [edi]
add esp, 0x10
test al, 1
je 0x4743cf
push 0x24
call fcn.004784b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4743c5
mov eax, dword [0x67a8cc]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
mov dword [esi + 0x134], eax
jmp 0x4743e3
xor eax, eax
mov dword [esi + 0x134], eax
jmp 0x4743e3
mov ecx, dword [0x67a8cc]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov eax, esi
or dh, 1
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x474630
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5473d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
lea edi, [esi + 0x1d8]
mov ebp, dword [sym.imp.MSVCRT.dll_ftell]
xor ebx, ebx
mov dword [esi + 0x1d4], ebx
mov dword [edi], ebx
mov word [esi + 0x1dc], bx
mov word [esi + 0x1de], bx
mov dword [esi], 0x551078
mov ecx, dword [0x67a8cc]
push ecx
mov dword [esp + 0x20], ebx
call ebp
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
cmp dword [0x67a7f0], 0x1a
jl 0x47470b
mov edx, dword [0x67a8cc]
push edx
push 1
push 4
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov al, byte [edi]
add esp, 0x10
test al, 1
je 0x4746f7
push 0x24
call fcn.004784b0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4746ed
mov eax, dword [0x67a8cc]
push 1
push eax
call ebp
add esp, 4
mov ecx, edi
push eax
call fcn.00495d60
mov dword [esi + 0x134], eax
jmp 0x47470b
xor eax, eax
mov dword [esi + 0x134], eax
jmp 0x47470b
mov ecx, dword [0x67a8cc]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov eax, esi
or dh, 1
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4787d0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.005322e0
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [str._proc_meminfo]
mov dword [esp + 8], 0
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push eax
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.MSVCRT.dll__open]
mov edi, eax
add esp, 8
test edi, edi
jle 0x478905
lea edx, [esp + 0x1c]
push 0x1000
push edx
push edi
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
test eax, eax
jle 0x4788fb
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x1c]
push str.MemFree
push eax
call esi
add esp, 8
test eax, eax
je 0x47886f
push eax
call fcn.00478750
add esp, 4
shl eax, 0xa
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x1c]
push str.MemTotal
push ecx
call esi
add esp, 8
test eax, eax
je 0x478892
push eax
call fcn.00478750
add esp, 4
shl eax, 0xa
mov dword [esp + 8], eax
lea edx, [esp + 0x1c]
push str.Cached
push edx
call esi
add esp, 8
test eax, eax
je 0x4788b5
push eax
call fcn.00478750
add esp, 4
shl eax, 0xa
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push str.Buffers
push eax
call esi
add esp, 8
test eax, eax
je 0x4788d8
push eax
call fcn.00478750
add esp, 4
shl eax, 0xa
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push 0x5869cc
push ecx
call esi
add esp, 8
test eax, eax
je 0x4788fb
push eax
call fcn.00478750
add esp, 4
shl eax, 0xa
mov dword [esp + 0x18], eax
push edi
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
mov eax, dword [esp + 0x1020]
mov ecx, 5
lea esi, [esp + 8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x1014
ret

Function at 0x478b50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 0
mov ecx, dword [0x67a8cc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
push edx
push 1
push 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ecx, esi
call fcn.00478b30
pop esi
ret 4

Function at 0x47a560
Capabilities:
Read file on windows

Disassembly:
mov dl, byte [0x563628]
push esi
mov esi, dword [esp + 0xc]
mov eax, 9
mov cl, byte [esi + 0x11]
cmp cl, dl
jne 0x47a57e
mov eax, 0xa
jmp 0x47a58b
cmp cl, byte [0x563624]
jne 0x47a58b
mov eax, 0xc
push eax
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.0047a600
add esp, 0xc
test eax, eax
jle 0x47a5d2
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
mov ecx, dword [esp + 0x1c]
xor eax, eax
push edx
mov al, byte [esi + 0x11]
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov eax, 1
pop esi
ret
xor ecx, ecx
push edi
mov cl, byte [esi + 0x11]
mov edi, dword [esp + 0x14]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
xor eax, eax
pop esi
ret
Function at 0x47a600
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [eax*4 + 0x67a78c]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x47a6f7
mov ecx, dword [0x67a8cc]
push ebx
push ebp
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x38]
push edx
push 1
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x48]
add esp, 0x1c
lea edi, [ecx - 1]
cmp edi, ebx
jl 0x47a6f7
lea eax, [edi + ebx]
mov ecx, dword [0x67a8cc]
cdq
sub eax, edx
push 0
mov esi, eax
sar esi, 1
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x1c]
push edx
push 1
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add esp, 0x1c
cmp ax, cx
jb 0x47a6c5
mov edx, dword [esp + 0x12]
mov ebx, ecx
and edx, 0xffff
and ebx, 0xffff
add edx, ebx
mov ebx, eax
and ebx, 0xffff
cmp ebx, edx
jl 0x47a6ce
lea ebx, [esi + 1]
jmp 0x47a6c8
lea edi, [esi - 1]
cmp ebx, edi
jg 0x47a6f7
jmp 0x47a657
mov edx, dword [esp + 0x28]
and ecx, 0xffff
and eax, 0xffff
pop edi
sub eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x11]
mov edx, dword [esp + 0x10]
imul eax, ecx
add eax, edx
pop esi
add eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x47a710
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x67a8cc]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
push eax
call esi
mov ecx, dword [0x67a8cc]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call ebx
mov eax, dword [esp + 0x2c]
add esp, 0x1c
test eax, eax
jle 0x47a781
push 0
push eax
mov eax, dword [0x67a8cc]
push eax
call esi
mov ecx, dword [0x67a8cc]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push 1
push edx
push eax
call ebx
mov ecx, dword [0x67a8cc]
add edi, 4
push 0
push edi
push ecx
call esi
mov eax, dword [esp + 0x38]
add esp, 0x28
pop edi
pop esi
pop ebx
ret

Function at 0x47ad60
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x47ad8c
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x47ad8c
mov eax, 1
ret
xor eax, eax
ret
Function at 0x47b5b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x400
push ebx
push esi
push 2
push eax
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll__open]
mov esi, eax
add esp, 8
cmp esi, ebx
jle 0x47b65d
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__read]
mov edx, dword [esp + 0x420]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x14
cmp eax, ebx
je 0x47b647
lea ecx, [esp + 0xc]
push ebx
sub eax, ecx
push eax
push esi
call dword [sym.imp.MSVCRT.dll__lseek]
mov edx, dword [esp + 0x424]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.MSVCRT.dll__write]
add esp, 0x18
mov ebx, 1
push esi
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x400
ret
mov eax, ebx
pop esi
pop ebx
add esp, 0x400
ret

Function at 0x47b710
Capabilities:
Read file on windows

Disassembly:
mov eax, 0xa004
call fcn.005322e0
push ebx
push ebp
push esi
push edi
mov ecx, 0x27ff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xa018]
push 0x585050
push eax
or ebx, 0xffffffff
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x47b810
push esi
push 0xa000
lea ecx, [esp + 0x1c]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esp + 0x28]
add esp, 0x14
test edx, edx
lea eax, [esp + 0x14]
je 0x47b810
mov cl, byte [esp + 0x14]
test cl, cl
je 0x47b810
mov ebx, dword [esp + 0xa020]
mov ebp, dword [esp + 0xa024]
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0xa01c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x47b801
cmp byte [edx], 0
je 0x47b801
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xa020]
not ecx
dec ecx
add edx, ecx
test eax, eax
je 0x47b7ed
mov ecx, ebp
mov esi, edx
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [edx + ebp]
inc ecx
add ebx, 0x100
mov dword [esp + 0x10], ecx
jmp 0x47b7a5
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa004
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xa004
ret

Function at 0x47c060
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
mov edx, ecx
dec ecx
test edx, edx
je 0x47c097
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x552c50]
xor eax, edx
inc ecx
dec esi
jne 0x47c077
pop esi
pop ebx
not eax
ret
Function at 0x47f370
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 0
mov ecx, dword [0x67a8cc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [0x67a8cc]
push edx
push 1
push 4
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
pop esi
ret 4

Function at 0x480a20
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [0x67a7f0]
push ebp
cmp eax, 0x1a
mov dword [esp + 4], ecx
jl 0x480a9a
mov ebp, dword [esp + 0x10]
cmp ebp, 0xa0
ja 0x480a9a
test ebp, ebp
jbe 0x480a95
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
push edi
mov edi, dword [esp + 0x18]
lea esi, [ecx + 8]
mov eax, dword [edi]
mov ecx, dword [0x67a8cc]
push 0
push eax
push ecx
call ebx
mov edx, dword [0x67a8cc]
push edx
push 1
push 0x6c
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ecx, esi
call fcn.004804b0
mov ecx, esi
call fcn.004803c0
mov byte [esi + 0x68], 0
add edi, 4
add esi, 0x6c
dec ebp
jne 0x480a50
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
call fcn.00482040
pop ebp
pop ecx
ret 8
Function at 0x481600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov ebp, 1
push eax
call fcn.00482790
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x481651
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x481647
mov cl, byte [esp + 0x14]
test cl, cl
jne 0x481651
mov ebp, 2
jmp 0x4816e4
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00482cc0
mov ecx, eax
call fcn.00482ba0
test eax, eax
mov dword [esp + 0x10], eax
je 0x48168f
lea eax, [esp + 0x10]
push 2
push eax
push 0x23ea
call fcn.00493e00
mov ecx, eax
call fcn.004904b0
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 0x50
ret
mov ecx, esi
call fcn.004814e0
test eax, eax
jl 0x4816e4
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
lea edi, [esi + ecx*4 + 8]
mov ecx, edi
call fcn.004808a0
test eax, eax
jne 0x4816e1
call fcn.00482cc0
test byte [eax], 4
je 0x481721
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, edi
call fcn.00480640
test eax, eax
je 0x481721
push 1
push 0x23ed
call fcn.00493e00
mov ecx, eax
call fcn.004903e0
or ebp, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0x251e
call fcn.00493e00
mov ecx, eax
call fcn.004906f0
lea edx, [esp + 0xc]
push edx
push 0x2526
call fcn.00493e00
mov ecx, eax
call fcn.004906f0
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x50
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.004805c0
mov ecx, esi
call fcn.00482040
mov ecx, 0x65
mov eax, 0x73
mov word [esp + 0x3e], cx
mov word [esp + 0x46], cx
mov word [esp + 0x44], ax
mov ecx, 0x72
mov word [esp + 0x50], ax
mov word [esp + 0x52], ax
lea eax, [esp + 0x34]
mov edi, 0x61
mov edx, 0x20
mov word [esp + 0x48], cx
mov word [esp + 0x58], cx
push 0x14
push eax
mov ecx, esi
mov word [esp + 0x3c], 0x43
mov word [esp + 0x3e], 0x68
mov word [esp + 0x40], di
mov word [esp + 0x42], 0x6e
mov word [esp + 0x44], 0x67
mov word [esp + 0x48], dx
mov word [esp + 0x4a], 0x75
mov word [esp + 0x52], dx
mov word [esp + 0x54], 0x70
mov word [esp + 0x56], di
mov word [esp + 0x5c], 0x77
mov word [esp + 0x5e], 0x6f
mov word [esp + 0x62], 0x64
call fcn.00482350
xor ebp, ebp
jmp 0x4816e4