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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x55c]
call fcn.00512230
xor ebx, ebx
push ebx
push 0x582d48
push str.._Resource_UniqueItemOptionList.bin
lea ecx, [ebp - 0x55c]
call fcn.00513070
lea ecx, [ebp - 0x55c]
test eax, eax
jne 0x51f17b
call fcn.00512740
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret
call fcn.005123b0
test eax, eax
jne 0x51f35d
push edi
lea edi, [esi + 0x4c]
lea esp, [esp]
push 0x84
call fcn.00564dfb
add esp, 4
cmp eax, ebx
je 0x51f20a
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 0x51f20c
xor esi, esi
lea ecx, [ebp - 0x55c]
call fcn.005132f0
push 0x21
lea ecx, [ebp - 0x55c]
mov dword [esi], eax
call fcn.005132a0
push eax
lea eax, [esi + 4]
push eax
call fcn.00517890
add esp, 0xc
push 0x21
lea ecx, [ebp - 0x55c]
call fcn.005132a0
push eax
lea ecx, [esi + 0x24]
push ecx
call fcn.00517890
add esp, 0xc
lea ecx, [ebp - 0x55c]
call fcn.00513310
lea ecx, [ebp - 0x55c]
mov byte [esi + 0x44], al
call fcn.00513310
lea ecx, [ebp - 0x55c]
mov byte [esi + 0x45], al
call fcn.005132f0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x48], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x4c], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x50], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x54], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x58], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x5c], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x60], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x64], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x68], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x6c], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x70], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x74], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x78], eax
call fcn.005132b0
lea ecx, [ebp - 0x55c]
mov dword [esi + 0x7c], eax
call fcn.005132b0
mov edx, dword [esi]
push edx
push esi
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.004ac8f0
lea ecx, [ebp - 0x55c]
call fcn.005123b0
test eax, eax
je 0x51f190
pop edi
lea ecx, [ebp - 0x55c]
call fcn.00512740
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0056411e
mov esp, ebp
pop ebp
ret