Function at 0x599dd4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x599ddc
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x59a208
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x59a1cd
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00406798
push eax
mov eax, dword [0x6b4df0]
push eax
push 1
push 0
lea eax, [esi + 0xf0]
push eax
call sub.ole32.dll_CoCreateInstance
mov edx, eax
mov ecx, dword [esi + 0x44]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov edx, 0x34
mov eax, dword [0x5342ac]
call fcn.0053470c
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, 0x34
mov eax, dword [ebp - 0x10]
call fcn.0053eaf8
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x3b
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebx + 0x24]
mov edx, dword [esi + 0x70]
call fcn.0041736c
mov edx, 0x208
mov eax, dword [0x5342ac]
call fcn.0053470c
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, 0x208
mov eax, dword [ebp - 0x14]
call fcn.0053eaf8
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x1fc
xor eax, eax
mov dword [ebx + 4], eax
lea edx, [ebp - 0x24]
mov al, byte [esi + 0x85]
call fcn.00594720
lea edx, [ebp - 0x24]
lea eax, [ebx + 0x24]
call fcn.00417478
mov edi, dword [ebp - 0x14]
mov ebx, edi
add ebx, 0x34
mov dword [ebx], 0x1fb
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebx + 0x24]
mov edx, dword [esi + 0x30]
call fcn.0041736c
mov ebx, edi
add ebx, 0x68
mov dword [ebx], 0x20b
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0x44]
mov edx, dword [esi + 0xa8]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x34]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0x9c
mov dword [ebx], 0x1fa
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0x64]
mov edx, dword [esi + 0xac]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x54]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0x54]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0xd0
mov dword [ebx], 0x1fe
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebx + 0x24]
mov edx, dword [esi + 0xb0]
call fcn.0041736c
mov ebx, edi
add ebx, 0x104
mov dword [ebx], 0x20e
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0x84]
mov edx, dword [esi + 0xb4]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x74]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0x74]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0x138
mov dword [ebx], 0x1fd
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0xa4]
mov edx, dword [esi + 0xb8]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x94]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0x16c
mov dword [ebx], 0x1ff
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0xc4]
mov edx, dword [esi + 0xbc]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xb4]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0xb4]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0x1a0
mov dword [ebx], 0x202
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0xe4]
mov edx, dword [esi + 0xc0]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0xd4]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x24]
call fcn.00417478
mov ebx, edi
add ebx, 0x1d4
mov dword [ebx], 0x206
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebp - 0x104]
mov edx, dword [esi + 0xc4]
mov cl, 0xfc
call fcn.00416ff8
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0xf4]
mov dx, 3
call fcn.004198a8
lea edx, [ebp - 0xf4]
lea eax, [ebx + 0x24]
call fcn.00417478
mov edx, 0x30
mov eax, dword [0x5342ac]
call fcn.0053470c
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, 0x30
mov eax, dword [ebp - 0xc]
call fcn.0053eaf8
mov eax, dword [ebp - 0xc]
mov edx, dword [0x6b5188]
push esi
mov esi, edx
lea edi, [eax + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov dword [eax + 4], 1
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov edx, dword [0x6b54e0]
push esi
mov esi, edx
lea edi, [eax + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], 0xa
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
call fcn.00406798
push eax
mov eax, dword [0x6b5374]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 2
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a1d4
lea eax, [ebp - 8]
call fcn.00406798
cmp dword [ebp - 0xc], 0
je 0x59a1a6
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5342ac]
call fcn.00534728
cmp dword [ebp - 0x14], 0
je 0x59a1b9
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5342ac]
call fcn.00534728
cmp dword [ebp - 0x10], 0
je 0x59a1cc
mov edx, dword [ebp - 0x10]
mov eax, dword [0x5342ac]
call fcn.00534728
ret