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

Disassembly:
push esi
call fcn.00536aa0
mov esi, dword [esp + 8]
test ax, ax
mov word [esi + 0x10], ax
je 0x5368f2
push ebx
push ebp
push edi
call fcn.00536a80
mov byte [esi], al
call fcn.00536a80
mov byte [esi + 1], al
call fcn.00536a80
mov byte [esi + 2], al
call fcn.00536a80
mov byte [esi + 3], al
call fcn.00536a80
mov byte [esi + 4], al
call fcn.00536a80
mov byte [esi + 5], al
call fcn.00536a80
mov byte [esi + 6], al
call fcn.00536a80
mov byte [esi + 7], al
call fcn.00536a80
mov byte [esi + 8], al
call fcn.00536a80
mov byte [esi + 9], al
call fcn.00536a80
mov byte [esi + 0xa], al
call fcn.00536aa0
mov word [esi + 0x12], ax
call fcn.00536aa0
mov word [esi + 0x14], ax
call fcn.00536aa0
mov word [esi + 0x16], ax
call fcn.00536aa0
mov word [esi + 0x18], ax
call fcn.00536aa0
mov word [esi + 0x1a], ax
call fcn.00536aa0
mov word [esi + 0x1c], ax
call fcn.00536aa0
mov word [esi + 0x1e], ax
call fcn.00536aa0
mov word [esi + 0x20], ax
call fcn.00536aa0
mov word [esi + 0x22], ax
call fcn.00536aa0
mov word [esi + 0x24], ax
call fcn.00536aa0
mov word [esi + 0x26], ax
call fcn.00536aa0
mov word [esi + 0x28], ax
call fcn.00536aa0
mov word [esi + 0x2a], ax
call fcn.00536aa0
mov word [esi + 0x2c], ax
call fcn.00536aa0
mov word [esi + 0x2e], ax
call fcn.00536aa0
mov word [esi + 0x30], ax
call fcn.00536aa0
mov word [esi + 0x32], ax
call fcn.00536b50
mov dword [esi + 0x50], eax
call fcn.00536b50
mov dword [esi + 0x54], eax
call fcn.00536b50
mov dword [esi + 0x58], eax
call fcn.00536c00
fstp dword [esi + 0x64]
call fcn.00536cb0
mov word [esi + 0x68], ax
call fcn.00536cb0
mov word [esi + 0x6a], ax
call fcn.00536cb0
mov word [esi + 0x6c], ax
call fcn.00536cb0
mov word [esi + 0x6e], ax
call fcn.00536cb0
mov word [esi + 0x70], ax
call fcn.00536cb0
mov word [esi + 0x72], ax
call fcn.00536aa0
mov word [esi + 0x74], ax
call fcn.00536aa0
mov word [esi + 0x76], ax
call fcn.00536aa0
mov word [esi + 0x78], ax
call fcn.00536aa0
mov word [esi + 0x7a], ax
call fcn.00536aa0
mov word [esi + 0x7c], ax
call fcn.00536a80
mov bl, al
mov byte [esi + 0x84], bl
call fcn.00536a80
test bl, bl
mov byte [esi + 0x8c], al
jbe 0x5367b5
and ebx, 0xff
push 1
push ebx
lea ebp, [esi + 0x80]
push 1
push 0x11
push ebp
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
xor ebx, ebx
mov edi, 1
mov bl, byte [esi + 0x84]
add esp, 0x1c
cmp ebx, edi
jl 0x5367b5
call fcn.00536a80
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 0x14]
inc edi
cmp edi, ebx
mov byte [edx + edi - 1], al
jle 0x53679e
mov al, byte [esi + 0x8c]
test al, al
jbe 0x53680b
and eax, 0xff
push 1
push eax
lea ebx, [esi + 0x88]
push 1
push 0x11
push ebx
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
xor eax, eax
mov edi, 1
mov al, byte [esi + 0x8c]
add esp, 0x1c
mov ebp, eax
cmp ebp, edi
jl 0x53680b
call fcn.00536a80
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 0x14]
inc edi
cmp edi, ebp
mov byte [edx + edi - 1], al
jle 0x5367f5
mov al, byte [esi]
cmp al, 1
jb 0x536815
cmp al, 0xb
jbe 0x53681d
cmp al, 0xd
jb 0x536862
cmp al, 0x10
ja 0x536862
cmp al, 1
jbe 0x536848
mov al, byte [esi + 4]
test al, al
jbe 0x536834
movzx ax, al
mov word [esi + 0x34], ax
mov byte [esi + 4], 0
mov al, byte [esi + 6]
test al, al
jbe 0x536848
xor cx, cx
mov byte [esi + 6], 0
mov cl, al
mov word [esi + 0x3a], cx
mov al, byte [esi + 5]
test al, al
je 0x5368df
xor dx, dx
mov byte [esi + 5], 0
mov dl, al
mov word [esi + 0x38], dx
jmp 0x5368df
cmp al, 0xc
jne 0x536892
mov al, byte [esi + 5]
test al, al
jbe 0x536874
mov byte [esi + 0xc], al
mov byte [esi + 5], 0
mov al, byte [esi + 6]
test al, al
jbe 0x536882
mov byte [esi + 0xd], al
mov byte [esi + 6], 0
mov al, byte [esi + 7]
test al, al
jbe 0x5368df
mov byte [esi + 0xe], al
mov byte [esi + 7], 0
jmp 0x5368df
cmp al, 0x11
jne 0x5368df
mov ax, word [esi + 0x2c]
xor ecx, ecx
cmp ax, cx
jle 0x5368a9
mov word [esi + 0x3c], ax
mov word [esi + 0x2c], cx
mov ax, word [esi + 0x26]
cmp ax, cx
jle 0x5368ba
mov word [esi + 0x3e], ax
mov word [esi + 0x26], cx
mov al, byte [esi + 4]
lea edi, [esi + 4]
test al, al
ja 0x5368cb
mov al, byte [esi + 6]
test al, al
jbe 0x5368df
lea ebx, [esi + 6]
push ebx
push edi
call fcn.00537420
mov word [esi + 0x40], ax
mov byte [edi], 0
mov byte [ebx], 0
mov al, byte [esi]
pop edi
pop ebp
cmp al, 1
pop ebx
jbe 0x5368f2
mov al, byte [esi + 0xa]
mov byte [esi + 0xa], 0
mov byte [esi + 0xb], al
pop esi
ret 4