Function at 0x3949d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a2ac87
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x854], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x86c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x87c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
call fcn.039d9be0
xor esi, esi
mov dword [esp + 0x874], esi
mov ecx, dword [0x3a78024]
mov ebp, ecx
mov dword [esp + 0x30], ebp
call fcn.039d9190
mov byte [esp + 0x874], 1
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp eax, esi
jbe 0x3949e77
mov edi, ecx
cmp esi, eax
jb 0x3949e25
call fcn.03a01b13
mov ecx, dword [0x3a78008]
mov edx, dword [edi + 0xc]
mov eax, dword [edx + esi*4]
mov edx, dword [eax + 0x36c]
test dl, 4
jne 0x3949e69
mov ebx, dword [eax + 0x374]
shr ebx, 1
test bl, 1
jne 0x3949e69
test edx, 0x100000
jne 0x3949e69
mov eax, dword [eax + 0x1f4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.03949af0
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jb 0x3949e14
xor esi, esi
cmp ebp, esi
je 0x3949e8a
mov ecx, ebp
call fcn.039d91a0
mov dword [esp + 0x30], esi
mov ebp, esi
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
sar edx, 2
test edx, edx
jbe 0x394a069
mov ebx, dword [0x3a5fdd8]
mov ebp, 0xffff
jmp 0x3949eb0
mov dword [esp + 0x14], 0
mov byte [esp + 0x874], 2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
sar eax, 2
cmp esi, eax
jb 0x3949ed4
call fcn.03a01b13
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.03941760
mov edi, dword [esp + 0x20]
add esp, 0xc
test al, al
je 0x394a036
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 2
cmp esi, ecx
jb 0x3949f0b
call fcn.03a01b13
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
push 0x204
lea edx, [esp + 0x464]
push edx
push ecx
call fcn.03941c30
add esp, 0xc
test eax, eax
je 0x394a036
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
sar edx, 2
cmp esi, edx
jb 0x3949f44
call fcn.03a01b13
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + esi*4]
push 0x204
lea eax, [esp + 0x464]
push eax
push edx
call dword [0x3a5fd4c]
test eax, eax
jne 0x394a036
push 0xffffffffffffffff
lea eax, [esp + 0x464]
push eax
lea ecx, [esp + 0x260]
push 0x104
push ecx
call fcn.03a02186
add esp, 0x10
lea edx, [esp + 0x460]
push edx
call fcn.039f7560
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x60]
push 0x100
push eax
call fcn.03a02186
add esp, 0x10
mov dword [esp + 0x38], 0x428
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], 1
call ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp esi, edx
jb 0x3949fe6
call fcn.03a01b13
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x4c], edx
mov edx, eax
sub edx, ecx
sar edx, 2
cmp esi, edx
jb 0x394a005
call fcn.03a01b13
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x2c4]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x50], edx
cmp esi, eax
jb 0x394a021
call fcn.03a01b13
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], eax
call fcn.03949c70
mov byte [esp + 0x874], 1
test edi, edi
je 0x394a051
mov ecx, edi
call fcn.03945cb0
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
inc esi
sar edx, 2
cmp esi, edx
jb 0x3949eb0
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x874], 0
xor esi, esi
cmp ebp, esi
je 0x394a07e
mov ecx, ebp
call fcn.039d91a0
mov dword [esp + 0x874], 3
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x394a09a
push eax
call fcn.0393d9e0
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x874], 0xffffffff
mov eax, dword [esp + 0x18]
push eax
call fcn.0393d9e0
add esp, 4
mov ecx, dword [esp + 0x86c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x854]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x864
ret