Function at 0x434aa0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52367c
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x8a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8b4]
xor ebx, ebx
mov dword [esp + 0x44], eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x20], fcn.004fdc99
mov dword [esp + 0x24], fcn.004fca61
mov dword [esp + 0x28], fcn.004fdda1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x8000
mov dword [esp + 0x1c], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x8ac], ebx
cmp byte [edi + 0x11c], bl
lea eax, [edi + 0xc]
jne 0x434b35
mov eax, dword [edi + 8]
lea edx, [eax + 4]
push esi
lea ecx, [esp + 0x20]
call fcn.0046c8b0
test al, al
jne 0x434ba7
cmp byte [edi + 0x11c], bl
je 0x434b53
add edi, 0xc
jmp 0x434b56
mov edi, dword [edi + 8]
add edi, 4
push edi
push str.g_ah
push esi
call fcn.004708d0
mov dword [esp + 0x8b8], 0xffffffff
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x434b9e
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
jne 0x434b87
mov al, byte [esp + 0x17]
jmp 0x434ea9
lea eax, [esp + 0x1c]
call fcn.004aa7a0
test al, al
jne 0x434c15
cmp byte [edi + 0x11c], bl
je 0x434bc1
add edi, 0xc
jmp 0x434bc4
mov edi, dword [edi + 8]
add edi, 4
push edi
push 0x553dbc
push esi
call fcn.004708d0
mov dword [esp + 0x8b8], 0xffffffff
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x434c0c
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x30], edx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
jne 0x434bf5
mov al, byte [esp + 0x17]
jmp 0x434ea9
lea ecx, [esp + 0x1c]
call fcn.0046d370
mov edi, eax
lea eax, [esp + 0x3c]
call fcn.0047c680
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x434e74
mov ebp, 7
jmp 0x434c44
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x434e5d
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0046b720
add esp, 8
cmp eax, ebx
je 0x434e5d
cmp word [esp + 0x18], bx
je 0x434e5d
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x434e5d
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
push edi
mov eax, 0x553dd4
mov byte [esp + 0x8b0], 3
call fcn.0046c760
cmp eax, ebx
je 0x434d14
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0046b720
add esp, 8
cmp eax, ebx
jl 0x434d14
lea edx, [esp + 0x9c]
test edx, edx
je 0x434d14
mov eax, edx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x88]
call fcn.0041dfc0
push edi
mov eax, str.ChHalf
call fcn.0046c760
cmp eax, ebx
je 0x434d71
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0046b720
add esp, 8
cmp eax, ebx
jl 0x434d71
lea edx, [esp + 0x9c]
test edx, edx
je 0x434d71
mov eax, edx
lea edx, [eax + 2]
jmp 0x434d50
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434d50
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x6c]
call fcn.0041dfc0
push edi
mov eax, str.ChFull
call fcn.0046c760
cmp eax, ebx
je 0x434dc6
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0046b720
add esp, 8
cmp eax, ebx
jl 0x434dc6
lea edx, [esp + 0x9c]
test edx, edx
je 0x434dc6
mov eax, edx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434da5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x50]
call fcn.0041dfc0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x80]
push ecx
push edx
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x70]
call fcn.00436490
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x434dfd
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004fc79f
add esp, 4
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x434e1d
mov edx, dword [esp + 0x68]
push edx
call fcn.004fc79f
add esp, 4
cmp dword [esp + 0x98], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x434e43
mov eax, dword [esp + 0x84]
push eax
call fcn.004fc79f
add esp, 4
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov edi, dword [esp + 0x40]
mov eax, esi
call fcn.004369e0
cmp eax, ebx
mov dword [esp + 0x3c], eax
jne 0x434c40
mov dword [esp + 0x8ac], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x1c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x434ea7
nop
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
jne 0x434e90
mov al, 1
mov ecx, dword [esp + 0x8a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.004fe05a
add esp, 0x89c
ret 4