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

Disassembly:
push edi
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], 2
add eax, 4
lea ecx, [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005600d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
movzx eax, word [eax]
cmp eax, 0
jne 0x5619e7
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x561a0d
mov eax, dword [esp + 0x24]
mov ecx, eax
add ecx, 2
mov dword [esp + 0x60], ecx
mov cx, word [eax + 2]
mov word [esp + 0x1a], cx
mov word [esp + 0x64], cx
mov ax, 0xd800
cmp ax, cx
jbe 0x561a51
jmp 0x561a4f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], ecx
and eax, 1
mov dword [esp + 0x88], eax
cmp eax, 0
ja 0x561b0e
jmp 0x561b04
jmp 0x561a5c
mov ax, word [esp + 0x1a]
cmp ax, 0xdfff
jbe 0x561a7b
mov eax, dword [esp + 0x24]
mov ax, word [eax + 2]
mov word [esp + 0x66], ax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
jmp 0x561a0d
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x68], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x6c], eax
lea eax, [0x609798]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x2c], 0
jne 0x561aa1
jmp 0x561ac0
lea eax, [esp + 0x2c]
add eax, 4
mov dword [esp + 0x74], eax
lea eax, [0x609798]
add eax, 4
mov dword [esp + 0x78], eax
cmp dword [esp + 0x30], 0
je 0x561ae2
mov eax, dword [esp + 0x24]
mov ax, word [eax + 2]
mov word [esp + 0x7c], ax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
jmp 0x561a0d
mov eax, dword [esp + 0x24]
mov ax, word [eax + 2]
mov word [esp + 0x7e], ax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
jmp 0x561a0d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
jmp 0x561b19
mov eax, dword [esp + 0x14]
add eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x90], eax
cmp dword [esp + 0x2c], 0
jne 0x561b53
mov ecx, dword [0x609618]
mov eax, dword [0x60961c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jmp 0x561b7e
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0x94], eax
add eax, dword [esp + 0x40]
setb al
and al, 1
mov byte [esp + 0x9b], al
test byte [esp + 0x9b], 1
jne 0x561bb9
jmp 0x561ba3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
add esp, 0x9c
pop esi
pop edi
ret
mov eax, dword [esp + 8]
add eax, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 1
jmp 0x561bcc
mov ecx, dword [0x609618]
mov eax, dword [0x60961c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jmp 0x561b7e