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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x39]
mov edx, dword [0x5507c4]
call fcn.00485e9c
xor eax, eax
push ebp
push 0x561626
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x49], 0
push 0
push 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2f8]
push eax
mov eax, dword [eax]
call dword [eax + 0x8c]
mov byte [ebp - 0x69], 1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
call fcn.004866c0
test eax, eax
jle 0x560e53
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
call fcn.005600d8
mov esi, eax
dec esi
test esi, esi
jl 0x560e53
inc esi
xor ebx, ebx
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax + 0x28]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x14]
call fcn.0048579c
je 0x560e57
inc ebx
dec esi
jne 0x560e2f
mov byte [ebp - 0x69], 0
cmp byte [ebp - 0x69], 0
jne 0x5610fc
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x71], 1
xor edx, edx
push ebp
push 0x5610d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x70]
call fcn.0056016c
mov eax, dword [ebp - 0x70]
call fcn.005600d8
mov edx, eax
inc edx
mov eax, dword [ebp - 0x70]
call fcn.005600e4
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 0
jne 0x560ec3
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x44]
mov si, 0xfffe
call fcn.00484660
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x44]
call fcn.0052c868
mov dl, 1
mov eax, dword [0x53ff08]
call fcn.00541644
mov ebx, eax
mov eax, dword [ebp - 0x70]
call fcn.005600d8
imul eax, eax, 0x35
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 8]
mov dword [edx + eax - 0x35], ebx
xor edx, edx
push ebp
push 0x5610c0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x70]
call fcn.005600d8
imul eax, eax, 0x35
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 8]
lea ebx, [edx + eax - 0x35]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
movzx edx, byte [eax + 0x3e]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0x3ff00000
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0x3ff00000
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0x18]
push eax
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebx + 8]
mov edx, ebx
mov eax, dword [ebp - 0x70]
call fcn.00560188
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x14]
call fcn.004853b8
mov eax, dword [ebx]
mov eax, dword [eax + 0x8c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x48]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx]
call fcn.00542108
test al, al
je 0x56100d
lea edx, [ebp - 0x78]
mov eax, dword [ebx]
mov cl, 1
call fcn.0055e29c
mov eax, dword [ebp - 0x78]
add eax, 0x44
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x14]
call fcn.004853b8
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax + 0x3e]
mov edx, dword [ebp - 0x78]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 0x78]
push eax
push 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x5505b0]
call fcn.0055974c
mov esi, eax
mov dword [ebx + 4], esi
mov eax, esi
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 0x3e]
cmp dl, byte [eax + 0x96]
je 0x561004
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 0x3e]
mov byte [eax + 0x96], dl
cmp dword [eax + 0x15], 0
je 0x561004
call fcn.0055a674
mov byte [ebx + 0x34], 1
jmp 0x5610b2
mov eax, dword [ebx]
push eax
push 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x5505b0]
call fcn.0055974c
mov esi, eax
mov dword [ebx + 4], esi
mov eax, esi
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x3f]
cmp edx, dword [eax + 0x97]
je 0x561059
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x3f]
mov dword [eax + 0x97], edx
cmp dword [eax + 0x15], 0
je 0x561059
cmp byte [eax + 0x96], 0
je 0x561059
call fcn.0055a674
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x15]
test esi, esi
je 0x561077
mov eax, dword [ebx + 4]
cmp byte [eax + 0xa5], 0
je 0x561077
mov eax, dword [ebx + 4]
call fcn.0055a530
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x3f]
mov eax, esi
call fcn.005552cc
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 0x3e]
cmp dl, byte [eax + 0x96]
je 0x5610ae
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 0x3e]
mov byte [eax + 0x96], dl
cmp dword [eax + 0x15], 0
je 0x5610ae
call fcn.0055a674
mov byte [ebx + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5610c7
ret
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
cmp dword [eax + 8], 0
je 0x56118e
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
call fcn.004866c0
test eax, eax
jle 0x56118e
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
call fcn.004866c8
mov esi, eax
test esi, esi
jl 0x56118e
inc esi
xor ebx, ebx
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax + 0x28]
lea edx, [ebp - 0xb0]
call fcn.00489820
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x14]
call fcn.00489820
mov edx, dword [ebp - 0xb4]
pop eax
call fcn.0048579c
jne 0x56118a
mov dword [ebp - 0x7c], ebx
jmp 0x56118e
inc ebx
dec esi
jne 0x561141
mov ebx, dword [ebp - 0x7c]
cmp ebx, 0xffffffff
je 0x5615f2
xor eax, eax
push ebp
push 0x5612a3
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax + 4]
mov esi, dword [eax + 0x15]
test esi, esi
je 0x5611f6
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax + 4]
cmp byte [eax + 0xa5], 0
je 0x5611f6
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax + 4]
call fcn.0055a530
test esi, esi
je 0x561207
lea eax, [ebp - 4]
mov edx, dword [esi + 0x19]
call fcn.00486f84
jmp 0x56120f
lea eax, [ebp - 4]
call fcn.00486f6c
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2f8]
push eax
mov eax, dword [eax]
call dword [eax + 0x8c]
test eax, eax
setne byte [0x5a3b04]
movzx eax, byte [ebp + 0xc]
sub al, 1
jb 0x561247
je 0x561259
dec al
je 0x56126f
dec al
je 0x561285
jmp 0x561299
mov eax, dword [ebp - 0x40]
call fcn.00563278
mov eax, dword [ebp - 0x40]
call fcn.005635d0
jmp 0x561299
mov eax, dword [ebp - 0x40]
call fcn.005632e8
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x40]
call fcn.00563528
jmp 0x561299
mov eax, dword [ebp - 0x40]
call fcn.005633d8
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x40]
call fcn.005635f8
jmp 0x561299
mov eax, dword [ebp - 0x40]
call fcn.00563480
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x40]
call fcn.005635f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5612de
imul esi, ebx, 0x35
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
mov eax, dword [eax + esi + 4]
cmp dword [eax + 0x15], 0
je 0x561303
movzx eax, byte [eax + 0x9c]
mov byte [ebp - 0x7d], al
jmp 0x56130d
movzx eax, byte [eax + 0x96]
mov byte [ebp - 0x7d], al
movzx eax, byte [ebp - 0x7d]
push eax
push 0x29
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2f8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
test eax, eax
setne byte [0x5a3b04]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
cmp byte [eax + esi + 0x34], 0
je 0x56135d
cmp byte [ebp + 0xc], 0
jne 0x56135d
mov eax, dword [ebp - 0x40]
call fcn.005632e8
mov edx, 0xff
mov eax, dword [ebp - 0x40]
call fcn.00563528
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x25], 0
jne 0x561373
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x29], 0
je 0x5615cd
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.0055e4c4
imul edi, ebx, 0x35
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fild dword [eax + edi + 0x2c]
fdivr dword [0x56163c]
fstp qword [ebp - 0x58]
wait
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fild dword [eax + edi + 0x30]
fdivr dword [0x56163c]
fstp qword [ebp - 0x60]
wait
fild dword [ebp - 0xa8]
fmul qword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fstp qword [eax + edi + 8]
wait
fild dword [ebp - 0xa4]
fmul qword [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fstp qword [eax + edi + 0x10]
wait
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0x3fe00000
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + 0x39]
cmp dword [eax + 8], 0
jne 0x5614b1
cmp dword [esi + 0x29], 0
jne 0x56141c
mov eax, dword [esi + 0x20]
call fcn.004ab028
mov dword [esi + 0x29], eax
mov eax, dword [esi + 0x20]
call fcn.004ab028
mov edx, dword [esi + 0x29]
add edx, dword [esi + 0x35]
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x20]
call fcn.004ab028
mov edx, dword [esi + 0x29]
add edx, dword [esi + 0x35]
imul edx, dword [ebp - 0x84]
sub eax, edx
cmp eax, dword [esi + 0x29]
jne 0x561457
inc dword [ebp - 0x84]
cmp dword [esi + 0x25], 0
jne 0x561468
mov eax, dword [esi + 0x20]
call fcn.004ab040
mov dword [esi + 0x25], eax
mov eax, dword [esi + 0x20]
call fcn.004ab040
mov edx, dword [esi + 0x25]
add edx, dword [esi + 0x31]
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x20]
call fcn.004ab040
mov edx, dword [esi + 0x25]
add edx, dword [esi + 0x31]
imul edx, dword [ebp - 0x88]
sub eax, edx
cmp eax, dword [esi + 0x25]
jne 0x5614a3
inc dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
imul dword [ebp - 0x88]
jmp 0x5614b9
mov eax, dword [esi + 0x2d]
call fcn.0049aac4
dec eax
jne 0x5614c4
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
fild dword [ebp - 0xa0]
fsub qword [ebp - 0x68]
fmul qword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fstp qword [eax + edi + 0x18]
wait
fild dword [ebp - 0x9c]
fsub qword [ebp - 0x68]
fmul qword [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x93]
mov eax, dword [eax + 8]
fstp qword [eax + edi + 0x20]
wait
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.0055e4c4
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x98]
jne 0x56157a
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.0055e4c4
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x94]
jne 0x56157a
lea ecx, [ebp - 0xe4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.0055e4c4
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x90]
jne 0x56157a
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.0055e4c4
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x8c]
je 0x5615cd
fild dword [ebp - 0x98]
fmul qword [ebp - 0x58]
fstp qword [ebp - 0x31]
wait
fild dword [ebp - 0x94]
fmul qword [ebp - 0x60]
fstp qword [ebp - 0x29]
wait
fild dword [ebp - 0x90]
fsub qword [ebp - 0x68]
fmul qword [ebp - 0x58]
fstp qword [ebp - 0x21]
wait
fild dword [ebp - 0x8c]
fsub qword [ebp - 0x68]
fmul qword [ebp - 0x60]
fstp qword [ebp - 0x19]
wait
lea edx, [ebp - 0x39]
mov eax, dword [ebp - 0x40]
call fcn.00561c54
movzx eax, byte [0x5a3b04]
xor al, 1
mov byte [ebp - 0x49], al
jmp 0x5615f2
imul eax, ebx, 0x35
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x93]
mov edx, dword [edx + 8]
add edx, eax
mov eax, dword [ebp - 0x40]
call fcn.00561c54
movzx eax, byte [0x5a3b04]
xor al, 1
mov byte [ebp - 0x49], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56162d
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00485388
lea eax, [ebp - 0x39]
mov edx, dword [0x5507c4]
call fcn.00485f6c
lea eax, [ebp - 4]
call fcn.00486f6c
ret