joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4564d1
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
call fcn.00464e47
test eax, eax
jne 0x456517
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call fcn.0050d610
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push dword [ebp + 0xc]
mov byte [ebp - 0xd], 0
push eax
call fcn.004563bc
jmp 0x456620
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
jne 0x456544
mov eax, 0x88760389
jmp 0x45661e
push ebx
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x45655f
mov esi, 0x8876038f
jmp 0x4565d8
cmp dword [ebp - 8], edi
jg 0x45656b
jl 0x456558
cmp eax, 0x20
jb 0x456558
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x456558
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x456599
mov esi, 0x8876038f
jmp 0x4565d1
push 0x54
call fcn.00508280
cmp eax, edi
pop ecx
je 0x4565bd
push dword [ebp - 0xc]
mov ecx, eax
push dword [ebp + 8]
push ebx
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.004551cb
mov esi, eax
jmp 0x4565bf
xor esi, esi
cmp esi, edi
jne 0x4565e5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, 0x8007000e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x45661d
mov ecx, esi
call fcn.00455322
mov ebx, eax
cmp ebx, edi
jge 0x4565fc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x45661d
mov ecx, esi
call fcn.0045623e
mov ebx, eax
cmp ebx, edi
jl 0x4565f2
mov ecx, esi
call fcn.00455f09
mov ebx, eax
cmp ebx, edi
jl 0x4565f2
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x458750
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x458773
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x458799
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x458780
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret
Function at 0x4589f0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x458a27
push esi
call fcn.00477c90
mov eax, dword [esi + 0x40]
test eax, eax
je 0x458a20
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x458aa6
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x458a90
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x458a4a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x458a89
cmp eax, 2
je 0x458a90
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x458a40
cmp eax, 3
je 0x458a6d
cmp eax, 1
jne 0x458a40
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x458a40
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x458a40
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.00458750
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x458abd
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.00458750
pop esi
pop ebp
ret 4

Function at 0x463247
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x463289
cmp dword [esi], 0
je 0x463289
mov ebx, eax
jmp 0x46327f
push 0
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x463289
mov eax, dword [ebp - 4]
add ebx, eax
sub dword [esi + 8], eax
cmp dword [esi + 8], 0
jg 0x463261
xor eax, eax
jmp 0x46328e
mov eax, 0x80004005
pop esi
pop ebx
leave
ret
Function at 0x464471
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
jl 0x4644a3
jg 0x4644cf
cmp eax, 0xffffffff
ja 0x4644cf
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4644c9
mov eax, 0x8876038f
jmp 0x4645d4
cmp dword [ebp - 4], 0x10
je 0x4644d7
push 0xe
pop eax
jmp 0x4645d4
push esi
push edi
mov esi, 0x60f414
lea edi, [ebp - 0x27]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4645cd
push edi
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4645cd
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x8000
push edi
push dword [ebp - 0x18]
jmp 0x4645bc
cmp dword [ebp - 4], 0
je 0x4645d9
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push 0x8008
push dword [ebx + 0x10]
push dword [ebp - 4]
push dword [ebx + 0xc]
push dword [ebx]
call fcn.0049e157
test eax, eax
jne 0x4645dd
push eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4645cd
push 0
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4645cd
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4645cd
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x4645dd
mov eax, dword [ebx + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
add eax, edi
push edi
mov byte [ebp - 0x10], 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46452f
mov eax, 0x8876038f
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x4645d2
mov eax, 0x8007000e
jmp 0x4645d2
Function at 0x4645e4
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
push edi
lea eax, [ebp - 0x130]
push eax
xor edi, edi
push edi
push 0x60f41c
push 0x60f418
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x464618
mov eax, 0x88760387
jmp 0x4646ea
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x130]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x464649
mov eax, 0x8876038f
jmp 0x4646e9
push ebx
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x464671
mov dword [ebp - 4], 0x8876038f
jmp 0x4646a8
lea ecx, [ebp - 0x2c]
call fcn.00464312
lea ecx, [ebp - 0x2c]
call fcn.004643b9
test eax, eax
jne 0x46468e
mov dword [ebp - 4], 0x8007000e
jmp 0x46469d
push dword [ebp - 8]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00464471
mov dword [ebp - 4], eax
push esi
call ebx
lea ecx, [ebp - 0x2c]
call fcn.00464331
push dword [ebp - 8]
call ebx
cmp dword [ebp - 4], edi
pop ebx
jge 0x4646c2
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4646e6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4646e6
mov dword [ebp - 4], 0x8876038f
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret 4

Function at 0x4646ef
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
push edi
lea eax, [ebp - 0x234]
push eax
xor edi, edi
push edi
push 0x60f424
push 0x60f420
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x464723
mov eax, 0x88760387
jmp 0x4647f5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x234]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x464754
mov eax, 0x8876038f
jmp 0x4647f4
push ebx
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46477c
mov dword [ebp - 4], 0x8876038f
jmp 0x4647b3
lea ecx, [ebp - 0x2c]
call fcn.00464312
lea ecx, [ebp - 0x2c]
call fcn.004643b9
test eax, eax
jne 0x464799
mov dword [ebp - 4], 0x8007000e
jmp 0x4647a8
push dword [ebp - 8]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00464471
mov dword [ebp - 4], eax
push esi
call ebx
lea ecx, [ebp - 0x2c]
call fcn.00464331
push dword [ebp - 8]
call ebx
cmp dword [ebp - 4], edi
pop ebx
jge 0x4647cd
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4647f1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4647f1
mov dword [ebp - 4], 0x8876038f
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret 4
Function at 0x467000
Capabilities:
Get memory capacity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push str.kernel32.dll
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [ebp + 8]
xor edi, edi
cmp eax, edi
mov dword [ebp - 8], eax
je 0x46704f
push ebx
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x467041
push esi
call ebx
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, edi
pop ebx
jne 0x4670a2
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x46798b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
call fcn.004639bf
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], ecx
jne 0x4679bd
mov eax, 0x80004005
jmp 0x467ad3
mov ecx, eax
mov dword [ebp + 8], ebx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4679c5
push ebx
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [ebp + 8]
push edx
inc ecx
push ecx
push eax
push dword [edi + 0x30]
call esi
test eax, eax
jne 0x4679ef
mov eax, 0x8007000e
jmp 0x467ad3
mov eax, dword [ebp - 4]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4679f5
push ebx
sub eax, ecx
lea ecx, [ebp + 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push dword [edi + 0x30]
call esi
test eax, eax
je 0x4679e5
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x467ab4
cmp dword [ecx], ebx
mov dword [ebp - 4], ebx
jbe 0x467ab4
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
cmp dword [eax], ebx
mov dword [ebp - 0xc], eax
je 0x467a58
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x60f621
push dword [edi + 0x30]
call esi
test eax, eax
je 0x4679e5
push ebx
lea eax, [ebp + 8]
push eax
push 4
push dword [ebp - 0xc]
jmp 0x467a96
cmp dword [eax + 4], ebx
je 0x467aa6
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x60f620
push dword [edi + 0x30]
call esi
test eax, eax
je 0x4679e5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x467a84
sub eax, dword [ebp - 0xc]
push ebx
lea edx, [ebp + 8]
push edx
inc eax
push eax
push ecx
push dword [edi + 0x30]
call esi
test eax, eax
je 0x4679e5
mov ecx, dword [ebp - 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ecx]
jb 0x467a27
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x60f61f
push dword [edi + 0x30]
call esi
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x467d01
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x10
lea eax, [edi + 8]
mov esi, ecx
push eax
push dword [esi + 0x30]
mov dword [ebp - 0xc], esi
call ebx
test eax, eax
je 0x467ddd
mov ecx, dword [edi + 4]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x467d45
sub eax, dword [ebp - 0x10]
push 0
lea edx, [ebp - 4]
push edx
inc eax
push eax
push ecx
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x467da8
and dword [ebp - 8], 0
cmp dword [edi], 0
jbe 0x467da8
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x60f621
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [eax + ecx*4]
mov ecx, esi
call fcn.0046798b
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x467e12
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edi]
jb 0x467d71
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x60f61f
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x24], ecx
jne 0x467de4
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0x60f61e
push dword [esi + 0x30]
call ebx
test eax, eax
jne 0x467e0f
mov eax, 0x8007000e
jmp 0x467e12
mov eax, dword [eax + 0x20]
cmp eax, ecx
mov dword [ebp - 0x10], eax
je 0x467df5
cmp dword [eax], ecx
mov dword [ebp + 8], ecx
ja 0x467e1c
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0x60f61f
push dword [esi + 0x30]
call ebx
test eax, eax
mov eax, 0x8007000e
je 0x467e12
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
push 4
lea esi, [eax + 4]
pop ecx
mov dword [ebp - 8], eax
xor eax, eax
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x18], esi
mov edi, 0x621b98
push eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [ebp - 0xc]
push 1
je 0x467e8b
push 0x60f621
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
mov eax, dword [ebp - 8]
mov edi, dword [eax]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x467e5f
push 0
sub eax, ecx
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push edi
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
push 0
lea eax, [ebp - 4]
push eax
push 0x10
push dword [ebp - 0x18]
jmp 0x467eb9
push 0x60f620
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
mov eax, dword [ebp - 8]
mov edi, dword [eax]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x467ea7
sub eax, ecx
push 0
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push edi
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x467ddd
inc dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jb 0x467e19
mov esi, dword [ebp - 0xc]
xor ecx, ecx
jmp 0x467df5
Function at 0x47a334
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x47a343
xor eax, eax
jmp 0x47a426
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x47a406
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
inc edx
dec edi
jne 0x47a363
pop edi
test eax, eax
je 0x47a420
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x60faa8]
inc edx
dec eax
jne 0x47a40a
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x47c0d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x47c0fd
test ecx, ecx
jne 0x47c107
test esi, esi
jne 0x47c107
mov eax, edx
jmp 0x47c178
cmp eax, 0xffffffff
jne 0x47c107
push 0xfffffffffffffffe
pop eax
jmp 0x47c178
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x47c178
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x47c13d
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x47c15c
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x47c225
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x47c19d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47c1a7
xor ecx, ecx
jmp 0x47c1e6
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x47c1c9
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.004b7957
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
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, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x47c211
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x47c225
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47c0df
pop edi
pop esi
leave
ret
Function at 0x49858d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x4985ae
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x4985b0
xor eax, eax
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov dword [edx + 4], eax
movzx eax, word [ecx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 4]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 6]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 0xa]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x20]
imul eax, dword [edx + 0x18]
imul eax, dword [edx + 0x1c]
shl eax, 2
mov dword [edx + 0x28], eax
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x498623
mov eax, dword [ecx]
mov eax, dword [eax + 8]
add eax, esi
jmp 0x498625
xor eax, eax
pop edi
mov dword [edx + 0x2c], eax
xor eax, eax
pop esi
pop ebp
ret 4