Function at 0x1007a2f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov ax, word [esi + 0x2c]
jmp 0x1007af6
mov eax, dword [ebp + 0x20]
jmp 0x1007c39
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov ax, word [esi + 0x28]
mov word [0x1038418], ax
mov ax, word [esi + 0x2a]
mov word [0x103841a], ax
mov eax, dword [esi + 0x30]
mov dword [0x103841c], eax
mov eax, dword [esi + 0x48]
push edi
mov dword [0x1038420], eax
lea eax, [esi + 0x50]
push eax
push 0x20
push 0x1038424
call fcn.010058fe
mov eax, dword [esi + 0x44]
mov dword [0x1038464], eax
mov eax, dword [esi + 0x4c]
mov dword [0x1038468], eax
mov eax, dword [esi + 0xf0]
mov dword [0x103846c], eax
mov eax, dword [esi + 0x34]
mov dword [0x1038470], eax
mov eax, dword [esi + 0x24]
mov dword [0x1038474], eax
mov eax, dword [esi + 0x38]
mov dword [0x1038478], eax
mov eax, dword [esi + 0xa0]
neg eax
sbb eax, eax
and eax, 0x10000
or dword [0x10382cc], eax
mov eax, dword [esi + 0x90]
mov dword [0x103847c], eax
mov eax, dword [esi + 0x18]
mov dword [0x10382bc], eax
mov eax, dword [esi + 0x1c]
mov dword [0x10382c0], eax
mov eax, dword [esi + 0x14]
mov dword [0x10382c4], eax
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov dword [0x10382b8], eax
mov byte [0x10382ca], bl
test byte [esi + 0x24], 1
jne 0x10053bd
xor eax, eax
inc eax
mov word [0x10382ee], ax
cmp dword [esi + 0x94], ebx
jne 0x100c528
cmp dword [esi + 0x98], ebx
jne 0x100c536
cmp dword [esi + 0x9c], ebx
setne al
mov byte [0x10382ed], al
mov ax, word [esi + 0xa4]
mov word [0x10382a8], ax
mov ax, word [esi + 0xa8]
mov word [0x10382a6], ax
cmp dword [esi + 0xac], ebx
jne 0x100c545
and dword [0x10382cc], 0xffefffff
push 0x40
lea eax, [esi + 0xb0]
push eax
push 0x1038348
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push 1
call fcn.01007c45
push ebx
call fcn.01007c45
push 0x10381e0
push dword [esi + 0x40]
call fcn.0100718e
cmp eax, ebx
mov dword [ebp + 0x20], eax
jl 0x10053c6
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x1038030]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add esi, 2
push esi
add ecx, 0x100000
push ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [0x10382b0], eax
cmp eax, ebx
je 0x100c554
push dword [ebp + 8]
push esi
push eax
call fcn.010034fc
push ebx
push 1
push dword [0x10382b0]
call fcn.01005a3d
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [0x10382ac], eax
cmp eax, ebx
je 0x100c55d
call fcn.01007e69
cmp eax, ebx
mov dword [ebp + 0x20], eax
jl 0x100c5a6
mov eax, dword [0x103825c]
mov dword [0x1038258], eax
call fcn.01006e36
call fcn.01007c8c
cmp eax, ebx
mov dword [ebp + 0x20], eax
jl 0x100c59b
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call fcn.010070fd
cmp eax, ebx
mov dword [ebp + 0x20], eax
jl 0x100c566
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
inc eax
mov word [0x10382f8], ax
jmp 0x1007b08
or dword [0x10382cc], 0x800
jmp 0x1007b14
or dword [0x10382cc], 0x100000
jmp 0x1007b52
mov dword [ebp + 0x20], 0xc0000017
jmp 0x100c5d0
mov dword [ebp + 0x20], 0xc0000017
jmp 0x100c5bb
mov esi, dword [sym.imp.ntdll.dll_DbgPrintEx]
push eax
push 0x100c5e0
push 1
push 0x70
call esi
push 0x100aba8
push 1
push 0x70
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add esp, 0x1c
push dword [0x10383d0]
push ebx
push dword [eax + 0x18]
call edi
push dword [0x103825c]
call fcn.0101e63a
push dword [0x10382b0]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
push dword [0x10382ac]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
push 0x10381e0
call fcn.0101abf6
jmp 0x10053c6