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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x558
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x564]
call fcn.005164f0
xor ebx, ebx
push ebx
push 0x5aafc0
push str.._Resource_UniqueItemOptionList.bin
lea ecx, [ebp - 0x564]
mov dword [ebp - 4], ebx
call fcn.005172c0
lea ecx, [ebp - 0x564]
test eax, eax
jne 0x523730
mov dword [ebp - 4], 0xffffffff
call fcn.00516a00
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00516670
test eax, eax
jne 0x52390e
push edi
lea edi, [esi + 0x4c]
push 0x84
call fcn.0056ee41
add esp, 4
cmp eax, ebx
je 0x5237bb
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 0x5237bd
xor esi, esi
lea ecx, [ebp - 0x564]
call fcn.005174f0
push 0x21
lea ecx, [ebp - 0x564]
mov dword [esi], eax
call fcn.005174a0
push eax
lea eax, [esi + 4]
push eax
call fcn.0051bcc0
add esp, 0xc
push 0x21
lea ecx, [ebp - 0x564]
call fcn.005174a0
push eax
lea ecx, [esi + 0x24]
push ecx
call fcn.0051bcc0
add esp, 0xc
lea ecx, [ebp - 0x564]
call fcn.00517510
lea ecx, [ebp - 0x564]
mov byte [esi + 0x44], al
call fcn.00517510
lea ecx, [ebp - 0x564]
mov byte [esi + 0x45], al
call fcn.005174f0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x48], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x4c], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x50], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x54], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x58], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x5c], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x60], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x64], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x68], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x6c], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x70], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x74], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x78], eax
call fcn.005174b0
lea ecx, [ebp - 0x564]
mov dword [esi + 0x7c], eax
call fcn.005174b0
mov edx, dword [esi]
push edx
push esi
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.0053c360
lea ecx, [ebp - 0x564]
call fcn.00516670
test eax, eax
je 0x523741
pop edi
lea ecx, [ebp - 0x564]
mov dword [ebp - 4], 0xffffffff
call fcn.00516a00
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret