Function at 0x5269f0
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.00523aa0
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 0x526a67
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x526a8d
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 0x526ad1
jmp 0x526acf
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 0x526b8e
jmp 0x526b84
jmp 0x526adc
mov ax, word [esp + 0x1a]
cmp ax, 0xdfff
jbe 0x526afb
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 0x526a8d
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x68], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x6c], eax
lea eax, [0x6036f8]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x2c], 0
jne 0x526b21
jmp 0x526b40
lea eax, [esp + 0x2c]
add eax, 4
mov dword [esp + 0x74], eax
lea eax, [0x6036f8]
add eax, 4
mov dword [esp + 0x78], eax
cmp dword [esp + 0x30], 0
je 0x526b62
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 0x526a8d
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 0x526a8d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
jmp 0x526b99
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 0x526bd3
mov ecx, dword [0x60305c]
mov eax, dword [0x603060]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jmp 0x526bfe
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 0x526c39
jmp 0x526c23
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 0x526c4c
mov ecx, dword [0x60305c]
mov eax, dword [0x603060]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jmp 0x526bfe