Function at 0x4a3c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x523ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x2c], fcn.004fdc99
mov dword [esp + 0x30], fcn.004fca61
mov dword [esp + 0x34], fcn.004fdda1
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x8000
mov dword [esp + 0x28], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x40], esi
mov byte [esp + 0x44], 0
mov dword [esp + 0x50], esi
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x4a3cf7
mov eax, dword [ebx + 8]
lea edx, [eax + 4]
push ebp
lea ecx, [esp + 0x2c]
call fcn.0046c8b0
test al, al
jne 0x4a3d5e
mov ecx, ebp
call fcn.00470820
push 0x56a3cc
push 0x551604
push eax
call fcn.0046adf0
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x28], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4a3d57
lea ebx, [ebx]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, esi
jne 0x4a3d40
xor al, al
jmp 0x4a3ef1
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x4a3d91
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
lea edi, [esp + 0x2c]
mov dword [esp + 0x68], str.Correction
call fcn.0046d570
cmp eax, esi
je 0x4a3d91
mov esi, dword [eax + 4]
test esi, esi
jne 0x4a3e0e
mov ecx, ebp
call fcn.00470820
push 0x56a3e0
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
cmp byte [ebx + 0x11c], 0
je 0x4a3db9
add ebx, 0xc
jmp 0x4a3dbc
mov ebx, dword [ebx + 8]
mov ecx, ebp
call fcn.00470820
add ebx, 4
push ebx
push 0x551604
push eax
call fcn.0046adf0
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x28], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4a3e07
lea ecx, [ecx]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, esi
jne 0x4a3df0
xor al, al
jmp 0x4a3ef1
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [ecx], eax
mov byte [ecx + 4], al
cmp dword [esi + 4], eax
je 0x4a3e41
mov edx, dword [esi + 8]
test edx, edx
jbe 0x4a3e3f
mov edi, dword [esi]
mov ecx, edi
lea esp, [esp]
cmp dword [ecx], 0
jne 0x4a3e4f
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x4a3e30
xor eax, eax
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
je 0x4a3ec0
jmp 0x4a3e58
mov eax, dword [edi + eax*4]
jmp 0x4a3e41
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
xor ebp, ebp
mov esi, 0x55ed70
call fcn.004a3be0
test al, al
je 0x4a3e75
mov edx, dword [esp + 0x58]
mov byte [edx + ebp], 1
add esi, 0x10
add ebp, 1
cmp esi, 0x55edc0
jl 0x4a3e64
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a3eb8
mov edi, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov esi, dword [edi + 8]
xor edx, edx
div esi
add edx, 1
nop
cmp edx, esi
jae 0x4a3eb8
mov eax, dword [edi]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x4a3eb1
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x4a3ea0
test ecx, ecx
mov dword [esp + 0x20], ecx
jne 0x4a3e54
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x28], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4a3eef
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x4a3ed8
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8