Function at 0x70f470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x73515f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebx, 1
xor ebp, ebp
push 4
mov dword [esp + 0x18], esi
mov dword [esi + 0xc], 0x7477b4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 0x10], eax
push 8
mov dword [esp + 0x28], ebp
mov dword [esi + 0x24], 0x7477a4
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x20], bl
je 0x70f4fd
push fcn.0040a880
push 0x40b080
lea edi, [eax + 4]
push ebx
push 4
push edi
mov dword [eax], ebx
call fcn.007276b0
jmp 0x70f4ff
xor edi, edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x3c], ebp
mov ebp, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov byte [esp + 0x24], 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
mov dword [esi], eax
mov ecx, ebp
sub edx, ebp
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x70f52a
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
cmp ebp, dword [esi + 0x14]
je 0x70f5a9
cmp ebp, dword [esi + 0x18]
jae 0x70f56d
mov ecx, ebp
mov eax, dword [esi + 0x10]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
cmp edx, ebx
je 0x70f562
mov dword [eax], ebx
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x18]
inc ecx
cmp ecx, eax
jb 0x70f54c
mov dword [esi + 0x18], ebp
mov edi, dword [esi + 0x10]
lea ecx, [ebp*4]
push ecx
mov dword [esi + 0x14], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
add esp, 4
xor eax, eax
cmp ecx, ebx
jbe 0x70f5a0
mov edx, dword [esi + 0x10]
mov ecx, dword [edi + eax*4]
mov dword [edx + eax*4], ecx
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
jb 0x70f58f
push edi
call fcn.00727530
add esp, 4
mov edx, dword [esp + 0x30]
mov dword [esi + 0x20], edx
mov eax, dword [esi + 0x2c]
cmp ebp, eax
je 0x70f6b2
cmp ebp, dword [esi + 0x30]
jae 0x70f636
mov dword [esp + 0x28], ebp
jmp 0x70f5c8
xor ebx, ebx
push ebx
lea ecx, [esp + 0x30]
call fcn.006c53c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x28]
lea edi, [ecx*4]
mov ecx, dword [edi + edx]
mov edx, dword [eax]
cmp ecx, edx
lea ecx, [esp + 0x2c]
setne bl
call fcn.0040a880
test bl, bl
je 0x70f623
push 0
lea ecx, [esp + 0x14]
call fcn.006c53c0
mov ecx, dword [esi + 0x28]
push eax
add ecx, edi
mov byte [esp + 0x24], 4
call fcn.00712850
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0040a880
dec dword [esi + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x70f5c6
mov dword [esi + 0x30], ebp
mov ebx, dword [esi + 0x28]
lea edx, [ebp*4 + 4]
push edx
mov dword [esi + 0x2c], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x20], 5
je 0x70f673
push fcn.0040a880
push 0x40b080
lea edi, [eax + 4]
push ebp
push 4
push edi
mov dword [eax], ebp
call fcn.007276b0
jmp 0x70f675
xor edi, edi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x28], edi
xor edi, edi
mov byte [esp + 0x20], 3
test eax, eax
jbe 0x70f6a3
lea eax, [edi*4]
lea ecx, [eax + ebx]
push ecx
mov ecx, dword [esi + 0x28]
add ecx, eax
call fcn.00712850
mov eax, dword [esi + 0x30]
inc edi
cmp edi, eax
jb 0x70f686
test ebx, ebx
je 0x70f6b0
push 3
mov ecx, ebx
call fcn.0047df80
xor ebx, ebx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], edx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x70f6d4
call fcn.00404630
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
push 0x7de664
fld dword [0x7511e4]
fchs
fstp dword [esi + 0x5c]
lea ecx, [esi + 0x60]
call fcn.006e7cd0
push 0x7de6cc
lea ecx, [esi + 0x84]
call fcn.0040a7e0
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc