Function at 0x6c83ec90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10c]
mov dword [esp], eax
call sym.krnl386.exe16_MapSL
mov edx, dword [ebp - 0x24]
sub esp, 4
sub eax, ebx
mov dword [esp + 8], ebx
mov esi, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
test byte [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x20]
je 0x6c83ed50
test byte [0x6c845b10], 8
jne 0x6c83edd0
mov eax, dword [0x6c853b64]
add ebx, 4
mov dword [esi - 4], eax
call fcn.6c832600
mov dword [esp + 8], 0x6c83e430
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.6c8038d0
sub esp, 0xc
call fcn.6c832630
test byte [0x6c845b10], 8
jne 0x6c83ee38
mov eax, 1
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
test byte [0x6c845b10], 8
jne 0x6c83eee0
mov eax, dword [0x6c853b64]
add ebx, 4
mov dword [esi - 4], eax
call fcn.6c832600
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x6c83e430
mov dword [esp], eax
call fcn.6c803844
sub esp, 0xc
mov ebx, eax
test edi, edi
je 0x6c83ed8f
mov dword [edi], eax
call fcn.6c832630
test byte [0x6c845b10], 8
je 0x6c83ed3c
mov dword [esp], 0x6c845b10
call fcn.6c83fb60
test al, 8
je 0x6c83ed3c
test byte [0x6c845b10], 8
jne 0x6c83f020
mov dword [esp], 2
call fcn.6c832730
jmp 0x6c83ed3c
mov dword [esp], 0x6c845b10
call fcn.6c83fb60
test al, 8
je 0x6c83ed03
movzx eax, byte [0x6c845b10]
mov edx, ebx
shr edx, 1
test al, 8
jne 0x6c83efd0
mov dword [ebp - 0x1c], edi
mov edi, ebx
mov ebx, edx
and eax, 8
jmp 0x6c83ee10
test al, al
jne 0x6c83ef50
test ebx, ebx
jne 0x6c83ee08
mov ebx, edi
mov edi, dword [ebp - 0x1c]
test al, al
jne 0x6c83f118
mov dword [esp], 2
call fcn.6c832730
jmp 0x6c83ed03
mov dword [esp], 0x6c845b10
call fcn.6c83fb60
test al, 8
je 0x6c83ed3c
test byte [0x6c845b10], 8
je 0x6c83edba
movzx edx, word [edi + 0xc4]
mov eax, dword fs:[0x18]
mov dword [esp + 0x2c], edx
movzx edx, word [edi + 0xb4]
mov dword [esp + 0x28], edx
movzx edx, word [edi + 0xa8]
mov dword [esp + 0x24], edx
movzx edx, word [edi + 0xac]
mov dword [esp + 0x20], edx
movzx edx, word [edi + 0xa4]
mov dword [esp + 0x1c], edx
movzx edx, word [edi + 0xb0]
mov dword [esp + 0x18], edx
movzx edx, word [eax + 0x10c]
mov dword [esp + 0x14], edx
movzx eax, word [eax + 0x10e]
mov dword [esp + 0xc], 0x6c851848
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c83e3e0
jmp 0x6c83edba
mov dword [esp], 0x6c845b10
mov dword [ebp - 0x1c], ecx
call fcn.6c83fb60
test al, 8
je 0x6c83ed5d
movzx eax, byte [0x6c845b10]
mov edx, ebx
shr edx, 1
mov ecx, dword [ebp - 0x1c]
test al, 8
jne 0x6c83f0b8
mov dword [ebp - 0x1c], edi
mov edi, ebx
mov ebx, edx
and eax, 8
jmp 0x6c83ef24
test al, al
jne 0x6c83ef90
test ebx, ebx
jne 0x6c83ef20
mov ebx, edi
mov edi, dword [ebp - 0x1c]
test al, al
jne 0x6c83f070
mov dword [esp], 2
call fcn.6c832730
jmp 0x6c83ed5d
sub ebx, 1
movzx eax, word [esi + ebx*2]
mov dword [esp + 0xc], str.__04x
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6c83e3e0
movzx eax, byte [0x6c845b10]
jmp 0x6c83edfe
sub ebx, 1
movzx eax, word [esi + ebx*2]
mov dword [esp + 0xc], str.__04x
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6c83e3e0
movzx eax, byte [0x6c845b10]
jmp 0x6c83ef14
movzx eax, word [edi + 0xb8]
mov dword [ebp - 0x20], edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0xc], 0x6c8517cc
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c83e3e0
mov dword [ebp - 0x1c], edi
movzx eax, byte [0x6c845b10]
mov edi, ebx
mov ebx, dword [ebp - 0x20]
jmp 0x6c83edfe
mov dword [esp + 0x18], ebx
mov eax, dword fs:[0x18]
movzx edx, word [eax + 0x10c]
mov dword [esp + 0x14], edx
movzx eax, word [eax + 0x10e]
mov dword [esp + 0xc], 0x6c8518cc
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c83e3e0
jmp 0x6c83edba
mov eax, dword fs:[0x18]
movzx edx, word [eax + 0x10c]
mov dword [esp + 0x14], edx
movzx eax, word [eax + 0x10e]
mov dword [esp + 0xc], str.__ss:sp_04x:_04x_n
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c83e3e0
jmp 0x6c83ef35
movzx eax, word [ecx + 0x10e]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xc], 0x6c851898
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 0x10
mov dword [esp + 0x10], eax
call fcn.6c83e3e0
mov dword [ebp - 0x1c], edi
movzx eax, byte [0x6c845b10]
mov edi, ebx
mov ebx, dword [ebp - 0x20]
jmp 0x6c83ef14
movzx edx, word [edi + 0x94]
mov eax, dword fs:[0x18]
mov dword [esp + 0x38], edx
movzx edx, word [edi + 0x98]
mov dword [esp + 0x34], edx
movzx edx, word [edi + 0xb4]
mov dword [esp + 0x30], edx
movzx edx, word [edi + 0x9c]
mov dword [esp + 0x2c], edx
movzx edx, word [edi + 0xa0]
mov dword [esp + 0x28], edx
movzx edx, word [edi + 0xa8]
mov dword [esp + 0x24], edx
movzx edx, word [edi + 0xac]
mov dword [esp + 0x20], edx
movzx edx, word [edi + 0xa4]
mov dword [esp + 0x1c], edx
movzx edx, word [edi + 0xb0]
mov dword [esp + 0x18], edx
movzx edx, word [eax + 0x10c]
mov dword [esp + 0x14], edx
movzx eax, word [eax + 0x10e]
mov dword [esp + 0xc], str.__ss:sp_04x:_04x_ax_04x_bx_04x_cx_04x_dx_04x_si_04x_di_04x_bp_04x_ds_04x_es_04x_n
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x6c845b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6c83e3e0
jmp 0x6c83ee21