Function at 0x558480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ebp, [esi + 0x94]
cmp dword [esi + 0x98], ebx
jbe 0x558560
lea ebx, [ebx]
mov eax, dword [ebp]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x558553
lea ecx, [edi + 0x30]
call fcn.004b5160
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5584c6
push eax
call fcn.0040bd60
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x5584eb
push eax
call fcn.0040bd60
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x558510
push eax
call fcn.0040bd60
add esp, 4
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
test eax, eax
je 0x558534
push eax
call fcn.0040bd60
add esp, 4
push 0x48
push edi
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
call fcn.00491173
add esp, 8
inc ebx
cmp ebx, dword [esi + 0x98]
jb 0x5584a0
xor ebx, ebx
mov dword [esi + 0x98], 0
cmp dword [esi + 0x8c], ebx
jbe 0x5585e3
mov eax, dword [esi + 0x88]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x5585d4
mov eax, dword [edi + 0xc]
test eax, eax
je 0x558591
push eax
call fcn.0040bd60
add esp, 4
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
test eax, eax
je 0x5585b5
push eax
call fcn.0040bd60
add esp, 4
push 0x18
push edi
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
call fcn.00491173
add esp, 8
inc ebx
cmp ebx, dword [esi + 0x8c]
jb 0x558574
lea ebp, [esi + 0x94]
lea edi, [esi + 0xa0]
mov dword [esi + 0x8c], 0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x55860f
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov eax, dword [ebp]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp], 0
test eax, eax
je 0x558634
push eax
call fcn.0040bd60
add esp, 4
mov eax, dword [esi + 0x88]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x88], 0
test eax, eax
je 0x558665
push eax
call fcn.0040bd60
add esp, 4
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x558675
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x5586a0
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov eax, dword [esi + 0x64]
test eax, eax
je 0x5586c5
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x5586ea
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x55870f
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x558734
push eax
call fcn.0040bd60
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x558759
push eax
call fcn.0040bd60
add esp, 4
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
call fcn.00556b90
mov edi, dword [esi + 0x14]
or ebx, 0xffffffff
test edi, edi
je 0x55879f
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x55879f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x55879f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 8]
test esi, esi
je 0x5587c8
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x5587c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x5587c8
mov eax, dword [esi]
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
jmp dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
ret