joyce8/EMBER2024-capa huggingface dataset:
Function at 0xabba83c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0aba44f8
xor eax, eax
push ebp
push 0xabba912
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0abba754
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0xabba87f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0xabba8ea
mov eax, edx
test eax, eax
je 0xabba88e
sub eax, 4
mov eax, dword [eax]
sar eax, 1
jns 0xabba895
adc eax, 0
test eax, eax
jle 0xabba8ea
mov dword [ebp - 0x10], eax
mov esi, 1
mov ebx, 0xabc9314
lea eax, [ebp - 8]
call fcn.0aba498c
mov edi, esi
add edi, edi
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi - 2]
mov ecx, dword [ebx]
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 2], dl
lea eax, [ebp - 8]
call fcn.0aba498c
mov edx, dword [ebp - 8]
movzx edx, byte [edx + edi - 1]
movzx ecx, byte [ebx]
and cl, 0xff
xor dl, cl
mov byte [eax + edi - 1], dl
inc esi
add ebx, 4
dec dword [ebp - 0x10]
jne 0xabba8a6
lea ebx, [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.0aba482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xabba919
lea eax, [ebp - 8]
mov edx, 2
call fcn.0aba4494
ret
Function at 0xabc1080
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
and eax, 0x70
test eax, eax
je 0xabc109e
mov eax, 1
movzx eax, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4010be
Capabilities:
Write file on windows

Disassembly:
jmp 0x4049b4
push 8
mov eax, 0x439944
call fcn.0040bc47
cmp dword [ebp + 8], 0
je 0x404aa1
push dword [ebp + 8]
call fcn.0040afb6
test eax, eax
pop ecx
je 0x404aa1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004013ca
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00401460
mov dword [esp], 0x43f9bc
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401375
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040150a
push dword [ebp - 0x10]
call fcn.0040235f
test eax, eax
pop ecx
push 0x20
jne 0x404a32
push 0x43f998
jmp 0x404a37
push 0x43f974
push dword [ebp - 0x10]
call fcn.0040c020
mov esi, eax
add esp, 0xc
test esi, esi
je 0x404a8b
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x43f94c
call fcn.004013ca
lea eax, [ebp - 0x14]
push eax
call fcn.004016ef
pop ecx
pop ecx
push 0x43f944
lea ecx, [ebp - 0x14]
call fcn.004013cf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push esi
push 1
add ecx, ecx
push ecx
push eax
call fcn.0040bf9e
push esi
call fcn.0040bdc3
add esp, 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401050
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401050
call fcn.0040bd1f
ret 4
Function at 0x4012bc
Capabilities:
Create process on windows

Disassembly:
jmp 0x407286
push 0x58
mov eax, 0x439cdd
call fcn.0040bc47
push 0x44988c
lea ecx, [ebp - 0x10]
call fcn.0040147e
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor esi, esi
push 0x43fd30
push eax
mov dword [ebp - 4], esi
call fcn.00401249
push 0x44
pop edi
push edi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0040d8b0
push 0x10
lea eax, [ebp - 0x20]
push esi
push eax
mov dword [ebp - 0x64], edi
call fcn.0040d8b0
mov ebx, dword [ebp - 0x10]
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x407320
cmp dword [ebp + 0x10], esi
je 0x407305
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp + 0x14], esi
mov dword [ebp - 0x1c], esi
je 0x407320
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x20]
lea ecx, [ebx - 0x10]
call fcn.00401050
mov eax, esi
call fcn.0040bd1f
ret

Function at 0x401460
Capabilities:
Get common file path

Disassembly:
jmp 0x40778a
push 0x41c
mov eax, 0x439e3a
call fcn.0040bcb0
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x44988c
mov ecx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], esi
call fcn.0040147e
mov edi, 0x206
push edi
lea eax, [ebp - 0x41e]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x424], 1
mov word [ebp - 0x420], si
call fcn.0040d8b0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x407868
push edi
lea eax, [ebp - 0x216]
push esi
push eax
mov word [ebp - 0x218], si
call fcn.0040d8b0
lea eax, [ebp - 0x420]
push eax
push 0x43fd6c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040e120
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401672
lea eax, [ebp - 0x218]
push eax
call fcn.004016cc
test eax, eax
pop ecx
jne 0x407868
lea eax, [ebp - 0x218]
push eax
call fcn.0040168b
test eax, eax
pop ecx
jne 0x407868
mov ecx, ebx
call fcn.004013b1
mov eax, ebx
call fcn.0040bd33
ret
Function at 0x40168b
Capabilities:
Create directory

Disassembly:
jmp 0x407699
push 0x5c
mov eax, 0x439de4
call fcn.0040bcb0
mov eax, dword [ebp + 8]
xor esi, esi
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
call fcn.0040117c
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 7
call fcn.00401370
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
jbe 0x40773b
push edi
push 0x43f554
lea ecx, [ebp - 0x48]
call fcn.0040169f
mov edi, eax
push edi
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040144c
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004014a6
push esi
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00401127
inc ebx
cmp ebx, 1
je 0x407735
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x407725
lea eax, [ebp - 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xffffffff
mov dword [ebp - 0x4c], eax
je 0x40773b
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x4076d6
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401127
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401127
mov eax, dword [ebp - 0x4c]
call fcn.0040bd33
ret

Function at 0x4016cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x405c84
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405c9b
test al, 0x10
je 0x405c9b
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x40a339
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4481f4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040a198
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040d8b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40a388
cmp dword [ebp - 0x1c], 5
jb 0x40a3a0
jmp 0x40a39c
cmp dword [ebp - 0x10], 1
jne 0x40a3a0
cmp dword [ebp - 0x1c], 4
ja 0x40a39c
jne 0x40a3a0
cmp dword [ebp - 0x18], 0
jbe 0x40a3a0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x441570
call fcn.00409f55
test eax, eax
jge 0x40a3c1
mov byte [0x4497e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040bc38
add ebp, 0x78
leave
ret

Function at 0x40bc38
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4481f4]
jne 0x40bc42
repz ret
jmp fcn.00414edc
Function at 0x41f126
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x448f18]
je 0x41f141
inc edi
cmp edi, 0x17
jb 0x41f132
cmp edi, 0x17
jae 0x41f2c1
push ebp
push 3
call fcn.0042bf66
cmp eax, 1
pop ecx
je 0x41f28d
push 3
call fcn.0042bf66
test eax, eax
pop ecx
jne 0x41f175
cmp dword [0x448210], 1
je 0x41f28d
cmp ebx, 0xfc
je 0x41f2c0
push 0x442fe8
mov ebx, 0x314
push ebx
mov ebp, 0x449e08
push ebp
call fcn.00411fed
add esp, 0xc
test eax, eax
je 0x41f1ab
push esi
push esi
push esi
push esi
push esi
call fcn.0040dc14
add esp, 0x14
push 0x104
mov esi, 0x449e21
push esi
push 0
mov byte [0x449f25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41f1ef
push 0x442fd0
push 0x2fb
push esi
call fcn.00411fed
add esp, 0xc
test eax, eax
je 0x41f1ef
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040dc14
add esp, 0x14
push esi
call fcn.0040b250
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41f234
push esi
call fcn.0040b250
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44a11c
push 0x442fcc
sub ecx, eax
push ecx
push eax
call fcn.004195b6
add esp, 0x14
test eax, eax
je 0x41f234
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040dc14
add esp, 0x14
jmp 0x41f236
xor esi, esi
push 0x442fc8
push ebx
push ebp
call fcn.004194f6
add esp, 0xc
test eax, eax
je 0x41f256
push esi
push esi
push esi
push esi
push esi
call fcn.0040dc14
add esp, 0x14
push dword [edi*8 + 0x448f1c]
push ebx
push ebp
call fcn.004194f6
add esp, 0xc
test eax, eax
je 0x41f278
push esi
push esi
push esi
push esi
push esi
call fcn.0040dc14
add esp, 0x14
push 0x12010
push 0x442fa0
push ebp
call fcn.0042bda9
add esp, 0xc
jmp 0x41f2c0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41f2c0
cmp ebp, 0xffffffff
je 0x41f2c0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x448f1c]
push dword [esi]
call fcn.0040b250
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42bda9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00414869
xor ebx, ebx
cmp dword [0x44a354], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42be7f
push 0x443c10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42bf5f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443c04
push edi
call esi
cmp eax, ebx
je 0x42bf5f
push eax
call fcn.004147fb
mov dword [esp], 0x443bf4
push edi
mov dword [0x44a354], eax
call esi
push eax
call fcn.004147fb
mov dword [esp], 0x443be0
push edi
mov dword [0x44a358], eax
call esi
push eax
call fcn.004147fb
mov dword [0x44a35c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418ff1
test eax, eax
pop ecx
pop ecx
je 0x42be4d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040dc14
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42be7f
push 0x443bc4
push edi
call esi
push eax
call fcn.004147fb
cmp eax, ebx
pop ecx
mov dword [0x44a364], eax
je 0x42be7f
push 0x443bac
push edi
call esi
push eax
call fcn.004147fb
pop ecx
mov dword [0x44a360], eax
mov eax, dword [0x44a360]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42bf04
cmp dword [0x44a364], ecx
je 0x42bf04
push eax
call fcn.00414872
push dword [0x44a364]
mov esi, eax
call fcn.00414872
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42bf04
cmp edi, ebx
je 0x42bf04
call esi
cmp eax, ebx
je 0x42bed1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42bed1
test byte [ebp - 0x18], 1
jne 0x42bf04
lea eax, [ebp - 0x10]
push eax
call fcn.004190a0
test eax, eax
pop ecx
je 0x42beec
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040dc14
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42befb
or dword [ebp + 0x10], 0x200000
jmp 0x42bf3f
or dword [ebp + 0x10], 0x40000
jmp 0x42bf3f
mov eax, dword [0x44a358]
cmp eax, dword [ebp - 8]
je 0x42bf3f
push eax
call fcn.00414872
cmp eax, ebx
pop ecx
je 0x42bf3f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42bf3f
mov eax, dword [0x44a35c]
cmp eax, dword [ebp - 8]
je 0x42bf3f
push eax
call fcn.00414872
cmp eax, ebx
pop ecx
je 0x42bf3f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44a354]
call fcn.00414872
cmp eax, ebx
pop ecx
je 0x42bf5f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42bf61
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44cce9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x44cce9
lcall 0x5de5, 0x8b10c483
jmp loc.0096aa4c
Function at 0x404890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x4048b3
cmp dword [ebp + 0x10], 0
je 0x4048b3
call fcn.00405b30
test eax, eax
jne 0x4048bb
mov eax, dword [ebp - 8]
jmp 0x40497b
mov byte [ebp - 0x18], 0x7b
mov byte [ebp - 0x17], 0x25
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x7c
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x7c
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x7d
mov byte [ebp - 0xe], 0
call fcn.00405b30
mov esi, dword [eax + 0x14]
call fcn.00405b30
mov eax, dword [eax + 0x10]
lea ecx, [esi + eax + 0xa]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407cc0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404978
call fcn.00405b30
mov eax, dword [eax + 0x18]
push eax
call fcn.00405b30
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ab0
mov edx, dword [eax + 0x144]
call edx
add esp, 0x14
cmp eax, 0xffffffff
je 0x404966
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040c980
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x404978
mov edx, dword [ebp - 4]
push edx
call fcn.00407bf0
add esp, 4
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4062b6
cmp dword [ebp + 0xc], 0
je 0x4062b6
cmp dword [ebp + 0x10], 0
je 0x4062b6
cmp dword [ebp + 0x14], 0
jne 0x4062be
mov eax, dword [ebp - 0x10]
jmp 0x4063ea
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407cc0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4063e7
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov dword [ebp - 8], 0
jmp 0x4062f1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x4063c6
movzx eax, byte [ebp - 1]
add eax, 1
and eax, 0x800000ff
jns 0x406312
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, byte [eax + ecx]
movzx edx, byte [ebp - 2]
add ecx, edx
and ecx, 0x800000ff
jns 0x406338
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov al, byte [edx + eax]
mov byte [ebp - 3], al
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx edx, byte [ebp - 1]
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov al, byte [eax + ecx]
mov byte [esi + edx], al
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dl, byte [ebp - 3]
mov byte [eax + ecx], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
movzx ecx, byte [edx + ecx]
add eax, ecx
and eax, 0x800000ff
jns 0x40639f
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx]
xor eax, edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x4062e8
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 4], al
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 2]
mov byte [ecx + 5], dl
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407180
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 8], 0
je 0x4071ec
mov eax, dword [ebp + 8]
push eax
call fcn.0040c980
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4071ec
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x4071ec
mov ecx, dword [ebp - 8]
shr ecx, 8
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
xor eax, dword [ebp - 8]
and eax, 0xff
xor ecx, dword [eax*4 + 0x419700]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4071ae
mov eax, dword [ebp - 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x407200
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 8], 0
je 0x40726c
mov eax, dword [ebp + 8]
push eax
call fcn.0040c9b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40726c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x40726c
mov ecx, dword [ebp - 8]
shr ecx, 8
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
xor eax, dword [ebp - 8]
and eax, 0xff
xor ecx, dword [eax*4 + 0x419700]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x40722e
mov eax, dword [ebp - 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x407280
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 8], 0
je 0x4072f0
cmp dword [ebp + 0xc], 0
je 0x4072f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0x10], 0
je 0x4072f0
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
mov esi, dword [ebp - 8]
shr esi, 8
movzx edx, byte [ebp - 1]
push edx
call fcn.0040d3a0
add esp, 4
movsx eax, al
xor eax, dword [ebp - 8]
and eax, 0xff
xor esi, dword [eax*4 + 0x419700]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4072a0
mov eax, dword [ebp - 8]
xor eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407300
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 8], 0
je 0x407372
cmp dword [ebp + 0xc], 0
je 0x407372
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0x10], 0
je 0x407372
mov eax, dword [ebp - 0xc]
mov cx, word [eax]
mov word [ebp - 2], cx
mov esi, dword [ebp - 8]
shr esi, 8
movzx edx, word [ebp - 2]
push edx
call fcn.0040d3d0
add esp, 4
movzx eax, ax
xor eax, dword [ebp - 8]
and eax, 0xff
xor esi, dword [eax*4 + 0x419700]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x407320
mov eax, dword [ebp - 8]
xor eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407380
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 8], 0
je 0x407400
mov eax, dword [ebp + 8]
push eax
call fcn.0040c980
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x407400
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x407400
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov esi, dword [ebp - 0xc]
shr esi, 8
movzx eax, byte [ebp - 1]
push eax
call fcn.0040d3a0
add esp, 4
movsx ecx, al
xor ecx, dword [ebp - 0xc]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x419700]
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x4073af
mov eax, dword [ebp - 0xc]
xor eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407410
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 8], 0
je 0x407492
mov eax, dword [ebp + 8]
push eax
call fcn.0040c9b0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x407492
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x407492
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 2], dx
mov esi, dword [ebp - 0xc]
shr esi, 8
movzx eax, word [ebp - 2]
push eax
call fcn.0040d3d0
add esp, 4
movzx ecx, ax
xor ecx, dword [ebp - 0xc]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x419700]
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
jmp 0x40743f
mov eax, dword [ebp - 0xc]
xor eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret