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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x11c], ebx
call fcn.0054c7a0
test eax, eax
jne 0x6dbc06
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_wcstombs
add esp, 0xc
push ebx
push edi
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 5], 0
call fcn.006dba73
jmp 0x6dbd2e
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x6dbc2c
mov eax, 0x88760389
jmp 0x6dbd2e
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x118], eax
jne 0x6dbc56
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x8876038f
jmp 0x6dbd2e
cmp dword [ebp - 0x114], edi
jg 0x6dbc65
jl 0x6dbc45
cmp eax, 0x20
jb 0x6dbc45
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x120], esi
je 0x6dbc45
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [ebp - 0x10c], eax
jne 0x6dbcaf
mov edi, 0x8876038f
push dword [ebp - 0x120]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov eax, edi
jmp 0x6dbd2e
push 0x54
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x6dbcda
push dword [ebp - 0x118]
mov ecx, eax
push dword [ebp - 0x10c]
push esi
push ebx
push dword [ebp - 0x110]
call fcn.006da736
mov esi, eax
jmp 0x6dbcdc
xor esi, esi
cmp esi, edi
jne 0x6dbcf3
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, 0x8007000e
jmp 0x6dbc9a
mov ecx, esi
call fcn.006da90a
mov ebx, eax
cmp ebx, edi
jge 0x6dbd0a
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x6dbd2e
mov ecx, esi
call fcn.006db8e1
mov ebx, eax
cmp ebx, edi
jl 0x6dbd00
mov ecx, esi
call fcn.006db459
mov ebx, eax
cmp ebx, edi
jl 0x6dbd00
mov eax, dword [ebp - 0x11c]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0074f205
leave
ret 0xc

Function at 0x6dbed4
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 0x6dbf16
cmp dword [esi], 0
je 0x6dbf16
mov ebx, eax
jmp 0x6dbf0c
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 0x6dbf16
mov eax, dword [ebp - 4]
add ebx, eax
sub dword [esi + 8], eax
cmp dword [esi + 8], 0
jg 0x6dbeee
xor eax, eax
jmp 0x6dbf1b
mov eax, 0x80004005
pop esi
pop ebx
leave
ret
Function at 0x6dd096
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
jl 0x6dd0e5
jg 0x6dd0dd
cmp eax, 0xffffffff
jbe 0x6dd0e5
push 0xe
pop eax
jmp 0x6dd20e
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6dd109
mov eax, 0x8876038f
jmp 0x6dd20e
cmp dword [ebp - 0x18], 0x10
jne 0x6dd0dd
push edi
mov esi, 0x420ddc
lea edi, [ebp - 0xb]
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 - 0x1c]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x6dd208
push edi
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x6dd208
push edi
lea eax, [ebp - 0x18]
push eax
mov edi, 0x8000
push edi
push dword [ebp - 0x30]
jmp 0x6dd1f7
cmp dword [ebp - 0x18], 0
je 0x6dd21e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
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 - 0x18]
push dword [ebx + 0xc]
push dword [ebx]
call fcn.006e36a0
test eax, eax
jne 0x6dd222
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x6dd208
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x6dd208
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push dword [ebx + 0x10]
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x6dd208
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x6dd222
mov eax, dword [ebx + 0xc]
push 0
lea ecx, [ebp - 0x18]
push ecx
add eax, edi
push edi
mov byte [ebp - 0x28], 1
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6dd166
mov eax, 0x8876038f
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0074f205
leave
ret 8
xor eax, eax
jmp 0x6dd20d
mov eax, 0x8007000e
jmp 0x6dd20d
Function at 0x6dd22e
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x108]
push eax
xor edi, edi
push edi
push 0x420de0
push 0x4085a4
mov dword [ebp - 0x110], ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x6dd276
mov eax, 0x88760387
jmp 0x6dd371
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 - 0x108]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x114], eax
jne 0x6dd2aa
mov eax, 0x8876038f
jmp 0x6dd370
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6dd2d2
mov dword [ebp - 0x10c], 0x8876038f
jmp 0x6dd31e
lea ecx, [ebp - 0x138]
call fcn.006dcf2b
lea ecx, [ebp - 0x138]
call fcn.006dcfdc
test eax, eax
jne 0x6dd2f8
mov dword [ebp - 0x10c], 0x8007000e
jmp 0x6dd310
push dword [ebp - 0x114]
lea ecx, [ebp - 0x138]
push esi
call fcn.006dd096
mov dword [ebp - 0x10c], eax
push esi
call ebx
lea ecx, [ebp - 0x138]
call fcn.006dcf4f
push dword [ebp - 0x114]
call ebx
cmp dword [ebp - 0x10c], edi
jge 0x6dd33d
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x6dd36a
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x110]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x6dd36a
mov dword [ebp - 0x10c], 0x8876038f
mov eax, dword [ebp - 0x10c]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0074f205
leave
ret 4
Function at 0x6dd386
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push edi
push 0x420de8
push 0x420de4
mov dword [ebp - 0x214], ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x6dd3ce
mov eax, 0x88760387
jmp 0x6dd4c9
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 - 0x20c]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x218], eax
jne 0x6dd402
mov eax, 0x8876038f
jmp 0x6dd4c8
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6dd42a
mov dword [ebp - 0x210], 0x8876038f
jmp 0x6dd476
lea ecx, [ebp - 0x23c]
call fcn.006dcf2b
lea ecx, [ebp - 0x23c]
call fcn.006dcfdc
test eax, eax
jne 0x6dd450
mov dword [ebp - 0x210], 0x8007000e
jmp 0x6dd468
push dword [ebp - 0x218]
lea ecx, [ebp - 0x23c]
push esi
call fcn.006dd096
mov dword [ebp - 0x210], eax
push esi
call ebx
lea ecx, [ebp - 0x23c]
call fcn.006dcf4f
push dword [ebp - 0x218]
call ebx
cmp dword [ebp - 0x210], edi
jge 0x6dd495
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x6dd4c2
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x6dd4c2
mov dword [ebp - 0x210], 0x8876038f
mov eax, dword [ebp - 0x210]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0074f205
leave
ret 4

Function at 0x6df44e
Capabilities:
Get memory capacity

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 0x420ff4
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 0x6df49d
push ebx
push 0x420fdc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x6df48f
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 0x6df4f0
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 0x6dfd5b
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.006dc58d
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 0x6dfd8d
mov eax, 0x80004005
jmp 0x6dfea3
mov ecx, eax
mov dword [ebp + 8], ebx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x6dfd95
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 0x6dfdbf
mov eax, 0x8007000e
jmp 0x6dfea3
mov eax, dword [ebp - 4]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x6dfdc5
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 0x6dfdb5
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x6dfe84
cmp dword [ecx], ebx
mov dword [ebp - 4], ebx
jbe 0x6dfe84
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 0x6dfe28
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x420dc8
push dword [edi + 0x30]
call esi
test eax, eax
je 0x6dfdb5
push ebx
lea eax, [ebp + 8]
push eax
push 4
push dword [ebp - 0xc]
jmp 0x6dfe66
cmp dword [eax + 4], ebx
je 0x6dfe76
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x420dc9
push dword [edi + 0x30]
call esi
test eax, eax
je 0x6dfdb5
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 0x6dfe54
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 0x6dfdb5
mov ecx, dword [ebp - 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ecx]
jb 0x6dfdf7
push ebx
lea eax, [ebp + 8]
push eax
push 1
push 0x420dca
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 0x6e0122
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
jne 0x6e0161
mov eax, 0x8007000e
jmp 0x6e0310
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 0x6e016c
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 0x6e0157
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x6e01d5
and dword [ebp - 8], 0
cmp dword [edi], 0
jbe 0x6e01d5
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x420dc8
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x6e0157
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx*4]
push dword [eax]
mov ecx, esi
call fcn.006dfd5b
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x6e0310
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edi]
jb 0x6e0198
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x420dca
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x6e0157
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x24], ecx
jne 0x6e0217
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0x420dcb
push dword [esi + 0x30]
call ebx
test eax, eax
jne 0x6e030d
jmp 0x6e0157
mov eax, dword [eax + 0x20]
cmp eax, ecx
mov dword [ebp - 0x10], eax
je 0x6e02f3
cmp dword [eax], ecx
mov dword [ebp + 8], ecx
jbe 0x6e02f3
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 eax
lea eax, [ebp - 4]
mov dword [ebp - 0x18], esi
mov edi, 0x427eb4
push eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [ebp - 0xc]
push 1
je 0x6e02a2
push 0x420dc8
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x6e0157
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 0x6e0276
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 0x6e0157
push 0
lea eax, [ebp - 4]
push eax
push 0x10
push dword [ebp - 0x18]
jmp 0x6e02d0
push 0x420dc9
push dword [esi + 0x30]
call ebx
test eax, eax
je 0x6e0157
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 0x6e02be
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 0x6e0157
inc dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jb 0x6e0230
mov esi, dword [ebp - 0xc]
xor ecx, ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0x420dca
push dword [esi + 0x30]
call ebx
test eax, eax
mov eax, 0x8007000e
je 0x6e0310
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x6e4c80
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x6e4ca5
mov eax, dword [esi + 0x1a8]
mov ecx, dword [eax]
push esi
call ecx
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov edx, dword [esi + 0x1a8]
cmp dword [edx + 8], 0
je 0x6e4ccd
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
mov eax, dword [esi + 0x1a8]
cmp dword [eax + 8], 0
jne 0x6e4cb1
xor ecx, ecx
cmp dword [esi + 0x44], ecx
mov eax, 1
setne cl
add ecx, 0xcd
mov dword [esi + 0x14], ecx
ret

Function at 0x6e4d90
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 0x6e4dc6
push esi
call fcn.006e9410
cmp dword [esi + 0x40], 0
je 0x6e4dbf
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x6e4e48
mov eax, dword [esi + 0x1b8]
cmp dword [eax + 0x10], 0
je 0x6e4e32
lea esp, [esp]
mov eax, dword [esi + 8]
test eax, eax
je 0x6e4dec
mov ecx, dword [eax]
push esi
call ecx
mov edx, dword [esi + 0x1b8]
mov eax, dword [edx]
push esi
call eax
test eax, eax
je 0x6e4e2b
cmp eax, 2
je 0x6e4e32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6e4de0
cmp eax, 3
je 0x6e4e11
cmp eax, 1
jne 0x6e4de0
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x6e4de0
mov edx, dword [esi + 0x144]
add dword [eax + 8], edx
jmp 0x6e4de0
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.006e4c80
pop esi
pop ebp
ret 4
cmp eax, 0xcc
je 0x6e4e67
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
call fcn.006e4c80
pop esi
pop ebp
ret 4
Function at 0x6ea6f0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x422c98
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x108]
push 0x422c90
push ecx
mov byte [ebp - 5], 0
call sub.msvcrt.dll__tempnam
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x6ea77a
push 0
push 0x4000100
push 1
push 0
push 0
push 0x10000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0xc], eax
je 0x6ea77a
mov dword [esi], 0x6ea5c0
mov dword [esi + 4], 0x6ea640
mov dword [esi + 8], 0x6ea6c0
jmp 0x6ea7c2
mov edx, dword [edi]
mov dword [edx + 0x14], 0x3f
mov eax, dword [edi]
mov edx, 0x420dc8
mov esi, 0x50
add eax, 0x18
lea ecx, [esi + 0x7fffffae]
test ecx, ecx
je 0x6ea7b1
mov cl, byte [edx]
test cl, cl
je 0x6ea7b1
mov byte [eax], cl
add eax, 1
add edx, 1
sub esi, 1
jne 0x6ea792
jmp 0x6ea7b5
test esi, esi
jne 0x6ea7b8
sub eax, 1
mov byte [eax], 0
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
test ebx, ebx
je 0x6ea7cf
push ebx
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0074f205
mov esp, ebp
pop ebp
ret 0xc

Function at 0x6f4750
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ecx + 0xf4]
push ebx
mov ebx, dword [ecx + 0x1c]
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x1c]
add edi, edi
add edi, edi
add edi, edi
push edx
lea eax, [edi + edi]
push esi
mov dword [ebp - 0xc], edi
call fcn.006f44f0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
mov dword [ebp - 4], 0
jle 0x6f47ed
mov ebx, dword [ebp + 0xc]
sub ebx, esi
mov edx, esi
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], ebx
lea esp, [esp]
mov ecx, dword [ebx + edx]
mov eax, dword [edx]
xor esi, esi
test edi, edi
jbe 0x6f47d6
jmp 0x6f47b0
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
add edx, esi
add ebx, edx
sar ebx, 1
mov byte [ecx], bl
add ecx, 1
xor esi, 1
add eax, 2
sub edi, 1
jne 0x6f47b0
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add eax, 1
add edx, 4
cmp eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
jl 0x6f47a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6f48c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ecx + 0xf4]
push ebx
mov ebx, dword [ecx + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x1c]
add edi, edi
push edx
mov edx, dword [ebp + 0xc]
add edi, edi
add edi, edi
lea eax, [edi + edi]
push edx
mov dword [ebp - 0x10], edi
call fcn.006f44f0
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [ebp - 0xc], eax
jle 0x6f496c
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
test edi, edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp + 0xc], 1
jbe 0x6f4955
mov dword [ebp - 4], edi
lea esp, [esp]
movzx edi, byte [eax + 1]
movzx edx, byte [ecx + 1]
movzx ebx, byte [eax]
add edx, edi
movzx edi, byte [ecx]
add edi, dword [ebp + 0xc]
xor dword [ebp + 0xc], 3
add edi, edx
add ebx, edi
sar ebx, 2
mov byte [esi], bl
add esi, 1
add eax, 2
add ecx, 2
sub dword [ebp - 4], 1
jne 0x6f4920
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add eax, 1
add edx, 8
cmp eax, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
jl 0x6f4900
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x73cf48
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x73cf5b
xor eax, eax
jmp 0x73d033
mov eax, dword [ebp + 0x10]
cmp eax, 8
push ebx
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x73d014
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
sub eax, 8
dec edi
jne 0x73cf79
pop edi
test eax, eax
je 0x73d02d
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4253b0]
inc edx
dec eax
jne 0x73d018
mov eax, esi
pop esi
not eax
pop ebx
pop ebp
ret 0xc