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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x55c]
call fcn.00515ed0
xor ebx, ebx
push ebx
push 0x58b6b0
push str.._Resource_UniqueItemOptionList.bin
lea ecx, [ebp - 0x55c]
call fcn.00516d10
lea ecx, [ebp - 0x55c]
test eax, eax
jne 0x522f7b
call fcn.005163e0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
call fcn.00516050
test eax, eax
jne 0x52315d
push edi
lea edi, [esi + 0x4c]
lea esp, [esp]
push 0x84
call fcn.0056dab1
add esp, 4
cmp eax, ebx
je 0x52300a
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov word [eax + 0x44], bx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x80], ebx
mov esi, eax
jmp 0x52300c
xor esi, esi
lea ecx, [ebp - 0x55c]
call fcn.00516f90
push 0x21
lea ecx, [ebp - 0x55c]
mov dword [esi], eax
call fcn.00516f40
push eax
lea eax, [esi + 4]
push eax
call fcn.0051b610
add esp, 0xc
push 0x21
lea ecx, [ebp - 0x55c]
call fcn.00516f40
push eax
lea ecx, [esi + 0x24]
push ecx
call fcn.0051b610
add esp, 0xc
lea ecx, [ebp - 0x55c]
call fcn.00516fb0
lea ecx, [ebp - 0x55c]
mov byte [esi + 0x44], al
call fcn.00516fb0
lea ecx, [ebp - 0x55c]
mov byte [esi + 0x45], al
call fcn.00516f90
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x48], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x4c], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x50], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x54], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x58], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x5c], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x60], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x64], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x68], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x6c], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x70], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x74], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x78], eax
call fcn.00516f50
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x7c], eax
call fcn.00516f50
mov edx, dword [esi]
push edx
push esi
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.005612b0
lea ecx, [ebp - 0x55c]
call fcn.00516050
test eax, eax
je 0x522f90
pop edi
lea ecx, [ebp - 0x55c]
call fcn.005163e0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret