Function at 0x5580df
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a9a45
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x816078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], 0x77b1f4
call fcn.0041cad4
push dword [ebp + 0x14]
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.0041cad4
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x30]
push dword [ebp + 0x18]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
call fcn.0041cad4
xor ecx, ecx
lea eax, [esi + 0x54]
push ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
push ecx
mov word [esi + 0x50], 1
push eax
mov byte [esi + 0x52], cl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
push dword [ebp + 0x10]
lea ecx, [esi + 0x6c]
call fcn.0041cad4
lea ecx, [esi + 0x74]
push ebx
call fcn.0041cad4
mov dword [ecx + 8], edi
cmp dword [ecx], edi
je 0x5582ed
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov eax, dword [ecx + 4]
test eax, eax
je 0x5581b4
lock inc dword [eax + 4]
mov eax, dword [ecx]
lea edi, [esi + 0x8c]
push dword [ebp + 0x20]
mov dword [esi + 0x84], eax
mov eax, dword [ecx + 4]
mov ecx, edi
mov dword [esi + 0x88], eax
call fcn.0041cad4
push dword [ebp + 0x24]
lea ecx, [esi + 0x94]
call fcn.0041cad4
xor eax, eax
cmp dword [edi], eax
jne 0x5581f4
push eax
push 0x792105
jmp 0x5582f3
cmp dword [esi + 0x84], eax
jne 0x558207
push eax
push 0x743614
jmp 0x5582f3
cmp dword [esi + 0xc], eax
jne 0x558217
push eax
push 0x6de1d3
jmp 0x5582f3
cmp dword [esi + 0x6c], eax
jne 0x558227
push eax
push 0x686658
jmp 0x5582f3
cmp dword [ebx], eax
jne 0x558236
push eax
push 0x69f791
jmp 0x5582f3
cmp dword [esi + 0x30], eax
jne 0x558246
push eax
push 0x6cd64e
jmp 0x5582f3
cmp dword [ecx], eax
jne 0x558255
push eax
push 0x109051b
jmp 0x5582f3
mov edx, dword [esi + 0x2c]
lea ecx, [ebp - 0x14]
push edi
call fcn.00558d29
xor edi, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x20], edx
mov dword [ebp - 4], edi
test ecx, ecx
je 0x558282
call fcn.00412707
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x558295
call fcn.00412707
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00558dad
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], edx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x5582c4
call fcn.00412707
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x5582d7
call fcn.00412707
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push edi
push 0x69f790
call fcn.00422704
int3