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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x561617
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0056131c
lea eax, [ebx + 0x54]
xor ecx, ecx
mov edx, 0x10
call fcn.004037b8
xor eax, eax
mov al, byte [ebx + 0x50]
mov eax, dword [eax*4 + 0x5c7420]
mov dword [ebp - 0xc], eax
xor eax, eax
mov esi, 0x5c7448
mov edx, eax
cmp dl, 7
ja 0x5613d2
and edx, 0x7f
bt dword [ebx + 0x3c], edx
jae 0x5613d9
mov edx, dword [esi]
add dword [ebp - 0xc], edx
inc eax
add esi, 4
cmp al, 8
jne 0x5613c4
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x34]
call fcn.00409ed0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x40]
call fcn.00409ed0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, ebx
call fcn.005612b8
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x56141a
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x56142b
mov eax, ebx
call fcn.005612b8
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004a3d34
mov dl, 1
mov eax, dword [0x560578]
call fcn.004040fc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x560578]
call fcn.004040fc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5615f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x4c]
call fcn.005608f8
test byte [ebx + 0x65], 2
je 0x5614ae
test byte [ebx + 0x65], 4
setne cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00560620
or dword [ebp - 0x30], 0x100
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00561c50
mov dword [ebp - 0x20], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00561c50
mov dword [ebp - 0x24], eax
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00561c50
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
test byte [ebx + 0x65], 2
setne al
neg al
sbb eax, eax
push eax
push 0
push 0
mov eax, dword [ebx + 0x38]
call fcn.00405494
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00407ab8
test eax, eax
jne 0x5614f4
mov eax, ebx
call fcn.00561260
call fcn.00410304
test byte [ebx + 0x65], 2
je 0x561584
test byte [ebx + 0x65], 4
je 0x561512
mov edx, 3
mov eax, ebx
call fcn.00561354
jmp 0x56151e
mov edx, 2
mov eax, ebx
call fcn.00561354
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00561c40
push eax
mov ecx, dword [ebx + 0x54]
mov dl, 1
mov eax, dword [0x5603bc]
call fcn.00560d9c
mov esi, eax
mov dword [ebx + 0x70], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x561720
mov eax, esi
call fcn.00429730
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00561c40
mov edx, eax
mov eax, dword [ebx + 0x74]
call fcn.00561874
test byte [ebx + 0x65], 4
je 0x5615cf
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00561c40
mov edx, eax
mov eax, dword [ebx + 0x78]
call fcn.00561874
jmp 0x5615cf
cmp byte [ebx + 0x64], 0
je 0x5615bd
mov edx, 1
mov eax, ebx
call fcn.00561354
mov ecx, dword [ebx + 0x54]
mov dl, 1
mov eax, dword [0x560350]
call fcn.005609a0
mov esi, eax
mov dword [ebx + 0x70], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x561720
mov eax, esi
call fcn.00429730
jmp 0x5615cf
push 0xffffffffffffffff
mov eax, dword [ebx + 0x54]
push eax
call fcn.004086f0
mov eax, ebx
call fcn.0056133c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5615fc
mov eax, dword [ebp - 4]
call fcn.0040412c
mov eax, dword [ebp - 8]
call fcn.0040412c
lea eax, [ebp - 0x18]
call fcn.004a3e6c
ret