Function at 0x4466b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00446ac0
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
mov eax, dword [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi], eax
xor eax, eax
movzx edx, word [ecx + 0xc]
mov word [esi + 0x14], ax
mov word [esi + 0x16], dx
mov al, byte [ecx + 0x2d9]
mov byte [esi + 0x18], al
mov al, byte [ecx + 0x2d8]
add al, byte [ecx + 0x2d9]
mov ebx, dword [0x4fe550]
mov byte [esp + 0x2c], al
mov eax, edx
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push 0
call edi
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
je 0x446aa7
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x28], esi
movzx ecx, word [eax + 0x16]
mov eax, ecx
cmp si, cx
jae 0x446792
mov edi, dword [esp + 0x24]
push ebx
push edi
push dword [0x4fe45c]
movzx eax, si
push 0
push ecx
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
lea ecx, [eax + ecx*8]
call fcn.00441500
test al, al
je 0x446aa7
mov eax, dword [esp + 0xc]
inc esi
movzx eax, word [eax + 0x16]
mov ecx, eax
cmp si, ax
jb 0x446745
mov ebx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebx + 0xc]
jmp 0x446796
mov ebx, dword [esp + 0xc]
movzx ecx, word [ebx + 0x14]
movzx esi, ax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [edx + eax*8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x2d8]
mov byte [ebx + 8], dl
test dl, dl
je 0x446a91
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
cmp cx, si
jae 0x446a91
movzx eax, ax
push 4
push 0x3000
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0xc]
lea ebx, [eax + ecx*8]
movzx eax, dl
mov dword [esp + 0x1c], ebx
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0
call edi
mov dword [ebx + 0x34], eax
test eax, eax
je 0x446aa7
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
test dl, dl
je 0x446a7a
mov dword [esp + 0x18], ecx
nop dword [eax + eax]
mov edi, dword [ebp + 8]
movzx eax, byte [ebp + 0xc]
movzx edx, cl
mov ecx, 1
lea esi, [edx + 0xa6]
mov dword [esp + 0x3c], edx
cmp dword [edi + esi*4], 2
mov edi, dword [ebx + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmove ecx, eax
add edi, dword [esp + 0x18]
lea eax, [edx + 0xae]
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], esi
movzx esi, cl
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esi + esi*2]
push 4
push 0x3000
shl eax, 4
push eax
push 0
call ebx
mov dword [edi], eax
test eax, eax
je 0x446aa7
push 4
push 0x3000
push esi
push 0
call ebx
mov dword [edi + 4], eax
test eax, eax
je 0x446aa7
push 4
push 0x3000
lea eax, [esi*4]
push eax
push 0
call ebx
mov dword [edi + 0xc], eax
test eax, eax
je 0x446aa7
mov eax, dword [esp + 0x1c]
xor bl, bl
test al, al
je 0x44691a
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x2c], ecx
push 4
push 0x3000
push ecx
push 0
movzx esi, bl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [edi + 0xc]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + esi*4], 0
je 0x446aa7
mov eax, dword [esp + 0x1c]
inc bl
mov ecx, dword [esp + 0x2c]
cmp bl, al
jb 0x4468e6
mov ecx, dword [ebp + 8]
inc dword [0x502c6c]
mov byte [edi + 9], al
mov eax, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax*4]
sub eax, 0
je 0x446a1e
sub eax, 1
je 0x4469d9
sub eax, 1
jne 0x446a50
movzx eax, byte [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x30], eax
test eax, eax
je 0x4469d1
xor eax, eax
mov dword [esp + 0x20], eax
mov esi, dword [edi]
add esi, eax
mov eax, dword [esp + 0x34]
mov ecx, esi
push dword [eax]
push dword [0x4fe45c]
call fcn.00442120
test al, al
je 0x446aa7
mov ecx, dword [esi + 4]
lea eax, [esi + 0xc]
push eax
push 0
push 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x20]
test eax, eax
jne 0x446a9c
push dword [esi + 8]
mov ecx, dword [esp + 0x18]
push dword [esi + 4]
mov dword [esi], 1
call fcn.00441660
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov byte [ebx + eax], cl
inc ecx
mov eax, dword [esp + 0x20]
inc ebx
add eax, 0x30
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
cmp ebx, dword [esp + 0x30]
jl 0x446963
mov al, byte [ebp + 0xc]
mov byte [edi + 8], al
jmp 0x446a50
mov eax, dword [esp + 0x38]
mov esi, dword [edi]
push dword [ecx + eax*4]
mov ecx, esi
push dword [0x4fe45c]
call fcn.00442120
test al, al
je 0x446aa7
mov ecx, dword [esi + 4]
lea eax, [esi + 0xc]
push eax
push 0
push 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x20]
test eax, eax
jne 0x446a9c
push dword [esi + 8]
mov dword [esi], 1
push dword [esi + 4]
jmp 0x446a35
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax*2]
add eax, eax
push dword [ecx + eax*8 + 0x120]
push dword [ecx + eax*8 + 0x11c]
mov ecx, dword [esp + 0x1c]
call fcn.00441660
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x10]
mov byte [eax], bl
inc ebx
mov byte [edi + 8], 1
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x18], 0x14
inc ecx
mov ebx, dword [esp + 0x14]
mov dl, byte [eax + 8]
movzx eax, dl
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x446830
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x28], eax
cmp ax, word [ebx + 0x16]
jb 0x4467d1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Map_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8