Function at 0x416630
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437c05
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x444e3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
lea edi, [esi + 0xc]
mov dword [ebp - 0x28], ebx
mov ecx, edi
mov dword [esi], vtable.CXRNode.0
call fcn.004126b0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004126b0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov edi, dword [ebp + 8]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [ebp - 4], 2
lea ebx, [ebx]
push edi
mov ecx, esi
call fcn.00415510
cmp eax, 1
je 0x4166e0
push edi
mov ecx, esi
call fcn.00416300
cmp eax, ebx
jne 0x416858
lea ecx, [ecx]
cmp dword [ebp - 0x2c], ebx
jne 0x416858
push edi
mov ecx, esi
call fcn.00413b10
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push 1
lea ecx, [ebp - 0x11]
push ecx
mov ecx, edi
call edx
cmp eax, ebx
jne 0x416776
push 0xc
call fcn.00416c0d
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
cmp esi, ebx
mov byte [ebp - 4], 3
je 0x41675c
push str.Node_was_not_closed
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
mov eax, dword [eax]
or dword [ebp - 0x28], 1
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00415270
jmp 0x41675e
xor eax, eax
mov dword [ebp - 0x30], eax
push 0x440278
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 5
call fcn.0042270b
movsx cx, byte [ebp - 0x11]
push ecx
call fcn.00424ed5
add esp, 4
test eax, eax
jne 0x41679f
cmp dword [ebp - 0x18], ebx
jne 0x41679f
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0xffffffff
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], eax
movsx cx, byte [ebp - 0x11]
push ecx
call fcn.00424ed5
add esp, 4
test eax, eax
jne 0x4167c6
cmp byte [ebp - 0x11], 0x3c
je 0x4167d0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x11], 0x3c
jne 0x416700
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call eax
push edi
mov ecx, esi
call fcn.00415510
cmp eax, ebx
jne 0x416700
push edi
mov ecx, esi
call fcn.00415660
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x416700
push 0x34
call fcn.00416c0d
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x416824
push edi
call fcn.00416630
mov dword [ebp + 8], eax
jmp 0x416827
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov byte [ebp - 4], 2
call fcn.00413ad0
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x50]
push edx
lea ecx, [esi + 0xc]
mov dword [ebp - 0x40], eax
call fcn.00415340
jmp 0x416700
cmp dword [esi + 0x14], ebx
jne 0x4168cf
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4168cf
cmp eax, dword [ebp - 0x20]
jge 0x4168cf
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], edx
cdq
push ebx
push edx
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
mov ecx, edi
call eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
add eax, 1
push eax
call fcn.00416c38
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
push ecx
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 4]
mov byte [eax + ecx], bl
mov edx, dword [esi + 4]
push edx
mov ecx, esi
call fcn.004157e0
mov eax, dword [ebp - 0x44]
cdq
push ebx
push edx
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
mov ecx, edi
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4