Function at 0x5518b2
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3d95
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5321c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.0052af1c
mov dword [esi + 0x78], edi
mov eax, dword [0x53acf4]
mov ecx, 0x53acf4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
push 0x50ef7c
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebx
call fcn.004faf44
lea edi, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004fb6eb
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004f7bea
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jle 0x551add
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, 0x53c838
mov byte [esp + 0x38], 2
call fcn.004fb338
test eax, eax
je 0x551ac2
push 0x514468
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.004faf44
lea edi, [esi + 0x84]
mov byte [esp + 0x30], 3
call fcn.004fb6eb
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004f7bea
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x5519b1
push 0x50f870
push edi
call fcn.004fb612
fld dword [0x51bc40]
push ecx
fstp dword [esp]
push 0x50fa6c
lea ecx, [esp + 0x24]
call fcn.00527164
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
push 0xff000000
fstp dword [esi + 0x88]
push 0x514474
fld dword [esp + 0x20]
lea ecx, [esp + 0x24]
fstp dword [esi + 0x9c]
call fcn.0051a70b
push ebx
push 0x514480
lea ecx, [esp + 0x24]
mov dword [esi + 0x8c], eax
call fcn.004fae89
test eax, eax
je 0x551a17
mov dword [esi + 0x94], 1
push 0x51448c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.004faf44
mov byte [esp + 0x30], 4
push 0x5144a0
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551a4c
or dword [esi + 0xa0], 4
jmp 0x551aa1
push 0x4fa798
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551a69
or dword [esi + 0xa0], 1
jmp 0x551aa1
push 0x5144b0
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551a86
or dword [esi + 0xa0], 8
jmp 0x551aa1
push 0x511104
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551aa1
or dword [esi + 0xa0], 0xc
push ebx
push 0x5144c0
lea ecx, [esp + 0x24]
call fcn.0051a70b
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004f7bea
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x551c27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x551c27
mov ecx, dword [ebp + 8]
push 0x514468
lea eax, [esp + 0x1c]
push eax
call fcn.004faf44
lea edi, [esi + 0x84]
mov byte [esp + 0x30], 5
call fcn.004fb6eb
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004f7bea
mov ecx, dword [ebp + 8]
push ebx
push 0x5144c0
call fcn.0051a70b
mov dword [esi + 0x90], eax
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x551b35
push 0x50f870
push edi
call fcn.004fb612
fld dword [0x51bc40]
mov edi, dword [ebp + 8]
push ecx
fstp dword [esp]
push 0x50fa6c
mov ecx, edi
call fcn.00527164
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
push 0xff000000
fstp dword [esi + 0x88]
push 0x514474
fld dword [esp + 0x20]
mov ecx, edi
fstp dword [esi + 0x9c]
call fcn.0051a70b
push ebx
push 0x514480
mov ecx, edi
mov dword [esi + 0x8c], eax
call fcn.004fae89
test eax, eax
je 0x551b98
mov dword [esi + 0x94], 1
push 0x51448c
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004faf44
push 0x5144a0
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551bc6
or dword [esi + 0xa0], 4
jmp 0x551c1b
push 0x4fa798
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551be3
or dword [esi + 0xa0], 1
jmp 0x551c1b
push 0x5144b0
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551c00
or dword [esi + 0xa0], 8
jmp 0x551c1b
push 0x511104
push dword [esp + 0x14]
call 0x5b9c66
test eax, eax
pop ecx
pop ecx
jne 0x551c1b
or dword [esi + 0xa0], 0xc
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004f7bea
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004f7bea
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8