joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6204c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x6204f7
push 0
lea ecx, [esp + 8]
push ecx
push 4
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6204f7
cmp dword [esp + 4], 4
jne 0x6204f7
add dword [esi + 8], 4
mov al, 1
pop esi
pop ecx
ret 4
xor al, al
pop esi
pop ecx
ret 4

Function at 0x620500
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x620511
xor al, al
pop esi
ret 8
mov eax, dword [esi + 8]
push edi
mov edi, dword [esp + 0x10]
add eax, edi
cmp eax, dword [esi + 0xc]
ja 0x620547
push 0
lea eax, [esp + 0x14]
push eax
push edi
push dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x620547
cmp edi, dword [esp + 0x10]
jne 0x620547
add dword [esi + 8], edi
mov al, 1
pop edi
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8

Function at 0x620550
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x620591
mov eax, dword [esi + 8]
add eax, 4
cmp eax, dword [esi + 0xc]
ja 0x620591
push 0
lea eax, [esp + 8]
push eax
push 4
push dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x620591
cmp dword [esp + 4], 4
jne 0x620591
add dword [esi + 8], 4
mov al, 1
pop esi
pop ecx
ret 4
xor al, al
pop esi
pop ecx
ret 4
Function at 0x6205a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6902d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x71a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
nop dword [eax]
mov edx, dword [ecx + 4]
cmp edx, 0xffffffff
je 0x620727
mov eax, dword [ecx + 8]
inc eax
cmp eax, dword [ecx + 0xc]
ja 0x620727
push 0
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0xd]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x620727
cmp dword [ebp - 0x18], 1
jne 0x620727
mov ecx, dword [ebp - 0x14]
mov al, byte [ebp - 0xd]
inc dword [ecx + 8]
test al, al
je 0x620698
lea edx, [ebp - 0xd]
cmp edx, esi
jae 0x62066c
cmp edi, edx
ja 0x62066c
mov eax, edx
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp esi, ebx
jne 0x62065a
push 1
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x620663
mov al, byte [edi + eax]
mov byte [esi], al
inc esi
mov dword [ebp - 0x24], esi
jmp 0x6205e0
cmp esi, ebx
jne 0x620689
push 1
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x62068f
mov byte [esi], al
inc esi
mov dword [ebp - 0x24], esi
jmp 0x6205e0
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
cmp eax, esi
jae 0x6206d1
cmp edi, eax
ja 0x6206d1
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp esi, ebx
jne 0x6206c6
push 1
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
test esi, esi
je 0x6206ef
mov al, byte [edi + eax]
mov byte [esi], al
jmp 0x6206ef
cmp esi, ebx
jne 0x6206e8
push 1
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x6206ef
mov byte [esi], 0
inc esi
cmp byte [edi], 0
mov dword [ebp - 0x24], esi
jne 0x620708
xor ecx, ecx
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.004023e0
mov al, 1
jmp 0x620729
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x620710
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.004023e0
mov al, 1
jmp 0x620729
xor al, al
mov byte [ebp + 0xb], al
test edi, edi
je 0x620743
sub ebx, edi
mov ecx, edi
push 1
mov edx, ebx
call fcn.004020c0
mov al, byte [ebp + 0xb]
add esp, 4
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 0x620760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d368
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x71a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0xc], ebx
jle 0x620861
nop dword [eax]
mov edx, dword [ecx + 4]
cmp edx, 0xffffffff
je 0x62089a
mov eax, dword [ecx + 8]
inc eax
cmp eax, dword [ecx + 0xc]
ja 0x62089a
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0xd]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x62089a
cmp dword [ebp - 0x1c], 1
jne 0x62089a
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xd]
inc dword [ecx + 8]
cmp eax, esi
jae 0x62082a
cmp edi, eax
ja 0x62082a
sub eax, edi
mov dword [ebp - 0x20], eax
cmp esi, ebx
jne 0x620821
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404580
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x62084d
mov al, byte [edi + eax]
jmp 0x62084b
cmp esi, ebx
jne 0x620844
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404580
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x62084d
mov al, byte [ebp - 0xd]
mov byte [esi], al
mov eax, dword [ebp - 0x18]
inc esi
inc eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0xc]
jl 0x6207b0
lea eax, [ebp + 0xf]
mov byte [ebp + 0xf], 0
cmp eax, esi
jae 0x62089e
cmp edi, eax
ja 0x62089e
sub eax, edi
mov dword [ebp - 0x20], eax
cmp esi, ebx
jne 0x62088f
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404580
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x6208bc
mov al, byte [edi + eax]
mov byte [esi], al
jmp 0x6208bc
xor al, al
jmp 0x6208e5
cmp esi, ebx
jne 0x6208b5
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404580
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x6208bc
mov byte [esi], 0
inc esi
cmp byte [edi], 0
mov dword [ebp - 0x28], esi
jne 0x6208c9
xor ecx, ecx
jmp 0x6208d9
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6208d0
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.004023e0
mov al, 1
mov byte [ebp + 0xf], al
test edi, edi
je 0x6208ff
sub ebx, edi
mov ecx, edi
push 1
mov edx, ebx
call fcn.004020c0
mov al, byte [ebp + 0xf]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x620960
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, ecx
mov edi, dword [eax + 0x10]
test edi, edi
jle 0x62099c
cmp dword [eax + 0x14], 0x10
jb 0x620977
mov eax, dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x6209da
push 0
lea edx, [esp + 0x10]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6209da
cmp edi, dword [esp + 0xc]
jne 0x6209da
add dword [esi + 8], edi
cmp byte [esp + 0x10], 0
je 0x6209d3
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
cmp eax, 0xffffffff
je 0x6209da
push 0
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6209da
cmp dword [esp + 0xc], 1
jne 0x6209da
inc dword [esi + 8]
pop edi
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8

Function at 0x6227c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6897f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00620bb0
test al, al
je 0x6227fc
mov al, 1
jmp 0x6228c4
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00403720
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x622826
lea ecx, [ebp - 0x28]
call fcn.006227c0
test al, al
jne 0x622826
xor bl, bl
jmp 0x6228ac
cmp dword [esi + 0x10], 3
jne 0x622891
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x622838
mov ecx, dword [esi]
jmp 0x62283a
mov ecx, esi
cmp byte [ecx], 0x61
jb 0x62284f
cmp eax, 0x10
jb 0x622848
mov ecx, dword [esi]
jmp 0x62284a
mov ecx, esi
cmp byte [ecx], 0x7a
jbe 0x62286f
cmp eax, 0x10
jb 0x622858
mov ecx, dword [esi]
jmp 0x62285a
mov ecx, esi
cmp byte [ecx], 0x41
jb 0x622891
cmp eax, 0x10
jb 0x622868
mov ecx, dword [esi]
jmp 0x62286a
mov ecx, esi
cmp byte [ecx], 0x5a
ja 0x622891
cmp eax, 0x10
jb 0x622878
mov ecx, dword [esi]
jmp 0x62287a
mov ecx, esi
cmp byte [ecx + 1], 0x3a
jne 0x622891
cmp eax, 0x10
jb 0x622889
mov eax, dword [esi]
jmp 0x62288b
mov eax, esi
cmp byte [eax + 2], 0x5c
je 0x6228aa
cmp dword [esi + 0x14], 0x10
jb 0x622899
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x6228aa
xor bl, bl
jmp 0x6228ac
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x6228c2
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret
Function at 0x622c00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5b98
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x71a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00622ec0
mov dword [ebp - 0x58], vtable.filesystem::CFile.0
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00620060
test al, al
jne 0x622c68
xor bl, bl
jmp 0x622da9
push 8
lea ecx, [ebp - 0x48]
call fcn.00440910
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
sub edi, esi
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xffffffff
je 0x622d92
mov eax, dword [ebp - 0x50]
add eax, edi
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x4c]
ja 0x622d92
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x622d92
cmp edi, dword [ebp - 0x10]
jne 0x622d92
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [esi + edi]
mov dword [ebp - 0x24], vtable.fileimage::CFileImageAnalyser.0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.00622f60
test al, al
je 0x622d92
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.00620550
test al, al
je 0x622d92
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x622d08
mov bl, 1
jmp 0x622d94
push eax
lea ecx, [ebp - 0x3c]
call fcn.00440910
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
sub eax, edi
push eax
push edi
mov dword [ebp - 0x14], eax
call fcn.00620500
test al, al
je 0x622d86
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x30], vtable.fileimage::CFileImageAnalyser.0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00623020
test al, al
je 0x622d86
call fcn.0063b6d0
mov dword [ebx + 0x34], eax
test eax, eax
je 0x622d86
mov eax, dword [ebp + 8]
lea ecx, [ebx + 8]
mov dword [ebx + 4], 1
cmp ecx, eax
je 0x622d7a
push 0xffffffffffffffff
push 0
push eax
call fcn.004024e0
lea ecx, [ebp - 0x3c]
mov bl, 1
call fcn.00404550
jmp 0x622d94
lea ecx, [ebp - 0x3c]
xor bl, bl
call fcn.00404550
jmp 0x622d94
xor bl, bl
test esi, esi
je 0x622da9
mov edx, dword [ebp - 0x40]
mov ecx, esi
push 1
sub edx, esi
call fcn.004020c0
add esp, 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xffffffff
je 0x622db8
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
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 0x637f51
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x637f74
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x7c], 0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x637fc0
push 0
push 0
call fcn.00675eb6
add esp, 0x18
test eax, eax
jne 0x637f96
xor al, al
pop esi
pop ecx
ret
mov dword [esi + 0x7c], eax
mov al, 1
pop esi
pop ecx
ret
Function at 0x6396c1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x6396e4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x639730
push 0
push 0
call fcn.00675eb6
add esp, 0x18
test eax, eax
jne 0x639706
xor al, al
pop esi
pop ecx
ret
mov dword [esi + 0x38], eax
mov al, 1
pop esi
pop ecx
ret

Function at 0x639920
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69fa78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x71a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x48]
push 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x639983
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
cmp eax, 1
jne 0x639a12
cmp byte [esi], 0
je 0x6399ad
mov byte [esi], 0
mov al, 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 0xc
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x6399bd
mov eax, dword [ebp + 0xc]
inc dword [eax]
cmp dword [eax], ecx
jge 0x63996d
cmp dword [edi + 0x14], 0
je 0x639a08
lea eax, [edi + 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00610530
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [edi + 0x18]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [edi + 0x18]
push 0
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.006105a0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x24], eax
mov ecx, edi
call fcn.00639b30
test al, al
je 0x639a20
mov byte [esi], 1
cmp dword [edi + 0x14], 0
jne 0x639a4e
cmp dword [edi + 0x24], 0xffffffff
je 0x639a4e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x24]
cmp eax, esi
jb 0x639a4e
mov eax, dword [edi + 0x48]
test eax, eax
je 0x639a4e
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
lea ecx, [edi + 0x6c]
sub ebx, dword [edi + 0x24]
push 0x64
call fcn.0048bb10
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 0x6c]
push ebx
mov esi, dword [edx + 0x30]
sub esi, dword [ebp + 8]
add esi, eax
call fcn.0048bb10
cmp eax, esi
sbb eax, eax
neg 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 0xc
Function at 0x63b950
Capabilities:
Hash data with crc32

Disassembly:
test edx, edx
jne 0x63b957
xor eax, eax
ret
jmp fcn.0063b960
Function at 0x6443c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, edx
mov eax, 8
mov edx, dword [esp + 0x44]
mov ebx, 1
sub eax, edx
mov ebp, ebx
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov ecx, eax
mov dword [esp + 0x20], edi
shl ebp, cl
mov ecx, 0x10
sub ecx, edx
mov dword [esp + 0x18], ebp
mov ebp, ebx
shl ebp, cl
mov ecx, 0xf
sub ecx, edx
dec ebp
mov edx, dword [esp + 0x18]
shl ebx, cl
mov ecx, edi
shl edx, 2
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
call fcn.00645540
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esi], eax
cmp dword [esp + 0x18], ebx
jbe 0x6445bd
mov esi, dword [esp + 0x14]
nop
test edi, edi
je 0x644461
mov eax, dword [edi + 0x274]
push 0x200
test eax, eax
je 0x64444b
push edi
call eax
add esp, 8
jmp 0x644453
call fcn.0067647e
add esp, 4
mov edi, eax
test edi, edi
je 0x6445c5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [eax + ebx*4], edi
lea eax, [ecx - 0x17318]
cmp eax, 0x2710
jbe 0x644573
movsd xmm1, qword [0x6db958]
mov eax, ebp
movd xmm0, ebp
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0x24], 0
mov ebp, dword [esp + 0x24]
movd xmm2, ecx
addsd xmm0, qword [eax*8 + 0x6dbe50]
cvtdq2pd xmm2, xmm2
divsd xmm1, xmm0
mulsd xmm2, qword [0x6db8b0]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x38], xmm2
mov ecx, esi
mov eax, ebp
shl eax, cl
add eax, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6dbe50]
mulsd xmm0, xmm1
movaps xmm1, xmm2
call fcn.006871ea
movsd xmm3, qword [0x6dba70]
movaps xmm4, xmm0
mulsd xmm4, qword [0x6db9c8]
movsd xmm1, qword [0x6dba30]
addsd xmm4, qword [0x6db950]
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltsd xmm0, qword [0x6dba30]
andps xmm1, xmm0
orps xmm1, xmm3
addsd xmm2, xmm1
subsd xmm2, xmm1
movsd xmm1, qword [0x6db958]
movaps xmm0, xmm2
subsd xmm0, xmm4
cmpnlesd xmm0, xmm3
andps xmm0, xmm1
movsd xmm1, qword [esp + 0x30]
subsd xmm2, xmm0
cvttsd2si eax, xmm2
movsd xmm2, qword [esp + 0x38]
mov word [edi + ebp*2], ax
inc ebp
cmp ebp, 0x100
jb 0x6444c3
mov ebp, dword [esp + 0x28]
jmp 0x6445aa
mov ecx, dword [esp + 0x14]
xor esi, esi
nop dword [eax]
mov eax, esi
shl eax, cl
add eax, ebx
cmp dword [esp + 0x48], 0
je 0x64459b
imul eax, eax, 0xffff
xor edx, edx
add eax, dword [esp + 0x2c]
div ebp
mov word [edi + esi*2], ax
inc esi
cmp esi, 0x100
jb 0x644580
mov esi, ecx
mov edi, dword [esp + 0x20]
inc ebx
mov eax, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x18]
jb 0x644430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x20]
mov edx, 0x71bd78
call fcn.00644f30
int3
Function at 0x6445e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, edx
mov eax, 8
sub eax, dword [ebp + 8]
mov edx, 1
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, 0x10
sub eax, dword [ebp + 8]
shl edx, cl
mov ecx, edi
mov dword [esp + 0x10], edx
shl edx, 2
mov dword [esp + 0x20], eax
call fcn.00645540
mov ebx, eax
mov dword [esi], ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x10], esi
jbe 0x644669
nop
test edi, edi
jne 0x644638
xor eax, eax
jmp 0x64465f
mov eax, dword [edi + 0x274]
push 0x200
test eax, eax
je 0x64464f
push edi
call eax
add esp, 8
jmp 0x644657
call fcn.0067647e
add esp, 4
test eax, eax
je 0x6447db
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x644630
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
imul eax, eax, 0x101
movzx eax, ax
movzx ecx, ax
sub ecx, 0xffffff80
mov dword [esp + 0x24], eax
lea eax, [ecx - 1]
cmp eax, 0xfffd
ja 0x64472e
movd xmm1, dword [ebp + 0xc]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm0, qword [ecx*8 + 0x6dbe50]
mulsd xmm1, qword [0x6db8b0]
mulsd xmm0, qword [0x6db8b8]
call fcn.006871ea
movsd xmm3, qword [0x6dba70]
movaps xmm4, xmm0
mulsd xmm4, qword [0x6db9c8]
movsd xmm1, qword [0x6dba30]
addsd xmm4, qword [0x6db950]
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltsd xmm0, qword [0x6dba30]
andps xmm1, xmm0
orps xmm1, xmm3
addsd xmm2, xmm1
subsd xmm2, xmm1
movsd xmm1, qword [0x6db958]
movaps xmm0, xmm2
subsd xmm0, xmm4
cmpnlesd xmm0, xmm3
andps xmm0, xmm1
subsd xmm2, xmm0
cvttsd2si eax, xmm2
movzx eax, ax
jmp 0x644731
movzx eax, cx
mov ecx, dword [esp + 0x20]
movzx eax, ax
mov edx, eax
shl edx, cl
sub edx, eax
mov eax, 0x80008001
add edx, 0x8000
mul edx
mov edi, edx
shr edi, 0xf
inc edi
cmp esi, edi
jae 0x644780
mov ecx, dword [ebp + 8]
mov ebx, 0xff
shr ebx, cl
nop
mov ecx, dword [esp + 0x14]
mov edx, esi
shr edx, cl
mov eax, ebx
mov ecx, dword [esp + 0x1c]
and eax, esi
inc esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov word [eax + edx*2], cx
cmp esi, edi
jb 0x644760
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0xff
jb 0x644671
mov edi, dword [esp + 0x10]
shl edi, 8
cmp esi, edi
jae 0x6447d4
mov ecx, dword [ebp + 8]
mov eax, 0xff
mov ebx, dword [esp + 0x1c]
sar eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
and eax, esi
mov edx, esi
shr edx, cl
inc esi
mov ecx, 0xffff
mov eax, dword [ebx + eax*4]
mov word [eax + edx*2], cx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp esi, edi
jb 0x6447b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x71bd78
mov ecx, edi
call fcn.00644f30
int3
Function at 0x645390
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
push 2
call fcn.00676869
add esp, 4
push eax
call fcn.00644f10
add esp, 0xc
push 0x71bc7c
push 2
call fcn.00676869
add esp, 4
push eax
call fcn.00644f10
add esp, 8
test esi, esi
je 0x6453e8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x6453e8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x6453e8
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x658290
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
je 0x65830c
push ebp
mov ebp, dword [ebx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ebx]
xor esi, esi
mov dword [edi + 0x16], eax
test ebp, ebp
jle 0x6582ca
nop word [eax + eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x6c77c0]
cmp esi, ebp
jl 0x6582b0
mov ebp, dword [ebx + 0xc]
xor esi, esi
test ebp, ebp
jle 0x6582f0
mov ebx, dword [ebx + 8]
movzx edx, byte [ebx + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x6c77c0]
cmp esi, ebp
jl 0x6582d6
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebp
pop ebx
ret