Function at 0x6643e8e0
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 0x6643e9a0
test byte [0x66444b10], 8
jne 0x6643ea20
mov eax, dword [0x66452b64]
add ebx, 4
mov dword [esi - 4], eax
call fcn.664322f0
mov dword [esp + 8], 0x6643e080
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.664038d0
sub esp, 0xc
call fcn.66432320
test byte [0x66444b10], 8
jne 0x6643ea88
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 [0x66444b10], 8
jne 0x6643eb30
mov eax, dword [0x66452b64]
add ebx, 4
mov dword [esi - 4], eax
call fcn.664322f0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x6643e080
mov dword [esp], eax
call fcn.66403844
sub esp, 0xc
mov ebx, eax
test edi, edi
je 0x6643e9df
mov dword [edi], eax
call fcn.66432320
test byte [0x66444b10], 8
je 0x6643e98c
mov dword [esp], 0x66444b10
call fcn.6643f760
test al, 8
je 0x6643e98c
test byte [0x66444b10], 8
jne 0x6643ec70
mov dword [esp], 2
call fcn.66432420
jmp 0x6643e98c
mov dword [esp], 0x66444b10
call fcn.6643f760
test al, 8
je 0x6643e953
movzx eax, byte [0x66444b10]
mov edx, ebx
shr edx, 1
test al, 8
jne 0x6643ec20
mov dword [ebp - 0x1c], edi
mov edi, ebx
mov ebx, edx
and eax, 8
jmp 0x6643ea60
test al, al
jne 0x6643eba0
test ebx, ebx
jne 0x6643ea58
mov ebx, edi
mov edi, dword [ebp - 0x1c]
test al, al
jne 0x6643ed68
mov dword [esp], 2
call fcn.66432420
jmp 0x6643e953
mov dword [esp], 0x66444b10
call fcn.6643f760
test al, 8
je 0x6643e98c
test byte [0x66444b10], 8
je 0x6643ea0a
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], 0x66450864
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x66444b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6643dff0
jmp 0x6643ea0a
mov dword [esp], 0x66444b10
mov dword [ebp - 0x1c], ecx
call fcn.6643f760
test al, 8
je 0x6643e9ad
movzx eax, byte [0x66444b10]
mov edx, ebx
shr edx, 1
mov ecx, dword [ebp - 0x1c]
test al, 8
jne 0x6643ed08
mov dword [ebp - 0x1c], edi
mov edi, ebx
mov ebx, edx
and eax, 8
jmp 0x6643eb74
test al, al
jne 0x6643ebe0
test ebx, ebx
jne 0x6643eb70
mov ebx, edi
mov edi, dword [ebp - 0x1c]
test al, al
jne 0x6643ecc0
mov dword [esp], 2
call fcn.66432420
jmp 0x6643e9ad
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], 0x66444b10
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6643dff0
movzx eax, byte [0x66444b10]
jmp 0x6643ea4e
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], 0x66444b10
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6643dff0
movzx eax, byte [0x66444b10]
jmp 0x6643eb64
movzx eax, word [edi + 0xb8]
mov dword [ebp - 0x20], edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0xc], 0x664507e8
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x66444b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6643dff0
mov dword [ebp - 0x1c], edi
movzx eax, byte [0x66444b10]
mov edi, ebx
mov ebx, dword [ebp - 0x20]
jmp 0x6643ea4e
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], 0x664508e8
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x66444b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6643dff0
jmp 0x6643ea0a
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], 0x66444b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6643dff0
jmp 0x6643eb85
movzx eax, word [ecx + 0x10e]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xc], 0x664508b4
mov dword [esp + 8], str.K32WOWCallback16Ex
mov dword [esp + 4], 0x66444b10
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.6643dff0
mov dword [ebp - 0x1c], edi
movzx eax, byte [0x66444b10]
mov edi, ebx
mov ebx, dword [ebp - 0x20]
jmp 0x6643eb64
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], 0x66444b10
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6643dff0
jmp 0x6643ea71