Function at 0x561278
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 0x561517
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0056121c
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 + 0x5c6420]
mov dword [ebp - 0xc], eax
xor eax, eax
mov esi, 0x5c6448
mov edx, eax
cmp dl, 7
ja 0x5612d2
and edx, 0x7f
bt dword [ebx + 0x3c], edx
jae 0x5612d9
mov edx, dword [esi]
add dword [ebp - 0xc], edx
inc eax
add esi, 4
cmp al, 8
jne 0x5612c4
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.005611b8
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x56131a
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x56132b
mov eax, ebx
call fcn.005611b8
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004a3d24
mov dl, 1
mov eax, dword [0x560478]
call fcn.004040fc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x560478]
call fcn.004040fc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5614f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x4c]
call fcn.005607f8
test byte [ebx + 0x65], 2
je 0x5613ae
test byte [ebx + 0x65], 4
setne cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00560520
or dword [ebp - 0x30], 0x100
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00561b50
mov dword [ebp - 0x20], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00561b50
mov dword [ebp - 0x24], eax
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00561b50
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 0x5613f4
mov eax, ebx
call fcn.00561160
call fcn.00410304
test byte [ebx + 0x65], 2
je 0x561484
test byte [ebx + 0x65], 4
je 0x561412
mov edx, 3
mov eax, ebx
call fcn.00561254
jmp 0x56141e
mov edx, 2
mov eax, ebx
call fcn.00561254
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00561b40
push eax
mov ecx, dword [ebx + 0x54]
mov dl, 1
mov eax, dword [0x5602bc]
call fcn.00560c9c
mov esi, eax
mov dword [ebx + 0x70], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x561620
mov eax, esi
call fcn.00429730
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00561b40
mov edx, eax
mov eax, dword [ebx + 0x74]
call fcn.00561774
test byte [ebx + 0x65], 4
je 0x5614cf
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00561b40
mov edx, eax
mov eax, dword [ebx + 0x78]
call fcn.00561774
jmp 0x5614cf
cmp byte [ebx + 0x64], 0
je 0x5614bd
mov edx, 1
mov eax, ebx
call fcn.00561254
mov ecx, dword [ebx + 0x54]
mov dl, 1
mov eax, dword [0x560250]
call fcn.005608a0
mov esi, eax
mov dword [ebx + 0x70], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x561620
mov eax, esi
call fcn.00429730
jmp 0x5614cf
push 0xffffffffffffffff
mov eax, dword [ebx + 0x54]
push eax
call fcn.004086f0
mov eax, ebx
call fcn.0056123c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5614fc
mov eax, dword [ebp - 4]
call fcn.0040412c
mov eax, dword [ebp - 8]
call fcn.0040412c
lea eax, [ebp - 0x18]
call fcn.004a3e5c
ret