joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402420
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
call fcn.004022d0
add esp, 4
push str.D_Client.log.bak
lea edx, [ebp - 0x1c]
push eax
push edx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
push eax
call fcn.004022d0
add esp, 4
push str.D_Client.log
lea ecx, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 5
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x14]
push 0
push 0x3001
push edx
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40257a
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::GetLength
lea ecx, [ebp - 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x2c]
mov ebx, 8
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CTime::Format
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.__s__t_s_r_n
push eax
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x3c]
push 2
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call dword [edx + 0x30]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::Close
cmp esi, 0x500000
jbe 0x40256e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00402a16
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
cmp byte [esi + 0xe4], 0xff
je 0x403624
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
xor ebx, ebx
cmp al, bl
mov dword [ebp - 0x14], 1
jne 0x4036e9
cmp dword [esi + 0x60], ebx
jne 0x403659
mov ecx, esi
call fcn.00403320
mov ecx, dword [esi + 0x68]
mov edx, dword [eax + 0x14]
cmp ecx, edx
je 0x403660
push 0xffffffffffffff9a
mov ecx, esi
call fcn.00402ed0
jmp 0x403660
mov dword [ebp - 0x14], 0xffffffff
mov ecx, esi
call fcn.00403320
cmp word [eax + 0xe], 8
jne 0x403677
lea edx, [esi + 0x28]
push edx
call fcn.00407760
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4036e9
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x11c], bl
call fcn.00403320
mov ecx, eax
call fcn.004072b0
mov edx, dword [eax]
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x128], edx
call sub.MFC42.DLL_CFile::SetStatus
mov ecx, esi
call fcn.00403320
mov ecx, dword [eax + 0x24]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4036e2
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xe8]
call fcn.00406160
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe4], bl
call fcn.00405960
mov ecx, esi
call fcn.00404700
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403a90
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40d418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.004029da
push 0x4110ec
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push ecx
push edx
call fcn.00403740
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x24], 1
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
or esi, 0xffffffff
test eax, eax
je 0x403b12
mov edx, dword [esp + 0x1c]
push edx
call fcn.00403bb0
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x403b12
xor bl, bl
jmp 0x403b14
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x403b8d
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00403740
mov eax, dword [eax]
mov byte [esp + 0x1c], 2
push eax
call fcn.00403a90
add esp, 0xc
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x403b6d
mov edx, dword [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x403b8d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::CFileFind
mov esi, dword [esp + 0x30]
push 0
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x403c36
push esi
call fcn.00403c80
add esp, 4
mov dword [esp + 0x28], 0xffffffff
test al, al
lea ecx, [esp + 4]
je 0x403c1f
call fcn.00402a5e
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call fcn.00402a5e
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov eax, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [eax + 0x40]
neg eax
sbb eax, eax
lea ecx, [esp + 4]
and al, 0xfe
mov dword [esp + 0x28], 0xffffffff
inc eax
mov esi, eax
call fcn.00402a5e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x404340
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
push ebx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00404370
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [esp + 8]
sete bl
call sub.MFC42.DLL_CString::CString
mov al, bl
pop ebx
ret

Function at 0x404480
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, esi
call fcn.004045e0
mov edx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.004045e0
mov dword [esi + 0x1c], eax
pop esi
ret 4

Function at 0x4050e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d75e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x405126
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call fcn.004029da
test bl, 1
mov dword [esp + 0x28], 3
je 0x40514d
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00403740
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.00403810
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString_2
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x40519e
push 0x411994
lea ecx, [esp + 0x3c]
call fcn.004029d4
jmp 0x4051b4
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x38]
push ecx
push str._.3d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
push 0x411988
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x30], 7
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_operator
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x405510
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x40d7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [ecx + 0x1c]
lea edx, [esp + 4]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 8]
push eax
call fcn.00404370
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
lea ecx, [esp + 4]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x4055a0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x405c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.00405db0
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
push 0
push eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0
push 0x16
lea ecx, [esp + 0xc]
call fcn.00405920
mov eax, dword [esi + 0x2c]
push 0x16
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, 0x16
je 0x405c76
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405ef0
mov eax, dword [esp + 8]
push edi
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x14], ecx
mov di, word [eax + 0x14]
lea ecx, [esp + 8]
call fcn.00405960
mov dx, word [esi + 8]
mov ecx, dword [esi + 0x2c]
push edx
call fcn.004055c0
mov ecx, dword [esi + 0x2c]
call fcn.00404c80
test eax, eax
jne 0x405cea
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x30]
add eax, edx
cmp ecx, eax
jae 0x405cea
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405ef0
test di, di
je 0x405d1d
and edi, 0xffff
push 0
push edi
lea ecx, [esi + 0x18]
call fcn.00405990
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
push edi
push eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, edi
je 0x405d1d
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405ef0
mov ecx, dword [esi + 0x2c]
call fcn.00404c80
test eax, eax
pop edi
je 0x405d2e
xor eax, eax
jmp 0x405d3b
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, edx
sub eax, ecx
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x405d4b
cmp word [esi + 0xe], ax
jne 0x405d56
cmp word [esi + 0xe], 0
jne 0x405d5f
test eax, eax
je 0x405d5f
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405ef0
mov ecx, dword [esi + 0x2c]
xor eax, eax
mov ax, word [esi + 0xa]
mov byte [esi + 0x3c], 1
push eax
call fcn.00404ca0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x405d80
mov ecx, esi
call fcn.00405f50
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00405950
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x407110
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40da08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00405920
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00404ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.00405960
mov edx, dword [esi + 4]
mov ecx, 0x4119c4
cmp edx, dword [ecx]
je 0x4071fc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00405950
xor al, al
jmp 0x407294
mov ecx, edi
call fcn.00404eb0
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.00405990
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x3c]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
test bp, bp
je 0x40724a
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.00405990
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x30]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x407271
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.00405990
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, edi
call fcn.00404eb0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.00405950
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x407d90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x407d9f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x411a3c]
test eax, eax
je 0x407dad
call fcn.00407d30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x407eaf
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x412ef8]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x412ef8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x412ef8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x412ef8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x412ef8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x412ef8]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x412ef8]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x412ef8]
xor eax, ecx
inc esi
dec edi
jne 0x407dc7
pop edi
test edx, edx
je 0x407ed1
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x412ef8]
xor eax, ecx
inc esi
dec edx
jne 0x407eb3
pop ebx
pop esi
not eax
ret 0xc
Function at 0x100054f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x68dd48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6961b4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x10], eax
lea ebx, [edi + 0x14]
mov esi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esi]
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov edi, 0x695d68
or ecx, 0xffffffff
xor eax, eax
mov dword [esi], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 0x600]
push ecx
lea edx, [esp + 0x18]
push 0x695ca0
push edx
call fcn.1001646c
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, 5
mov edi, edx
lea eax, [ebp + 0xa]
add ebp, 0x1e
mov esi, eax
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
mov esi, ebp
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov ecx, 5
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dx, word [ebp + 2]
mov word [ebx], dx
mov cx, word [ebp]
mov word [ebx + 2], cx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebx + 4], edx
mov ch, byte [ebp + 4]
xor edx, edx
mov cl, byte [ebp + 5]
mov dl, byte [ebp + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [ebp + 7]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax + 2]
mov dl, byte [eax + 3]
xor eax, eax
mov al, byte [ebp + 0xc]
add ecx, edx
shr eax, 4
shl eax, 2
sub ecx, eax
sub ecx, 0x14
mov eax, ecx
push eax
call fcn.10015d28
mov esi, dword [esp + 0x10]
mov dword [ebx + 8], eax
xor ecx, ecx
mov word [ebx + 0x10], 0
mov cl, byte [ebx + 0xc]
shr ecx, 4
lea edi, [ebx + ecx*4]
mov ecx, dword [esi - 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
xor ecx, ecx
push edi
mov cl, byte [ebx + 0xc]
mov eax, dword [eax - 8]
shr ecx, 4
lea edx, [eax + ecx*4]
push edx
push ebx
call fcn.100084f0
mov cl, byte [ebx + 0xc]
mov word [ebx + 0x10], ax
mov eax, dword [esp + 0x1c]
xor dx, dx
shr cl, 4
mov eax, dword [eax - 8]
mov dl, cl
lea esi, [eax + edx*4 + 0x14]
lea eax, [edi + 2]
and esi, 0xffff
push eax
push esi
call fcn.10008480
lea ebx, [edi + 0xa]
push 0x14
push edi
mov word [ebx], 0
call fcn.10008490
mov ecx, dword [esp + 0x4c]
mov word [ebx], ax
add esp, 0x1c
mov dword [esp + 0x1c], 0xffffffff
mov dword [ecx], esi
lea ecx, [esp + 0x10]
call fcn.10016b4f
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x10008b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68e170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x6961b4]
push esi
mov esi, ecx
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0
call fcn.10001830
push 0x695b54
push 0x699aa0
lea ecx, [esp + 0xc]
push 0x695b4c
push ecx
mov byte [esp + 0x30], 1
call fcn.1001646c
mov edx, dword [esp + 0x14]
add esp, 0x10
lea ecx, [esp + 8]
push 1
push edx
call fcn.100018d0
push 0x3a98
push 0x695e60
push 0x695ff4
lea ecx, [esp + 0x14]
call fcn.10001da0
lea ecx, [esp + 8]
mov dword [esi + 0x610], eax
mov byte [esp + 0x20], 0
call fcn.10001870
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.10016b4f
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret