Function at 0x49bbe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov ebx, 0x522d18
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov esi, 0x5294c8
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x110], 2
call fcn.0047dc50
lea eax, [esp + 0x20]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, 0x591df8
mov byte [esp + 0x11c], 3
call fcn.004bf640
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add ecx, eax
test ecx, ecx
jne 0x49bd14
lea ecx, [esp + 0x50]
mov byte [esp + 0x110], 2
call fcn.00507a00
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esp + 0x110], 4
cmp eax, edi
je 0x49bcbf
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x110], 5
cmp eax, edi
je 0x49bce5
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x110], 6
cmp eax, edi
je 0x49bd09
push eax
call fcn.0050b204
add esp, 4
fld qword [0x520dc0]
jmp 0x49bf3a
push ebp
mov ebp, dword [esp + 0x120]
cmp dword [ebp + 8], edi
je 0x49bd31
lea edx, [esp + 0x54]
push edx
push ebp
call fcn.004f3e90
add esp, 8
jmp 0x49bd41
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x74]
call fcn.004cdca0
fld qword [esp + 0x64]
fadd qword [esp + 0x124]
mov eax, dword [0x591e0c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x591e08]
sub esp, 8
mov byte [esp + 0x11c], 7
fstp qword [esp]
push eax
mov eax, dword [esp + 0x24]
add eax, edx
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.004cdec0
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, edi
jle 0x49bde2
mov bl, 8
push 0x70
call fcn.0050b264
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, edi
mov byte [esp + 0x114], bl
je 0x49bdc0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + esi*4]
mov ecx, eax
add edx, 0x10
push edx
call fcn.004cf900
jmp 0x49bdc2
xor eax, eax
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x118], 7
call fcn.004ce2e0
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x49bd93
mov ebx, 0x522d18
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, edi
jle 0x49be3a
mov bl, 9
push 0x70
call fcn.0050b264
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, edi
mov byte [esp + 0x114], bl
je 0x49be18
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + esi*4]
mov ecx, eax
push edx
call fcn.004cf730
jmp 0x49be1a
xor eax, eax
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x118], 7
call fcn.004ce2e0
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x49bdee
mov ebx, 0x522d18
mov eax, dword [esp + 0x11c]
xor esi, esi
mov dword [0x5990d8], eax
mov eax, dword [ebp + 8]
cmp eax, edi
jle 0x49be9b
mov bl, 0xa
push 0x70
call fcn.0050b264
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, edi
mov byte [esp + 0x114], bl
je 0x49be7a
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + esi*4]
mov ecx, eax
push edx
call fcn.004cf730
jmp 0x49be7c
xor eax, eax
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x118], 7
call fcn.004cef90
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x49be51
mov ebx, 0x522d18
lea ecx, [esp + 0x74]
call fcn.004ce020
fstp qword [esp + 0x38]
lea ecx, [esp + 0x74]
mov byte [esp + 0x114], 3
call fcn.004cdd60
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 2
call fcn.00507a00
mov dword [esp + 0x10], 0x5294c8
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 0xb
cmp eax, edi
pop ebp
je 0x49beec
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x110], 0xc
cmp eax, edi
je 0x49bf12
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x110], 0xd
cmp eax, edi
je 0x49bf36
push eax
call fcn.0050b204
add esp, 4
fld qword [esp + 0x34]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret