Function at 0x40f870
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f2d8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 8]
jne 0x40f8bd
push 0x13
push str.Root_node_is_empty_
mov ecx, edi
call fcn.00406f20
xor al, al
jmp 0x40fad1
call fcn.0047c262
cdq
mov ecx, 3
idiv ecx
mov ecx, esi
inc edx
mov dword [esi + 0x20], edx
call fcn.0040f610
lea eax, [esi + 0x1c]
mov ecx, esi
mov dword [eax], 0
push eax
push dword [esi + 0x10]
call fcn.00410b00
push 0
push 0x4bc242
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00409600
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
push eax
mov dword [eax], 0
call fcn.0040ede0
mov eax, dword [esi + 0x10]
push fcn.00410ee0
mov dword [eax + 0x40], esi
mov ecx, dword [esi + 0x10]
call fcn.0040eab0
mov ecx, dword [esi + 0x10]
call fcn.0040ed40
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb4], eax
cmp dword [eax + 0x28], 0
ja 0x40f95a
mov ecx, eax
call fcn.0040ed40
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x28]
add eax, 0x2e
push eax
mov dword [esi + 0xc], eax
call fcn.0044295a
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x40f98d
push 0x14
push str.Memory_insufficient_
mov ecx, edi
call fcn.00406f20
mov byte [ebp - 0xad], 0
jmp 0x40fab6
push 0x10
call fcn.00442331
xorps xmm0, xmm0
mov dword [ebp - 0xb4], eax
add esp, 4
movups xmmword [eax], xmm0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax], vtable.FloraUtilities::CBufferStreamWriter.0
mov dword [eax + 0xc], 0
mov dword [eax + 8], edx
mov dword [esi + 4], eax
call fcn.0040f690
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00409700
push dword [esi + 4]
mov ecx, dword [esi + 0x10]
call fcn.0040e100
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0xac]
sub eax, 0x2e
mov byte [ebp - 0x44], 0
push eax
mov eax, dword [esi + 8]
add eax, 0x2e
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], 0x67452301
mov dword [ebp - 0xa8], 0xefcdab89
mov dword [ebp - 0xa4], 0x98badcfe
mov dword [ebp - 0xa0], 0x10325476
call fcn.0041d3f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xac]
call fcn.0041de90
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp eax, 0x10
mov edi, dword [ebp - 0x18]
cmovae edx, ecx
test edi, edi
je 0x40fa8d
mov ecx, dword [esi + 8]
push edi
push edx
add ecx, 4
mov edx, 0x40
call fcn.0040c330
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0xad], 1
cmp eax, 0x10
jb 0x40faa4
inc eax
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409a60
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40facb
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00409a60
mov al, byte [ebp - 0xad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret 4