Function at 0x4eee70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710c0
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0xfc6800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
add eax, 0x30
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xd8]
add ecx, 8
push ecx
mov ecx, 0xfc88c0
call fcn.0041d790
mov eax, dword [eax]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
sub ecx, 1
mov dword [ebp - 0xdc], ecx
cmp dword [ebp - 0xdc], 0xc
ja case.0x4eeefa.3
mov edx, dword [ebp - 0xdc]
jmp dword [edx*4 + 0x4ef51c]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x24]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xd8]
add edx, 0x10
push edx
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.004d4c10
add esp, 0x28
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x4eef9b
mov ecx, dword [ebp - 0x18]
call fcn.004024b0
mov dword [ebp - 0x18], 0
jmp case.0x4eeefa.3
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x24]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x14]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d4fd0
add esp, 0x24
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x4ef030
mov ecx, dword [ebp - 0x1c]
call fcn.004024b0
mov dword [ebp - 0x1c], 0
jmp case.0x4eeefa.3
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x24]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
push ecx
push 0xf8dfd8
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.004d5090
add esp, 0x28
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x4ef0ca
mov ecx, dword [ebp - 0x20]
call fcn.004024b0
mov dword [ebp - 0x20], 0
jmp case.0x4eeefa.3
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x24]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.004d5570
add esp, 0x24
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x4ef15f
mov ecx, dword [ebp - 0x24]
call fcn.004024b0
mov dword [ebp - 0x24], 0
jmp case.0x4eeefa.3
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x24]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x14]
push eax
push 0xf8e0b4
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.004d5090
add esp, 0x28
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4ef1f9
mov ecx, dword [ebp - 0x28]
call fcn.004024b0
mov dword [ebp - 0x28], 0
jmp case.0x4eeefa.3
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x24]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
push ecx
push 0xf8dff4
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.004d5090
add esp, 0x28
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x4ef293
mov ecx, dword [ebp - 0x2c]
call fcn.004024b0
mov dword [ebp - 0x2c], 0
jmp case.0x4eeefa.3
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x24]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0xd8]
add eax, 0x10
push eax
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.004d45a0
add esp, 0x28
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x4ef332
mov ecx, dword [ebp - 0x30]
call fcn.004024b0
mov dword [ebp - 0x30], 0
jmp case.0x4eeefa.3
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x24]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xd8]
add edx, 0x10
push edx
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004d8400
add esp, 0x28
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 0
je 0x4ef3d1
mov ecx, dword [ebp - 0x34]
call fcn.004024b0
mov dword [ebp - 0x34], 0
jmp case.0x4eeefa.3
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc4], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov edx, dword [ebp - 0xc4]
push edx
push ecx
call fcn.004c6830
add esp, 8
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x24]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x14]
push eax
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004d7700
add esp, 0x20
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x4ef47d
mov ecx, dword [ebp - 0x3c]
call fcn.004024b0
mov dword [ebp - 0x3c], 0
jmp case.0x4eeefa.3
mov eax, dword [ebp - 0xd8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x24]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.004d7c40
add esp, 0x20
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
call fcn.00475de0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0
je case.0x4eeefa.3
mov ecx, dword [ebp - 0x40]
call fcn.004024b0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4