Function at 0x416b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4752b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
push edi
mov ecx, ebp
mov dword [esp + 0x24], esi
call fcn.00402fd0
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edi, [ebp + 4]
push edi
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x110
xor ebx, ebx
push edx
mov dword [esp + 0x30], ebx
call fcn.0042d7aa
test eax, eax
jl 0x416da5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edx, dword [edi]
imul edx, edx, 0x44
push edx
mov esi, eax
call fcn.00469687
mov dword [ebp + 8], eax
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00469687
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
add esp, 8
cmp eax, ebx
jbe 0x416d20
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], esi
jmp 0x416c16
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
add edi, eax
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [eax]
lea edx, [eax + 0x10]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
push 0x478a30
lea ecx, [esp + 0x3c]
mov dword [edx + 0xc], eax
call fcn.00410b90
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x30], 0
je 0x416c81
cmp ebx, dword [esp + 0x44]
jge 0x416c81
mov edx, dword [eax + ebx*4]
test edx, edx
jne 0x416c73
xor eax, eax
jmp 0x416c9e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c78
jmp 0x416c9c
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x416c90
xor eax, eax
jmp 0x416c9e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c95
sub eax, esi
push eax
lea ecx, [esp + 0x3c]
push edx
call fcn.0040e010
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x38]
lea esi, [ebx*4]
add ecx, esi
push ecx
push edx
push eax
call fcn.00427eda
test eax, eax
jge 0x416cd6
mov eax, dword [ebp + 0xc]
mov dword [esi + eax], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 4]
inc ebx
add edx, 0x44
add ecx, 0x48
cmp ebx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ecx
jb 0x416c12
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
mov esi, dword [edx]
push ebx
push eax
call dword [ecx + 0xc]
mov edx, dword [esp + 0x20]
push eax
push 0x4000110
push edx
call dword [esi + 0x60]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x416d68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x416d7a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x14], ebx
cmp esi, ebx
jl 0x416da5
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
push ebp
push ecx
mov ecx, esi
push eax
call dword [ecx + 0x18]
mov edx, dword [esp + 0x20]
push eax
push 0x260
push edx
call dword [esi + 0x28]
test eax, eax
jge 0x416da9
xor eax, eax
jmp 0x416dbc
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x416db7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10