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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6443cb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov ebx, edx
cmp dword [0x75b2fc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x5ba99d
xor al, al
jmp 0x5bab22
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [esp + 0x38]
push str.SexyCacheReq_d
push edx
call fcn.0061d4e6
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x304
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x304
push 0
push 0
mov esi, eax
push 0xf001f
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [ebx + 0x18], 0x10
mov edi, eax
jb 0x5ba9f6
mov ecx, dword [ebx + 4]
jmp 0x5ba9f9
lea ecx, [ebx + 4]
mov edx, edi
jmp 0x5baa00
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5baa00
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0x10
jb 0x5baa1c
mov ecx, dword [ecx + 4]
jmp 0x5baa1f
add ecx, 4
lea edx, [edi + 0x100]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5baa25
mov dword [edi + 0x300], 0
mov byte [esp + 0x13], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x75b2fc]
mov edx, dword [0x75b2f0]
push eax
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x5bab10
push eax
lea eax, [esp + 0x138]
push str.SexyCacheData_d
push eax
call fcn.0061d4e6
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x5bab04
mov edx, dword [edi + 0x300]
push edx
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x75b2d4
mov dword [eax], esi
mov dword [esp + 0x18], 0x75b2d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x248], 0
push ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x28], ebx
push edx
mov ebx, 0x75b300
mov dword [esp + 0x28], esi
call fcn.005bcf50
push 0x75b2d4
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x300]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0061efd1
mov esp, ebp
pop ebp
ret 8
Function at 0x5baca0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64438b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
cmp dword [0x75b2fc], 0
jne 0x5bacef
xor eax, eax
jmp 0x5badd9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x28]
push str.SexyCacheReq_d
push eax
call fcn.0061d4e6
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
add esi, 0x304
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push 0
push 0
mov ebx, eax
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [edi + 0x18], 0x10
mov esi, eax
jb 0x5bad45
mov ecx, dword [edi + 4]
jmp 0x5bad48
lea ecx, [edi + 4]
mov edx, esi
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5bad50
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0x10
jb 0x5bad6c
mov ecx, dword [ecx + 4]
jmp 0x5bad6f
add ecx, 4
lea edx, [esi + 0x100]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5bad75
mov edx, dword [ebp + 0xc]
push 0x75b2d4
mov dword [esi + 0x300], edx
mov dword [esp + 0x18], 0x75b2d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
mov dword [esp + 0x138], 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
add esi, 0x304
push ecx
mov ebx, 0x75b300
mov dword [esp + 0x14], esi
call fcn.005bcf50
push 0x75b2d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0061efd1
mov esp, ebp
pop ebp
ret 8
Function at 0x5c4cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x640038
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
push eax
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.005c5030
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.005c4fa0
cmp dword [esp + 0x28], 0x10
jb 0x5c4d82
mov eax, dword [esp + 0x14]
push eax
call fcn.0061c19a
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0061efd1
add esp, 0x34
ret 0x18

Function at 0x5c5370
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6a9fe8], 0
jne 0x5c53ed
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0061d4e6
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6a9fe8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6a9fec], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6a9fec]
mov eax, dword [edx]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret

Function at 0x5c5510
Capabilities:
Read file on windows

Disassembly:
call fcn.005c5370
test eax, eax
je 0x5c553c
mov eax, dword [0x6a9fec]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
call edx
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
jmp fcn.0061d24e
Function at 0x5c7b20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x63f998
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebx
lea edi, [esi + 0xc]
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edi], ebx
fld qword [0x65b8f8]
lea ebp, [esi + 0x30]
fst qword [esi + 0x18]
fstp qword [esi + 0x28]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp], 0xac44
je 0x5c7c41
mov eax, dword [eax + 0x3094]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
cmp eax, ebx
je 0x5c7c36
cmp eax, 0x8878000a
jg 0x5c7c00
je 0x5c7bec
cmp eax, 0x8007000e
je 0x5c7bd8
cmp eax, 0x80070057
jne 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_INVALIDPARAM
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_OUTOFMEMORY
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_ALLOCATED
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
cmp eax, 0x88780032
je 0x5c7c22
cmp eax, 0x887800aa
jne 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_UNINITIALIZED
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
push ebx
push 0x67548c
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x5c7c48
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
push ebp
push edi
call edx
mov eax, esi
call fcn.005c7ce0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x5c7fb0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 0
mov eax, dword [esp + 0x40c]
jne 0x5c8003
push eax
lea eax, [esp + 4]
push str._s_function_not_found_in_bass.dll
push eax
call fcn.0061d4e6
add esp, 0xc
push 0x10
push str.Error
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0061dd92
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0061efd1
add esp, 0x404
ret
Function at 0x5c9980
Capabilities:
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 0
mov eax, dword [esp + 0x40c]
jne 0x5c99d3
push eax
lea eax, [esp + 4]
push str._s_function_not_found_in_fmod.dll
push eax
call fcn.0061d4e6
add esp, 0xc
push 0x10
push str.Error
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0061dd92
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0061efd1
add esp, 0x404
ret
Function at 0x5c9da0
Capabilities:
Terminate process

Disassembly:
push 0x6a9ffc
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [0x6a9ff8], 0
jne 0x5c9df8
push 0x80
call fcn.0061c130
add esp, 4
test eax, eax
je 0x5c9dd0
push esi
mov esi, eax
call fcn.005c99f0
pop esi
jmp 0x5c9dd2
xor eax, eax
cmp dword [eax + 4], 0
mov dword [0x6a9ff8], eax
jne 0x5c9df8
push 0x10
push str.Error
push str.Cant_find_fmod.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0061dd92
ret
Function at 0x5cc070
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6aa000], 0
jne 0x5cc0ed
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0061d4e6
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6aa000], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6aa004], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6aa004]
mov eax, dword [edx]
xor ecx, esp
call fcn.0061efd1
add esp, 0x104
ret

Function at 0x5cc210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
call fcn.005cc070
test eax, eax
je 0x5cc232
mov eax, dword [0x6aa004]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push ebx
push ebp
call eax
pop ebp
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push ebx
push ebp
call fcn.0061d24e
add esp, 0x10
pop ebp
ret
Function at 0x5cffb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x6aa008], 0
jne 0x5d005e
push 0x208
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.00626020
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5d0001
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 - 2], 0x5c
lea edx, [esp + eax*2]
je 0x5d0033
mov eax, 0x676184
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5d0022
jmp 0x5d004f
mov eax, str.j2k_codec.dll
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5d0040
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6aa008], eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0061efd1
add esp, 0x210
ret
Function at 0x5d0d40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x5d0d4f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x5d0e37
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x665000]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x5d0d60
pop ebp
test edi, edi
je 0x5d0e5c
jmp 0x5d0e40
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x665000]
add ecx, 1
sub edi, 1
jne 0x5d0e40
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x5d59a0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.0054b980
mov ecx, dword [esi + 0x640]
pop esi
jmp fcn.005ab200

Function at 0x5d5bc0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x5d5dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
ret
Function at 0x5da660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x640ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005dab70
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005da600
lea ecx, [esp + 0xc]
call fcn.005d9ee0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5da6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63ff18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005da880
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005da600
lea ecx, [esp + 0xc]
call fcn.005d9ee0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5da740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x640b78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
call fcn.005dad40
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005da600
lea ecx, [esp + 0xc]
call fcn.005d9ee0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5da810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63fee8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005dae20
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005da600
lea ecx, [esp + 0xc]
call fcn.005d9ee0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5db4d0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x5e56f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x5e5719
call fcn.005f3560
cmp byte [esi + 0x40], 0
je 0x5e5712
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5e5795
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x5e5785
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x5e573f
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x5e5781
cmp eax, 2
je 0x5e5785
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5e5730
cmp eax, 3
je 0x5e5767
cmp eax, 1
jne 0x5e5730
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x5e5730
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x5e5730
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.005e57c0
pop esi
ret
cmp eax, 0xcc
je 0x5e57b7
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
add esp, 4
call fcn.005e57c0
pop esi
ret

Function at 0x5eacf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, eax
xor eax, eax
test esi, esi
je 0x5ead45
push ebp
push edi
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
add edx, dword [ecx]
cmp ebx, edi
jge 0x5ead10
mov edi, ebx
xor ecx, ecx
test edi, edi
jle 0x5ead36
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x69c3b0]
add ecx, 1
cmp ecx, edi
jl 0x5ead16
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
sub ebx, ecx
test esi, esi
mov dword [esp + 0x14], ebx
jne 0x5ead00
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x601f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x601f67
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x601f73
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x60207f
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x601fbc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x601fdd
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.00601db0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x602012
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.00601db0
mov ecx, eax
cmp esi, ecx
jg 0x602000
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x601ff5
cmp dword [esp + 0x10], 0
je 0x602060
mov eax, 1
lea ecx, [edi - 1]
jmp 0x602040
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x602040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x601fb0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret